Skip to main content
GET
Poll the status of a run

Authorizations

Authorization
string
header
required

Clerk API key. Create one from your account settings under API Keys.

Query Parameters

projectId
string<uuid>
required

Project id. Required on all data endpoints.

runId
string<uuid>

Response

Successful response

runId
string<uuid>
status
enum<string>

cancelled is reported by /prompts/status when a failed run had cancelRequested = true. none only appears when no run exists for the project.

Available options:
running,
completed,
failed,
interrupted,
cancelled,
none
cancelRequested
boolean
totalTasks
integer
completedTasks
integer
retrievedTasks
integer
analyzedTasks
integer
settledTasks
integer
failedTasks
integer
pendingTasks
integer
remainingTasks
integer
cancelledTasks
integer
incompleteTasks
integer
extractionPendingTasks
integer
extractionFailedTasks
integer
extractionIncompleteTasks
integer
scraperAttempted
boolean
scraperSucceeded
boolean
startedAt
string<date-time> | null
completedAt
string<date-time> | null
resultsRevision
integer