Skip to main content
Version: 2.0

Update instruction

PATCH 

/v2/instructions/:instruction_id

Updates 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. Agents continue to use existing versions until you change them explicitly.

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

Use this endpoint 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 updated instruction.