List files
heliyos_files_listList knowledge-base files and record attachments newest first, filter by kind, record, or name, and view each file's type, size, and ID for retrieval or download.
Instructions
Lists files, newest first: knowledge-base files (documents the workers read, kind knowledge_base) and attachments on records (kind attachment). Filter by kind, by the record a file is attached to (record_id) or by name. Shows each file's id, name, kind, type and size; use heliyos_files_get for a download link. Returns structuredContent {files:[{id, name, kind, content_type, size_bytes}], next_cursor}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | knowledge_base or attachment. Omit for both. | |
| limit | No | Files per page, 1 to 100. Default 20. | |
| cursor | No | next_cursor from the previous page, with the same limit. Omit for the first page. | |
| search | No | Plain words matched against file names and types. Symbols such as + ( ) [ ] * ? can cause an error. | |
| record_id | No | Only files attached to this record. | |
| response_format | No | "concise" (default) returns one row per file; "detailed" returns descriptions and linked records too. | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| next_cursor | No |