Agents

Create an agent environment template

Creates reusable environment configuration without returning confidential setup commands or environment values. See reusing a hosted setup.

post/agents/environments/templates

Request body

envobject nullable

Environment variables made available to the agent.

capability_directoriesstring[] nullable

Directories that contain capabilities exposed to the agent. Defaults to an empty list.

namestring nullable

An optional human-readable display name for the template.

Response

The created 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

Changed in 1 of the 162 revisions of this API.1