Skip to main content
PUT
Upsert the per-scenario Agent Smith sparring config (admin console).

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

scenario
string
required

dojo_scenarios.id the config applies to.

Body

application/json

Partial config; omitted blocks fall back to the defaults. Any updated_by/updated_at sent is ignored (server-set).

objective
string
strategic_frame
string
technique_toolbox
string[]
reward_function
object
evolution
object
substrate
object

Response

The stored config.

scenario_id
string
required
objective
string
required

Free-form attacker objective.

strategic_frame
string
required
technique_toolbox
string[]
required

Technique slugs/ids the attacker may draw on.

reward_function
object
required
evolution
object
required
substrate
object
required
updated_at
string<date-time> | null
updated_by
string | null