Skip to main content
POST
Rule on a decision

Authorizations

__session
string
cookie
required

Session cookie from web authentication

Headers

Idempotency-Key
string

Accepted for forward compatibility. Replay safety for this operation comes from its own state checks, described on the operation.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,199}$

Path Parameters

id
string<uuid>
required

Decision id, as returned by POST /decisions.

Body

application/json
resolution
enum<string>
required
Available options:
approved,
adjusted,
archived
resolution_context
object

Structured record of what was decided, for adjusted rulings especially.

note
string

Human note kept with the decision's audit trail.

Maximum string length: 4000
selected_option_id
string

For option_select decisions, the chosen shape_context.options[].id.

Required string length: 1 - 120
selected_option_ids
string[]

For option_multiselect decisions, the chosen option ids.

Required string length: 1 - 120

Response

The decision after the ruling

data
object
required
meta
object
required