Runs API
Get run access permissions
Returns the caller's role and scoped project/organization IDs for a run.
Authorization
bearerAuth AuthorizationBearer <token>
CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.
In: header
Path Parameters
runId*string
Run ID
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://demo.supercheck.dev/api/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/permissions"{
"success": true,
"data": {
"userRole": "string",
"projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9"
}
}{
"error": "Unauthorized"
}{
"error": "string"
}{
"error": "Not found"
}Empty