Get Started
Developer Guide
- Providers
- Code Integration
Configure Gateway
- Access Control
- Rate Limiting
- Load Balancing
- Fallback
- Guardrails
Observability
Deployment
Embeddings
Rerank
Responses
Moderations
Files
List Files
List all files
GET
/
files
curl --request GET \
--url https://{controlPlaneURL}/api/llm/api/inference/openai/files \
--header 'Authorization: Bearer <token>'
{
"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>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
All files retrieved successfully
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://{controlPlaneURL}/api/llm/api/inference/openai/files \
--header 'Authorization: Bearer <token>'
{
"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>"
}