v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
OpenAI Integration

List files in container (OpenAI format)

Lists all files in a container.

Note: This endpoint also works without the /v1 prefix (e.g., /openai/containers/{container_id}/files).

get/openai/v1/containers/{container_id}/files

Path parameters

container_idstring required

Container ID

Query parameters

providerstring

Provider for the container (defaults to openai)

limitinteger

Maximum files to return

afterstring

Cursor for pagination

order'asc' | 'desc'

Sort order

Response

Successful response

objectstring

The object type (always "list")

first_idstring

ID of the first file in the list

last_idstring

ID of the last file in the list

has_moreboolean

Whether there are more files to fetch