cURL
curl --request GET \ --url https://{controlPlaneURL}/api/llm/files \ --header 'Authorization: Bearer <token>' \ --header 'x-tfy-provider-name: <x-tfy-provider-name>'
{ "object": "<string>", "data": [ { "object": "<string>", "id": "<string>", "purpose": "<string>", "filename": "<string>", "bytes": 123, "created_at": 123, "expires_at": 123, "status": "<string>", "status_details": "<string>" } ], "has_more": true, "first_id": "<string>", "last_id": "<string>" }
List all files
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Name of the provider
Optional metadata for the request
All files retrieved successfully
Type of the object, e.g., 'list'.
Array of file objects.
Show child attributes
Type of the object, e.g., 'file'.
Unique identifier for the file.
The purpose of the file, e.g., 'batch', 'assistants'.
The name of the file.
The size of the file in bytes.
Timestamp of when the file was created.
Timestamp of when the file expires, or null if it does not expire.
The status of the file, e.g., 'processed'.
Additional details about the file's status, if available.
Whether there are more files to retrieve.
The ID of the first file in the list.
The ID of the last file in the list.
Was this page helpful?