v13

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-015232292.9 KB
Workflows

Get Job Status

Poll the status of an asynchronous workflow execution. Use the jobId returned from the Execute Workflow endpoint when the execution is queued asynchronously.

get/api/jobs/{jobId}

Path parameters

jobIdstring required
Example:job_4a3b2c1d0e

The job identifier returned in the async execution response.

Response

Current status of the job. When completed, includes the execution output.

successboolean

Whether the request was successful.

taskIdstring

The unique identifier of the job.

status'queued' | 'processing' | 'completed' | 'failed'

Current status of the job.

outputobject

The workflow execution output. Present only when status is completed.

errorstring

Error details. Present only when status is failed.

estimatedDurationinteger

Estimated duration in milliseconds. Present only when status is queued or processing.

Example response

{
  "success": true,
  "taskId": "job_4a3b2c1d0e",
  "status": "completed",
  "metadata": {
    "startedAt": "2025-06-20T14:15:22Z",
    "completedAt": "2025-06-20T14:15:23Z",
    "duration": 1250
  },
  "output": {
    "result": "Hello, world!"
  },
  "estimatedDuration": 2000
}