Poll the status of a run
Runs
Poll the status of a run
Pass runId for a specific run, or only projectId to fetch the project’s most recent run. Returns status: "none" when no run exists yet.
GET
Poll the status of a run
Authorizations
Clerk API key. Create one from your account settings under API Keys.
Query Parameters
Project id. Required on all data endpoints.
Response
Successful response
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