Files
Last updated
Last updated
Returns information about a specific file, verifying organization access.
The ID of the file
Get file from workspace
default
Returns the contents of the specified file, verifying organization access.
The ID of the file
The workspace id to get file content from
default
No content
Returns a list of files, filtered by the organization.
List files in workspace
default
Cursor for pagination
Limit the number of returned files
10000
Sort order by creation timestamp
desc
Filter by purpose
Filter by metadata
Upload a file with optional metadata.
user_data
Possible values: JSON string with file metadata
Instructions used to process the file
default
Update metadata for a specific file, verifying organization access.
The ID of the file
The workspace id to update th file in
default
The metadata to update. instructions
key is considered as an instruction to update metadata by AI.