AgentInstruction

Create a new agent instruction

Changed on

Creates a new agent instruction for a workspace

post/agentInstruction

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/agentInstruction
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

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

Changes

    • warning

      added the new repair_notes enum value to the / response property for the response status

    • info

      added the new repair_notes enum value to the request property /