GET
/containers/{container_id}/files/{file_id}Retrieve a container file
Retrieves metadata for a specific container file by its identifier. Returns the file object with its size, creation timestamp, path, and source information.
container_idstringrequired
The unique identifier of the container containing the file.
file_idstringrequired
The unique identifier of the file to retrieve.
200Returns the container file object including its unique identifier, size in bytes, creation timestamp, path, and source.
idstringrequired
Unique identifier for the file.
objectstringrequired
The type of this object (`container.file`).
container_idstringrequired
The container this file belongs to.
created_atintegerrequired
Unix timestamp (in seconds) when the file was created.
bytesintegerrequired
Size of the file in bytes.
pathstringrequired
Path of the file in the container.
sourcestringrequired
Source of the file (e.g., `user`, `assistant`).
429Returned when the request rate limit is exceeded.
errorobjectrequired
Error handling
A 429 is returned when the request rate limit is exceeded. Both container_id and file_id must identify existing resources.