okaeDocs
APIExperimental

API reference · v1

Inspect an assessment

GET
/api/v1/workspaces/{workspace_id}/checks/{check_id}

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.

Authorization

apiSession
AuthorizationBearer <token>

Owner credential for a single workspace. Expires after seven days or on revocation.

In: header

Path Parameters

workspace_id*string

Okae workspace ID from this session.

Formatuuid
check_id*string

Assessment ID returned by list or run.

Formatuuid

Response 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/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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"  }}