Agents

Retrieve an agent environment

Retrieves an execution environment's connection status and safe installed metadata. See environment lifecycle.

get/agents/environments/{environment_id}

Path parameters

environment_idstring required

The ID of the environment.

Response

The requested environment.

idstring required

The ID of the environment.

object'agent.environment' required

The object type. Always agent.environment.

type'openai_hosted' | 'self_hosted' required

The kind of execution environment.

status'pending' | 'connected' | 'disconnected' | 'expired' | 'failed' required

The public lifecycle status of an execution environment.

Changes