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
The response is of type object.
object
Was this page helpful?