Query the status, answers, and context summary of a judgment by ID.
The Decision API is currently in Beta. Interface definitions, response structures, and behavior may change in subsequent versions. Follow documentation updates and verify compatibility before using it in production.
GET /api/v1/forward/decisions/{decision_id}
Request headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer <PAT or SAT>. Supports administrator and Identity-level SATs. |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| decision_id | string | Yes | The Decision ID returned by the create endpoint. 1–256 bytes, with no leading or trailing whitespace, control characters, or /, \\, ?, #. |
Example request
Example response
HTTP 200 OK (failed record)
status: completed, and answers contains the judgment answers. Records still executing have status: running and completed_at: null.
HTTP 200 indicates that the query succeeded, not that the judgment succeeded. Check status, error, and the answer type. Reading a record does not rerun the judgment or refresh its original context.
Errors
| HTTP | Code | Trigger |
|---|---|---|
| 400 | invalid_decision_input | Invalid Decision ID. |
| 400 | — | Query parameters were supplied. |
| 401 | — | Credentials are missing, invalid, or expired. |
| 403 | — | The current credentials lack the required access permissions. |
| 404 | — | The Decision does not exist, is inaccessible, or has been cleaned up. |
| 500 | — | Internal service error. |