--- url: "https://developers.openai.com/api/docs/api-reference/containers" titulek: "Containers | OpenAI API Reference" h1: "Containers" popis: "" jazyk: "en" kanonicka: "https://developers.openai.com/api/reference/resources/containers/" drobecky: ["path", "string"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 13:26:19" znaku: 5189 slov: 652 kodovani: "utf-8" sha256: "a1f68a4213a5d31630354e5599e30e53a9b4063870a9e070301d8c596b2700ff" --- ##### ModelsExpand Collapse ContainerCreateResponse object { id, created_at, name, 6 more } id: stringUnique identifier for the container.created_at: numberUnix timestamp (in seconds) when the container was created.formatunixtimename: stringName of the container.object: stringThe type of this object.status: stringStatus of the container (e.g., active, deleted).expires_after: optional object { anchor, minutes } The container will expire after this time period. The anchor is the reference point for the expiration. The minutes is the number of minutes after the anchor before the container expires.anchor: optional "last_active_at"The reference point for the expiration.minutes: optional numberThe number of minutes after the anchor before the container expires.last_active_at: optional numberUnix timestamp (in seconds) when the container was last active.formatunixtimememory_limit: optional "1g" or "4g" or "16g" or "64g"The memory limit configured for the container.One of the following:"1g""4g""16g""64g"network_policy: optional object { type, allowed_domains } Network access policy for the container.type: "allowlist" or "disabled"The network policy mode.One of the following:"allowlist""disabled"allowed_domains: optional array of stringAllowed outbound domains when `type` is `allowlist`. ContainerListResponse object { id, created_at, name, 6 more } id: stringUnique identifier for the container.created_at: numberUnix timestamp (in seconds) when the container was created.formatunixtimename: stringName of the container.object: stringThe type of this object.status: stringStatus of the container (e.g., active, deleted).expires_after: optional object { anchor, minutes } The container will expire after this time period. The anchor is the reference point for the expiration. The minutes is the number of minutes after the anchor before the container expires.anchor: optional "last_active_at"The reference point for the expiration.minutes: optional numberThe number of minutes after the anchor before the container expires.last_active_at: optional numberUnix timestamp (in seconds) when the container was last active.formatunixtimememory_limit: optional "1g" or "4g" or "16g" or "64g"The memory limit configured for the container.One of the following:"1g""4g""16g""64g"network_policy: optional object { type, allowed_domains } Network access policy for the container.type: "allowlist" or "disabled"The network policy mode.One of the following:"allowlist""disabled"allowed_domains: optional array of stringAllowed outbound domains when `type` is `allowlist`. ContainerRetrieveResponse object { id, created_at, name, 6 more } id: stringUnique identifier for the container.created_at: numberUnix timestamp (in seconds) when the container was created.formatunixtimename: stringName of the container.object: stringThe type of this object.status: stringStatus of the container (e.g., active, deleted).expires_after: optional object { anchor, minutes } The container will expire after this time period. The anchor is the reference point for the expiration. The minutes is the number of minutes after the anchor before the container expires.anchor: optional "last_active_at"The reference point for the expiration.minutes: optional numberThe number of minutes after the anchor before the container expires.last_active_at: optional numberUnix timestamp (in seconds) when the container was last active.formatunixtimememory_limit: optional "1g" or "4g" or "16g" or "64g"The memory limit configured for the container.One of the following:"1g""4g""16g""64g"network_policy: optional object { type, allowed_domains } Network access policy for the container.type: "allowlist" or "disabled"The network policy mode.One of the following:"allowlist""disabled"allowed_domains: optional array of stringAllowed outbound domains when `type` is `allowlist`. ##### ModelsExpand Collapse FileCreateResponse object { id, bytes, container_id, 4 more } id: stringUnique identifier for the file.bytes: numberSize of the file in bytes.container_id: stringThe container this file belongs to.created_at: numberUnix timestamp (in seconds) when the file was created.formatunixtimeobject: stringThe type of this object (`container.file`).path: stringPath of the file in the container.source: stringSource of the file (e.g., `user`, `assistant`). FileListResponse object { id, bytes, container_id, 4 more } id: stringUnique identifier for the file.bytes: numberSize of the file in bytes.container_id: stringThe container this file belongs to.created_at: numberUnix timestamp (in seconds) when the file was created.formatunixtimeobject: stringThe type of this object (`container.file`).path: stringPath of the file in the container.source: stringSource of the file (e.g., `user`, `assistant`). FileRetrieveResponse object { id, bytes, container_id, 4 more } id: stringUnique identifier for the file.bytes: numberSize of the file in bytes.container_id: stringThe container this file belongs to.created_at: numberUnix timestamp (in seconds) when the file was created.formatunixtimeobject: stringThe type of this object (`container.file`).path: stringPath of the file in the container.source: stringSource of the file (e.g., `user`, `assistant`).