Retrieve container file

Changed on

Retrieve Container File

get/containers/{container_id}/files/{file_id}

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/containers/{container_id}/files/{file_id}
  • Auth
    HTTP bearer

Path parameters

container_idstring required
file_idstring required

Response

Success

idstring required

Unique identifier for the file.

objectstring required

The type of this object (container.file).

container_idstring required

The container this file belongs to.

created_atinteger required

Unix timestamp (in seconds) when the file was created.

bytesinteger required

Size of the file in bytes.

pathstring required

Path of the file in the container.

sourcestring required

Source of the file (e.g., user, assistant).

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status