Repository Public
1# Containers23> For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.45## Create container67**post** `/containers`89Create Container1011### Body Parameters1213- `name: string`1415 Name of the container to create.1617- `expires_after: optional object { anchor, minutes }`1819 Container expiration time in seconds relative to the 'anchor' time.2021 - `anchor: "last_active_at"`2223 Time anchor for the expiration time. Currently only 'last_active_at' is supported.2425 - `"last_active_at"`2627 - `minutes: number`2829- `file_ids: optional array of string`3031 IDs of files to copy to the container.3233- `memory_limit: optional "1g" or "4g" or "16g" or "64g"`3435 Optional memory limit for the container. Defaults to "1g".3637 - `"1g"`3839 - `"4g"`4041 - `"16g"`4243 - `"64g"`4445- `network_policy: optional ContainerNetworkPolicyDisabled or ContainerNetworkPolicyAllowlist`4647 Network access policy for the container.4849 - `ContainerNetworkPolicyDisabled object { type }`5051 - `type: "disabled"`5253 Disable outbound network access. Always `disabled`.5455 - `"disabled"`5657 - `ContainerNetworkPolicyAllowlist object { allowed_domains, type, domain_secrets }`5859 - `allowed_domains: array of string`6061 A list of allowed domains when type is `allowlist`.6263 - `type: "allowlist"`6465 Allow outbound network access only to specified domains. Always `allowlist`.6667 - `"allowlist"`6869 - `domain_secrets: optional array of ContainerNetworkPolicyDomainSecret`7071 Optional domain-scoped secrets for allowlisted domains.7273 - `domain: string`7475 The domain associated with the secret.7677 - `name: string`7879 The name of the secret to inject for the domain.8081 - `value: string`8283 The secret value to inject for the domain.8485- `skills: optional array of SkillReference or InlineSkill`8687 An optional list of skills referenced by id or inline data.8889 - `SkillReference object { skill_id, type, version }`9091 - `skill_id: string`9293 The ID of the referenced skill.9495 - `type: "skill_reference"`9697 References a skill created with the /v1/skills endpoint.9899 - `"skill_reference"`100101 - `version: optional string`102103 Optional skill version. Use a positive integer or 'latest'. Omit for default.104105 - `InlineSkill object { description, name, source, type }`106107 - `description: string`108109 The description of the skill.110111 - `name: string`112113 The name of the skill.114115 - `source: InlineSkillSource`116117 Inline skill payload118119 - `data: string`120121 Base64-encoded skill zip bundle.122123 - `media_type: "application/zip"`124125 The media type of the inline skill payload. Must be `application/zip`.126127 - `"application/zip"`128129 - `type: "base64"`130131 The type of the inline skill source. Must be `base64`.132133 - `"base64"`134135 - `type: "inline"`136137 Defines an inline skill for this request.138139 - `"inline"`140141### Returns142143- `id: string`144145 Unique identifier for the container.146147- `created_at: number`148149 Unix timestamp (in seconds) when the container was created.150151- `name: string`152153 Name of the container.154155- `object: string`156157 The type of this object.158159- `status: string`160161 Status of the container (e.g., active, deleted).162163- `expires_after: optional object { anchor, minutes }`164165 The container will expire after this time period.166 The anchor is the reference point for the expiration.167 The minutes is the number of minutes after the anchor before the container expires.168169 - `anchor: optional "last_active_at"`170171 The reference point for the expiration.172173 - `"last_active_at"`174175 - `minutes: optional number`176177 The number of minutes after the anchor before the container expires.178179- `last_active_at: optional number`180181 Unix timestamp (in seconds) when the container was last active.182183- `memory_limit: optional "1g" or "4g" or "16g" or "64g"`184185 The memory limit configured for the container.186187 - `"1g"`188189 - `"4g"`190191 - `"16g"`192193 - `"64g"`194195- `network_policy: optional object { type, allowed_domains }`196197 Network access policy for the container.198199 - `type: "allowlist" or "disabled"`200201 The network policy mode.202203 - `"allowlist"`204205 - `"disabled"`206207 - `allowed_domains: optional array of string`208209 Allowed outbound domains when `type` is `allowlist`.210211### Example212213```http214curl https://api.openai.com/v1/containers \215 -H 'Content-Type: application/json' \216 -H "Authorization: Bearer $OPENAI_API_KEY" \217 -d '{218 "name": "name"219 }'220```221222#### Response223224```json225{226 "id": "id",227 "created_at": 0,228 "name": "name",229 "object": "object",230 "status": "status",231 "expires_after": {232 "anchor": "last_active_at",233 "minutes": 0234 },235 "last_active_at": 0,236 "memory_limit": "1g",237 "network_policy": {238 "type": "allowlist",239 "allowed_domains": [240 "string"241 ]242 }243}244```245246### Example247248```http249curl https://api.openai.com/v1/containers \250 -H "Authorization: Bearer $OPENAI_API_KEY" \251 -H "Content-Type: application/json" \252 -d '{253 "name": "My Container",254 "memory_limit": "4g",255 "skills": [256 {257 "type": "skill_reference",258 "skill_id": "skill_4db6f1a2c9e73508b41f9da06e2c7b5f"259 },260 {261 "type": "skill_reference",262 "skill_id": "openai-spreadsheets",263 "version": "latest"264 }265 ],266 "network_policy": {267 "type": "allowlist",268 "allowed_domains": ["api.buildkite.com"]269 }270 }'271```272273#### Response274275```json276{277 "id": "cntr_682e30645a488191b6363a0cbefc0f0a025ec61b66250591",278 "object": "container",279 "created_at": 1747857508,280 "status": "running",281 "expires_after": {282 "anchor": "last_active_at",283 "minutes": 20284 },285 "last_active_at": 1747857508,286 "network_policy": {287 "type": "allowlist",288 "allowed_domains": ["api.buildkite.com"]289 },290 "memory_limit": "4g",291 "name": "My Container"292}293```294295## Delete a container296297**delete** `/containers/{container_id}`298299Delete Container300301### Path Parameters302303- `container_id: string`304305### Example306307```http308curl https://api.openai.com/v1/containers/$CONTAINER_ID \309 -X DELETE \310 -H "Authorization: Bearer $OPENAI_API_KEY"311```312313### Example314315```http316curl -X DELETE https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863 \317 -H "Authorization: Bearer $OPENAI_API_KEY"318```319320#### Response321322```json323{324 "id": "cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863",325 "object": "container.deleted",326 "deleted": true327}328```329330## List containers331332**get** `/containers`333334List Containers335336### Query Parameters337338- `after: optional string`339340 A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.341342- `limit: optional number`343344 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.345346- `name: optional string`347348 Filter results by container name.349350- `order: optional "asc" or "desc"`351352 Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.353354 - `"asc"`355356 - `"desc"`357358### Returns359360- `data: array of object { id, created_at, name, 6 more }`361362 A list of containers.363364 - `id: string`365366 Unique identifier for the container.367368 - `created_at: number`369370 Unix timestamp (in seconds) when the container was created.371372 - `name: string`373374 Name of the container.375376 - `object: string`377378 The type of this object.379380 - `status: string`381382 Status of the container (e.g., active, deleted).383384 - `expires_after: optional object { anchor, minutes }`385386 The container will expire after this time period.387 The anchor is the reference point for the expiration.388 The minutes is the number of minutes after the anchor before the container expires.389390 - `anchor: optional "last_active_at"`391392 The reference point for the expiration.393394 - `"last_active_at"`395396 - `minutes: optional number`397398 The number of minutes after the anchor before the container expires.399400 - `last_active_at: optional number`401402 Unix timestamp (in seconds) when the container was last active.403404 - `memory_limit: optional "1g" or "4g" or "16g" or "64g"`405406 The memory limit configured for the container.407408 - `"1g"`409410 - `"4g"`411412 - `"16g"`413414 - `"64g"`415416 - `network_policy: optional object { type, allowed_domains }`417418 Network access policy for the container.419420 - `type: "allowlist" or "disabled"`421422 The network policy mode.423424 - `"allowlist"`425426 - `"disabled"`427428 - `allowed_domains: optional array of string`429430 Allowed outbound domains when `type` is `allowlist`.431432- `first_id: string`433434 The ID of the first container in the list.435436- `has_more: boolean`437438 Whether there are more containers available.439440- `last_id: string`441442 The ID of the last container in the list.443444- `object: "list"`445446 The type of object returned, must be 'list'.447448 - `"list"`449450### Example451452```http453curl https://api.openai.com/v1/containers \454 -H "Authorization: Bearer $OPENAI_API_KEY"455```456457#### Response458459```json460{461 "data": [462 {463 "id": "id",464 "created_at": 0,465 "name": "name",466 "object": "object",467 "status": "status",468 "expires_after": {469 "anchor": "last_active_at",470 "minutes": 0471 },472 "last_active_at": 0,473 "memory_limit": "1g",474 "network_policy": {475 "type": "allowlist",476 "allowed_domains": [477 "string"478 ]479 }480 }481 ],482 "first_id": "first_id",483 "has_more": true,484 "last_id": "last_id",485 "object": "list"486}487```488489### Example490491```http492curl https://api.openai.com/v1/containers \493 -H "Authorization: Bearer $OPENAI_API_KEY"494```495496#### Response497498```json499{500 "object": "list",501 "data": [502 {503 "id": "cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863",504 "object": "container",505 "created_at": 1747844794,506 "status": "running",507 "expires_after": {508 "anchor": "last_active_at",509 "minutes": 20510 },511 "last_active_at": 1747844794,512 "memory_limit": "4g",513 "name": "My Container"514 }515 ],516 "first_id": "container_123",517 "last_id": "container_123",518 "has_more": false519}520```521522## Retrieve container523524**get** `/containers/{container_id}`525526Retrieve Container527528### Path Parameters529530- `container_id: string`531532### Returns533534- `id: string`535536 Unique identifier for the container.537538- `created_at: number`539540 Unix timestamp (in seconds) when the container was created.541542- `name: string`543544 Name of the container.545546- `object: string`547548 The type of this object.549550- `status: string`551552 Status of the container (e.g., active, deleted).553554- `expires_after: optional object { anchor, minutes }`555556 The container will expire after this time period.557 The anchor is the reference point for the expiration.558 The minutes is the number of minutes after the anchor before the container expires.559560 - `anchor: optional "last_active_at"`561562 The reference point for the expiration.563564 - `"last_active_at"`565566 - `minutes: optional number`567568 The number of minutes after the anchor before the container expires.569570- `last_active_at: optional number`571572 Unix timestamp (in seconds) when the container was last active.573574- `memory_limit: optional "1g" or "4g" or "16g" or "64g"`575576 The memory limit configured for the container.577578 - `"1g"`579580 - `"4g"`581582 - `"16g"`583584 - `"64g"`585586- `network_policy: optional object { type, allowed_domains }`587588 Network access policy for the container.589590 - `type: "allowlist" or "disabled"`591592 The network policy mode.593594 - `"allowlist"`595596 - `"disabled"`597598 - `allowed_domains: optional array of string`599600 Allowed outbound domains when `type` is `allowlist`.601602### Example603604```http605curl https://api.openai.com/v1/containers/$CONTAINER_ID \606 -H "Authorization: Bearer $OPENAI_API_KEY"607```608609#### Response610611```json612{613 "id": "id",614 "created_at": 0,615 "name": "name",616 "object": "object",617 "status": "status",618 "expires_after": {619 "anchor": "last_active_at",620 "minutes": 0621 },622 "last_active_at": 0,623 "memory_limit": "1g",624 "network_policy": {625 "type": "allowlist",626 "allowed_domains": [627 "string"628 ]629 }630}631```632633### Example634635```http636curl https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863 \637 -H "Authorization: Bearer $OPENAI_API_KEY"638```639640#### Response641642```json643{644 "id": "cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863",645 "object": "container",646 "created_at": 1747844794,647 "status": "running",648 "expires_after": {649 "anchor": "last_active_at",650 "minutes": 20651 },652 "last_active_at": 1747844794,653 "memory_limit": "4g",654 "name": "My Container"655}656```657658## Domain Types659660### Container Create Response661662- `ContainerCreateResponse object { id, created_at, name, 6 more }`663664 - `id: string`665666 Unique identifier for the container.667668 - `created_at: number`669670 Unix timestamp (in seconds) when the container was created.671672 - `name: string`673674 Name of the container.675676 - `object: string`677678 The type of this object.679680 - `status: string`681682 Status of the container (e.g., active, deleted).683684 - `expires_after: optional object { anchor, minutes }`685686 The container will expire after this time period.687 The anchor is the reference point for the expiration.688 The minutes is the number of minutes after the anchor before the container expires.689690 - `anchor: optional "last_active_at"`691692 The reference point for the expiration.693694 - `"last_active_at"`695696 - `minutes: optional number`697698 The number of minutes after the anchor before the container expires.699700 - `last_active_at: optional number`701702 Unix timestamp (in seconds) when the container was last active.703704 - `memory_limit: optional "1g" or "4g" or "16g" or "64g"`705706 The memory limit configured for the container.707708 - `"1g"`709710 - `"4g"`711712 - `"16g"`713714 - `"64g"`715716 - `network_policy: optional object { type, allowed_domains }`717718 Network access policy for the container.719720 - `type: "allowlist" or "disabled"`721722 The network policy mode.723724 - `"allowlist"`725726 - `"disabled"`727728 - `allowed_domains: optional array of string`729730 Allowed outbound domains when `type` is `allowlist`.731732### Container List Response733734- `ContainerListResponse object { id, created_at, name, 6 more }`735736 - `id: string`737738 Unique identifier for the container.739740 - `created_at: number`741742 Unix timestamp (in seconds) when the container was created.743744 - `name: string`745746 Name of the container.747748 - `object: string`749750 The type of this object.751752 - `status: string`753754 Status of the container (e.g., active, deleted).755756 - `expires_after: optional object { anchor, minutes }`757758 The container will expire after this time period.759 The anchor is the reference point for the expiration.760 The minutes is the number of minutes after the anchor before the container expires.761762 - `anchor: optional "last_active_at"`763764 The reference point for the expiration.765766 - `"last_active_at"`767768 - `minutes: optional number`769770 The number of minutes after the anchor before the container expires.771772 - `last_active_at: optional number`773774 Unix timestamp (in seconds) when the container was last active.775776 - `memory_limit: optional "1g" or "4g" or "16g" or "64g"`777778 The memory limit configured for the container.779780 - `"1g"`781782 - `"4g"`783784 - `"16g"`785786 - `"64g"`787788 - `network_policy: optional object { type, allowed_domains }`789790 Network access policy for the container.791792 - `type: "allowlist" or "disabled"`793794 The network policy mode.795796 - `"allowlist"`797798 - `"disabled"`799800 - `allowed_domains: optional array of string`801802 Allowed outbound domains when `type` is `allowlist`.803804### Container Retrieve Response805806- `ContainerRetrieveResponse object { id, created_at, name, 6 more }`807808 - `id: string`809810 Unique identifier for the container.811812 - `created_at: number`813814 Unix timestamp (in seconds) when the container was created.815816 - `name: string`817818 Name of the container.819820 - `object: string`821822 The type of this object.823824 - `status: string`825826 Status of the container (e.g., active, deleted).827828 - `expires_after: optional object { anchor, minutes }`829830 The container will expire after this time period.831 The anchor is the reference point for the expiration.832 The minutes is the number of minutes after the anchor before the container expires.833834 - `anchor: optional "last_active_at"`835836 The reference point for the expiration.837838 - `"last_active_at"`839840 - `minutes: optional number`841842 The number of minutes after the anchor before the container expires.843844 - `last_active_at: optional number`845846 Unix timestamp (in seconds) when the container was last active.847848 - `memory_limit: optional "1g" or "4g" or "16g" or "64g"`849850 The memory limit configured for the container.851852 - `"1g"`853854 - `"4g"`855856 - `"16g"`857858 - `"64g"`859860 - `network_policy: optional object { type, allowed_domains }`861862 Network access policy for the container.863864 - `type: "allowlist" or "disabled"`865866 The network policy mode.867868 - `"allowlist"`869870 - `"disabled"`871872 - `allowed_domains: optional array of string`873874 Allowed outbound domains when `type` is `allowlist`.875876# Files877878## Create container file879880**post** `/containers/{container_id}/files`881882Create a Container File883884You can send either a multipart/form-data request with the raw file content, or a JSON request with a file ID.885886### Path Parameters887888- `container_id: string`889890### Body Parameters891892- `file: optional string`893894 The File object (not file name) to be uploaded.895896- `file_id: optional string`897898 Name of the file to create.899900### Returns901902- `id: string`903904 Unique identifier for the file.905906- `bytes: number`907908 Size of the file in bytes.909910- `container_id: string`911912 The container this file belongs to.913914- `created_at: number`915916 Unix timestamp (in seconds) when the file was created.917918- `object: string`919920 The type of this object (`container.file`).921922- `path: string`923924 Path of the file in the container.925926- `source: string`927928 Source of the file (e.g., `user`, `assistant`).929930### Example931932```http933curl https://api.openai.com/v1/containers/$CONTAINER_ID/files \934 -H 'Content-Type: application/json' \935 -H "Authorization: Bearer $OPENAI_API_KEY" \936 -d '{}'937```938939#### Response940941```json942{943 "id": "id",944 "bytes": 0,945 "container_id": "container_id",946 "created_at": 0,947 "object": "object",948 "path": "path",949 "source": "source"950}951```952953### Example954955```http956curl https://api.openai.com/v1/containers/cntr_682e0e7318108198aa783fd921ff305e08e78805b9fdbb04/files \957 -H "Authorization: Bearer $OPENAI_API_KEY" \958 -F file="@example.txt"959```960961#### Response962963```json964{965 "id": "cfile_682e0e8a43c88191a7978f477a09bdf5",966 "object": "container.file",967 "created_at": 1747848842,968 "bytes": 880,969 "container_id": "cntr_682e0e7318108198aa783fd921ff305e08e78805b9fdbb04",970 "path": "/mnt/data/88e12fa445d32636f190a0b33daed6cb-tsconfig.json",971 "source": "user"972}973```974975## Delete a container file976977**delete** `/containers/{container_id}/files/{file_id}`978979Delete Container File980981### Path Parameters982983- `container_id: string`984985- `file_id: string`986987### Example988989```http990curl https://api.openai.com/v1/containers/$CONTAINER_ID/files/$FILE_ID \991 -X DELETE \992 -H "Authorization: Bearer $OPENAI_API_KEY"993```994995### Example996997```http998curl -X DELETE https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863/files/cfile_682e0e8a43c88191a7978f477a09bdf5 \999 -H "Authorization: Bearer $OPENAI_API_KEY"1000```10011002#### Response10031004```json1005{1006 "id": "cfile_682e0e8a43c88191a7978f477a09bdf5",1007 "object": "container.file.deleted",1008 "deleted": true1009}1010```10111012## List container files10131014**get** `/containers/{container_id}/files`10151016List Container files10171018### Path Parameters10191020- `container_id: string`10211022### Query Parameters10231024- `after: optional string`10251026 A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.10271028- `limit: optional number`10291030 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.10311032- `order: optional "asc" or "desc"`10331034 Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.10351036 - `"asc"`10371038 - `"desc"`10391040### Returns10411042- `data: array of object { id, bytes, container_id, 4 more }`10431044 A list of container files.10451046 - `id: string`10471048 Unique identifier for the file.10491050 - `bytes: number`10511052 Size of the file in bytes.10531054 - `container_id: string`10551056 The container this file belongs to.10571058 - `created_at: number`10591060 Unix timestamp (in seconds) when the file was created.10611062 - `object: string`10631064 The type of this object (`container.file`).10651066 - `path: string`10671068 Path of the file in the container.10691070 - `source: string`10711072 Source of the file (e.g., `user`, `assistant`).10731074- `first_id: string`10751076 The ID of the first file in the list.10771078- `has_more: boolean`10791080 Whether there are more files available.10811082- `last_id: string`10831084 The ID of the last file in the list.10851086- `object: "list"`10871088 The type of object returned, must be 'list'.10891090 - `"list"`10911092### Example10931094```http1095curl https://api.openai.com/v1/containers/$CONTAINER_ID/files \1096 -H "Authorization: Bearer $OPENAI_API_KEY"1097```10981099#### Response11001101```json1102{1103 "data": [1104 {1105 "id": "id",1106 "bytes": 0,1107 "container_id": "container_id",1108 "created_at": 0,1109 "object": "object",1110 "path": "path",1111 "source": "source"1112 }1113 ],1114 "first_id": "first_id",1115 "has_more": true,1116 "last_id": "last_id",1117 "object": "list"1118}1119```11201121### Example11221123```http1124curl https://api.openai.com/v1/containers/cntr_682e0e7318108198aa783fd921ff305e08e78805b9fdbb04/files \1125 -H "Authorization: Bearer $OPENAI_API_KEY"1126```11271128#### Response11291130```json1131{1132 "object": "list",1133 "data": [1134 {1135 "id": "cfile_682e0e8a43c88191a7978f477a09bdf5",1136 "object": "container.file",1137 "created_at": 1747848842,1138 "bytes": 880,1139 "container_id": "cntr_682e0e7318108198aa783fd921ff305e08e78805b9fdbb04",1140 "path": "/mnt/data/88e12fa445d32636f190a0b33daed6cb-tsconfig.json",1141 "source": "user"1142 }1143 ],1144 "first_id": "cfile_682e0e8a43c88191a7978f477a09bdf5",1145 "has_more": false,1146 "last_id": "cfile_682e0e8a43c88191a7978f477a09bdf5"1147}1148```11491150## Retrieve container file11511152**get** `/containers/{container_id}/files/{file_id}`11531154Retrieve Container File11551156### Path Parameters11571158- `container_id: string`11591160- `file_id: string`11611162### Returns11631164- `id: string`11651166 Unique identifier for the file.11671168- `bytes: number`11691170 Size of the file in bytes.11711172- `container_id: string`11731174 The container this file belongs to.11751176- `created_at: number`11771178 Unix timestamp (in seconds) when the file was created.11791180- `object: string`11811182 The type of this object (`container.file`).11831184- `path: string`11851186 Path of the file in the container.11871188- `source: string`11891190 Source of the file (e.g., `user`, `assistant`).11911192### Example11931194```http1195curl https://api.openai.com/v1/containers/$CONTAINER_ID/files/$FILE_ID \1196 -H "Authorization: Bearer $OPENAI_API_KEY"1197```11981199#### Response12001201```json1202{1203 "id": "id",1204 "bytes": 0,1205 "container_id": "container_id",1206 "created_at": 0,1207 "object": "object",1208 "path": "path",1209 "source": "source"1210}1211```12121213### Example12141215```http1216curl https://api.openai.com/v1/containers/container_123/files/file_456 \1217 -H "Authorization: Bearer $OPENAI_API_KEY"1218```12191220#### Response12211222```json1223{1224 "id": "cfile_682e0e8a43c88191a7978f477a09bdf5",1225 "object": "container.file",1226 "created_at": 1747848842,1227 "bytes": 880,1228 "container_id": "cntr_682e0e7318108198aa783fd921ff305e08e78805b9fdbb04",1229 "path": "/mnt/data/88e12fa445d32636f190a0b33daed6cb-tsconfig.json",1230 "source": "user"1231}1232```12331234## Domain Types12351236### File Create Response12371238- `FileCreateResponse object { id, bytes, container_id, 4 more }`12391240 - `id: string`12411242 Unique identifier for the file.12431244 - `bytes: number`12451246 Size of the file in bytes.12471248 - `container_id: string`12491250 The container this file belongs to.12511252 - `created_at: number`12531254 Unix timestamp (in seconds) when the file was created.12551256 - `object: string`12571258 The type of this object (`container.file`).12591260 - `path: string`12611262 Path of the file in the container.12631264 - `source: string`12651266 Source of the file (e.g., `user`, `assistant`).12671268### File List Response12691270- `FileListResponse object { id, bytes, container_id, 4 more }`12711272 - `id: string`12731274 Unique identifier for the file.12751276 - `bytes: number`12771278 Size of the file in bytes.12791280 - `container_id: string`12811282 The container this file belongs to.12831284 - `created_at: number`12851286 Unix timestamp (in seconds) when the file was created.12871288 - `object: string`12891290 The type of this object (`container.file`).12911292 - `path: string`12931294 Path of the file in the container.12951296 - `source: string`12971298 Source of the file (e.g., `user`, `assistant`).12991300### File Retrieve Response13011302- `FileRetrieveResponse object { id, bytes, container_id, 4 more }`13031304 - `id: string`13051306 Unique identifier for the file.13071308 - `bytes: number`13091310 Size of the file in bytes.13111312 - `container_id: string`13131314 The container this file belongs to.13151316 - `created_at: number`13171318 Unix timestamp (in seconds) when the file was created.13191320 - `object: string`13211322 The type of this object (`container.file`).13231324 - `path: string`13251326 Path of the file in the container.13271328 - `source: string`13291330 Source of the file (e.g., `user`, `assistant`).13311332# Content13331334## Retrieve container file content13351336**get** `/containers/{container_id}/files/{file_id}/content`13371338Retrieve Container File Content13391340### Path Parameters13411342- `container_id: string`13431344- `file_id: string`13451346### Example13471348```http1349curl https://api.openai.com/v1/containers/$CONTAINER_ID/files/$FILE_ID/content \1350 -H "Authorization: Bearer $OPENAI_API_KEY"1351```13521353### Example13541355```http1356curl https://api.openai.com/v1/containers/container_123/files/cfile_456/content \1357 -H "Authorization: Bearer $OPENAI_API_KEY"1358```13591360#### Response13611362```json1363<binary content of the file>1364```1365