Developer docs
Create Outcome
POST
/v1/decisions/{decision_id}/outcomes
const url = 'https://example.com/v1/decisions/example/outcomes';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"kind":"result","verdict":"upheld","label":"example","note":"example","observed_at":"2026-04-15T12:00:00Z","reported_by":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/decisions/example/outcomes \ --header 'Content-Type: application/json' \ --data '{ "kind": "result", "verdict": "upheld", "label": "example", "note": "example", "observed_at": "2026-04-15T12:00:00Z", "reported_by": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”decision_id
required
Decision Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
Response Create Outcome V1 Decisions Decision Id Outcomes Post
object
key
additional properties
any
Examplegenerated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}