Skip to main content
POST
Update a running Dojo sim session's live config (mode / security posture / judge).

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

session_id
string<uuid>
required

Body

application/json
mode
enum<string>

Switch between Auto (server-paced) and Manual (human-attack) mode.

Available options:
auto,
manual
security_posture_in_prompt
boolean

A/B toggle for whether the agent's system prompt is security-aware. Takes effect on the next turn.

reviewer_kind
enum<string>

The Judge for this run's review holds. Only available for the db-shepherd scenario.

Available options:
builtin_opus,
human

Response

Config updated; returns the resulting effective config.

mode
enum<string>
Available options:
auto,
manual
security_posture_in_prompt
boolean
reviewer_kind
enum<string>
Available options:
builtin_opus,
human