Skip to content

Update Scenario

PATCH
/api/v1/replay/scenarios/{scenario_id}

Update the name, note, tags, archive state, or share flag.

Phase 194-01 REPLAY-SURFACE-01: any subset of name, note, tags, archived, shared_with_tenant may be supplied. None on any field means “do not touch”.

Authorizations

Parameters

Path Parameters

scenario_id
required
string

Request Body required

object
archived
Any of:
boolean
name
Any of:
string
note
Any of:
string
shared_with_tenant
Any of:
boolean
tags
Any of:
Array<string>
<= 20 items

Responses

200

Successful Response

object
archived_at
Any of:
string
created_at
required
string
decision_id
required
string
horizon_months
required
integer
id
required
string
name
required
Any of:
string
narrative
required
Any of:
string
note
required
Any of:
string
shared_with_tenant
boolean
status
required
string
tags
Array<string>

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string