Environments
Create an agent environment
POST/agents/environments
List agent environments
GET/agents/environments
Retrieve an agent environment
GET/agents/environments/{environment_id}
ModelsExpand Collapse
EnvironmentInfo object { id, files, object, 4 more } Safe metadata for a first-class execution environment.
EnvironmentInfo object { id, files, object, 4 more }
Safe metadata for a first-class execution environment.
Files installed in the environment, without their contents.
Files installed in the environment, without their contents.
Skills installed in the environment, without their archive contents.
Skills installed in the environment, without their archive contents.
EnvironmentsFiles
Create an agent environment file
POST/agents/environments/{environment_id}/files
List agent environment files
GET/agents/environments/{environment_id}/files
EnvironmentsTemplates
Create an agent environment template
POST/agents/environments/templates
Delete an agent environment template
DELETE/agents/environments/templates/{environment_template_id}
List agent environment templates
GET/agents/environments/templates
Retrieve an agent environment template
GET/agents/environments/templates/{environment_template_id}
Update an agent environment template
POST/agents/environments/templates/{environment_template_id}
ModelsExpand Collapse
EnvironmentTemplate object { id, capability_directories, created_at, 9 more } Reusable configuration that provisions a fresh OpenAI-hosted environment for each session.
EnvironmentTemplate object { id, capability_directories, created_at, 9 more }
Reusable configuration that provisions a fresh OpenAI-hosted environment for each session.
files: array of FileID { file_id, path, type } or Inline { path, size_bytes, type } Safe file metadata, excluding contents and session-scoped file IDs.
files: array of FileID { file_id, path, type } or Inline { path, size_bytes, type }
Safe file metadata, excluding contents and session-scoped file IDs.
network: object { access, allowed_domains } Runtime network access for each OpenAI-hosted environment.
network: object { access, allowed_domains }
Runtime network access for each OpenAI-hosted environment.
packages: object { npm, python, system } Packages installed in each fresh OpenAI-hosted environment.
packages: object { npm, python, system }
Packages installed in each fresh OpenAI-hosted environment.
skills: array of SkillReference { skill_id, type, version } or Inline { description, name, type } Safe skill metadata, preserving unresolved version selectors.
skills: array of SkillReference { skill_id, type, version } or Inline { description, name, type }
Safe skill metadata, preserving unresolved version selectors.