Update the editable agent test draft

Writes the persisted draft. A stale revision returns 409. Published rows cannot be written.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Agent test ID

Body Params

Draft definition

Replaces fields on the editable draft. Published rows cannot be written.

conversation_prefix
object | null

Messages that precede the reply under test. Required for a manual next_reply test.

integer | null
≥ 1
provenance
object | null
integer
required
≥ 1

Current draft revision.

string | null
string | null
string
enum
Allowed:
tool_assertions
object | null

Expected tool invocation assertions, keyed by tool name.

tool_policy
object | null

Tool execution policy for this definition. This is not the test publication state.

variable_types
object

Declared type for each variable value: string, number, boolean, list, object, or null.

variable_values
object

Placeholder overrides applied when this definition runs. Keys match instruction placeholders.

version_policy
object

Which agent configuration this definition runs. This is not the test's draft or published state.

Responses

Callback
Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json