Agents

Update an agent environment template

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

post/agents/environments/templates/{environment_template_id}

Path parameters

environment_template_idstring required

The ID of the reusable environment template.

Request body

namestring nullable

A replacement human-readable display name, or null to clear the name.

envobject nullable

Replacement confidential environment values.

capability_directoriesstring[] nullable

Directories that expose capabilities to the agent.

Response

The updated 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 163 revisions of this API.1