Agents

Retrieve an agent environment template

Changed on

Retrieves reusable environment configuration without returning confidential values. See reusing a hosted setup.

get/agents/environments/templates/{environment_template_id}

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/agents/environments/templates/{environment_template_id}
  • Auth
    HTTP bearer

Path parameters

environment_template_idstring required

The ID of the reusable environment template.

Response

The requested environment template.

idstring required

The ID of the reusable environment template.

namestring nullable required

An optional human-readable display name for the template.

object'agent.environment.template' required

The object type. Always agent.environment.template.

created_atinteger required

The Unix timestamp, in seconds, when the template was created.

updated_atinteger required

The Unix timestamp, in seconds, when the template was last updated.

capability_directoriesstring[] required

Directories that expose capabilities to the agent.

Changes