Skip to main content
POST
Record decision outcome

Authorizations

Authorization
string
header
required

MeshQu API key passed as a bearer token: Authorization: Bearer mqu_…. Mint one in the console (Settings → API keys).

X-MeshQu-Tenant-Id
string
header
required

Tenant UUID for multi-tenant isolation. Required on all authenticated routes — validated before authentication (middleware/tenant.ts), so a missing or non-UUID header returns 400 (MISSING_TENANT_ID / INVALID_TENANT_ID) before the API key is checked.

Path Parameters

id
string<uuid>
required

Decision ID

Body

application/json

Request to record a decision outcome

Request to record a decision outcome

status
required

Outcome status

Available options:
accepted
source_type
required

Source of the outcome report

Available options:
human
reported_by
string
required

Who reported this outcome

Minimum string length: 1
final_action

Final action taken (only meaningful when overridden)

Available options:
ALLOW
reported_at
string<date-time>

When the outcome was reported (defaults to now)

resolution_reason
string

Freeform reason for the resolution (not the same as violation reason_code)

notes
string

Additional notes

external_reference
string

External system reference (e.g., ticket ID)

Response

A recorded decision outcome

A recorded decision outcome

id
string<uuid>
required
decision_id
string<uuid>
required
tenant_id
string<uuid>
required
status
required
Available options:
accepted
final_action
required
Available options:
ALLOW
source_type
required
Available options:
human
reported_by
string
required
reported_at
string<date-time>
required
resolution_reason
string | null
required
notes
string | null
required
external_reference
string | null
required
created_at
string<date-time>
required