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
totalTasks
integer
completedTasks
integer
failedTasks
integer
pendingTasks
integer
cancelledTasks
integer
incompleteTasks
integer
scraperAttempted
boolean
scraperSucceeded
boolean
startedAt
string<date-time> | null
completedAt
string<date-time> | null