Skip to main content
Version: 2.0

Update instruction

PATCH 

/v2/instructions/:instruction_id

Supported API Key Type:
Personal

Update an existing instruction's template, metadata, and configuration. Updated templates may include Velocity variables such as \$tools or metadata references. Each update creates a new version, allowing agents to continue using existing versions until explicitly changed.

::info Version Management Agents referencing a specific version continue to use it until updated. Agents without a pinned version always use the latest. :::

Disable an instruction

This endpoint can also be used to disable an instruction without deleting it.

warning

Disabling an instruction prevents it from being added to new agents, but agents already using it continue to operate normally.

Request

Responses

The instruction has been updated successfully.