---
title: "Get Job Status"
method: GET
path: "/api/jobs/{jobId}"
tags: ["Workflows"]
---

# Get Job Status

`GET /api/jobs/{jobId}`

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

## Path parameters

- `jobId` string, required

## Response `200`

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

- JobStatus — Status of an asynchronous job.
  - `success` boolean — Whether the request was successful.
  - `taskId` string — The unique identifier of the job.
  - `status` 'queued' | 'processing' | 'completed' | 'failed' — Current status of the job.
  - `metadata` object — Timing metadata for the job.
    - `startedAt` string, date-time — ISO 8601 timestamp when the job started processing.
    - `completedAt` string, date-time — ISO 8601 timestamp when the job completed. Present only when status is completed or failed.
    - `duration` integer — Duration of the job in milliseconds. Present only when status is completed or failed.
  - `output` object — The workflow execution output. Present only when status is completed.
  - `error` string — Error details. Present only when status is failed.
  - `estimatedDuration` integer — Estimated duration in milliseconds. Present only when status is queued or processing.

## Other responses

- `401` — Invalid or missing API key. Ensure the X-API-Key header is set with a valid key.
- `403` — Access denied. You do not have permission to access this resource. For audit log endpoints, this requires an Enterprise subscription and organization admin/owner role.
- `404` — The requested resource was not found. Verify the ID is correct and belongs to your workspace.

---

[API](https://skmtc.dev/simstudioai/apis/sim-api.md) · [All operations](https://skmtc.dev/simstudioai/apis/sim-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/simstudioai/sim-api/revisions/66a471c5b1df/schema)
