latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

AgentInstruction

Create a new agent instruction

Creates a new agent instruction for a workspace

post/agentInstruction

Request body

workspace_idstring required

The workspace to create the instruction in

namestring required

A short name or title for the instruction

instruction_textstring required

The instruction itself (plain text)

disabledboolean

Whether the instruction is disabled

capabilitiesAgentInstructionCapability[]

Capabilities this instruction applies to

test_typesTestTypeEnum[]

Test types this instruction applies to

environment_idsstring[]

Environment IDs this instruction applies to

application_idsstring[]

Application IDs this instruction applies to

Response

The created agent instruction

instruction_idstring

Unique identifier for the instruction

workspace_idstring

The workspace this instruction belongs to

namestring

A short name or title for the instruction

instruction_textstring

The instruction itself (plain text)

disabledboolean

Whether the instruction is disabled. Disabled instructions are not injected into agent prompts.

capabilitiesAgentInstructionCapability[]

Capabilities this instruction applies to

test_typesTestTypeEnum[]

Test types this instruction applies to

environment_idsstring[]

Environment IDs this instruction applies to

application_idsstring[]

Application IDs this instruction applies to

created_by_idstring

The user who created this instruction

created_timeinteger

Creation timestamp in epoch milliseconds

last_updated_by_idstring

The user who last updated this instruction

last_updated_timeinteger

Last update timestamp in epoch milliseconds