API reference · v1
List assessments
List runs newest first. Supply repository_id to filter by repository. A workspace list uses the same visibility restrictions on rows and totals. Use the returned assessment ID to inspect one run.
Authorization
apiSession Owner credential for a single workspace. Expires after seven days or on revocation.
In: header
Path Parameters
Okae workspace ID from this session.
uuidQuery Parameters
Okae repository UUID returned as repository.id, or as id on a repository list item.
uuidFilter by repository-scoped PR number.
1 <= valueFilter by exact revision.
^[0-9a-f]{40}$Number of matching rows to skip.
0 <= value0Maximum rows returned.
1 <= value <= 10025Case-insensitive search text.
length <= 200Filter by result.
"all"Value in
- "all"
- "approve"
- "review"
- "error"
- "pending"
- "waiting"
- "superseded"
Inclusive UTC start date.
dateInclusive UTC end date; maximum span 366 days.
dateUse the latest published Approve or Review for each PR within the period.
falseResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/checks"{ "checks": [ { "id": "64d5124c-2e89-4c78-8e18-5d461a48a048", "title": "Add inventory search", "target": { "kind": "pr", "number": 42, "url": "https://github.com/example/inventory/pull/42", "head_sha": "b10aee0f983af246eb1fc96a76d32dae14289e52" }, "status": "completed", "outcome": "review", "reasons": [ "Protected path", "Dependency manifest" ], "approval_mode": "shadow", "approval_submitted": false, "created_at": "2026-11-10T08:00:00Z", "completed_at": "2026-11-10T08:00:05Z", "published_at": "2026-11-10T08:00:06Z", "check_url": "https://github.com/example/inventory/runs/12345", "repository": { "id": "b24a126b-76a2-46e4-ae08-95477789565f", "full_name": "example/inventory" } } ], "total": 1}Inspect an assessment GET
Return one exact run under the same repository visibility as history. Poll this resource until a published judgement or terminal unassessed state. Honour Retry-After on 429. Cancelling a local wait does not cancel work.
Troubleshooting
Resolve missing results, access problems and configuration errors.