This endpoint allows users to retrieve a list of jobs associated with a specific workflow. It supports filtering by job ID, status, creator, or creation date. Only jobs tied to the specified workflow ID will be returned. Authentication via an authorization token is required.
GET
/v0/workflows/{workflow_id}/jobs
You need the api key which you can get from the API tab in Organization Settings. The api key is required in almost all the commands
The workflow_id
path parameter uniquely identifies the workflow whose associated jobs are to be listed. This ensures that only jobs relevant to the specified workflow are retrieved, maintaining clear scoping within the system.
Name | Type | Required | Description |
---|---|---|---|
workflow_id | string | Yes | Unique identifier of the workflow to fetch jobs from |
Query parameters allow you to narrow the job list based on specific needs. You can filter by job ID, job status (e.g., running or completed), creator’s user ID, or creation date. These filters help users efficiently find relevant jobs within large workflow histories.
Name | Type | Required | Description |
---|---|---|---|
id | string | No | Filter the results by a specific job ID |
status | string | No | Filter jobs by current status (e.g., running, completed) |
created_by | string | No | Filter jobs by the user who created them |
created_on | string | No | Filter jobs by the date they were created (ISO 8601 format) |
A 200 OK response contains an array of job objects matching the provided criteria. Each object includes metadata like job ID, status, creator, and creation timestamp. The array may be empty if no jobs match the filter conditions or if none exist under the specified workflow.
Name | Type | Description |
---|---|---|
created_by | string | User ID of the person who created the job |
id | string | Unique identifier of the job |
cost | number | Cost incurred or estimated for the job execution |
workflow_id | string | ID of the workflow the job belongs to |
created_at | string | Timestamp when the job was created (ISO 8601 format) |
updated_at | string | Timestamp when the job was last updated (ISO 8601 format) |
finished_at | string | Timestamp when the job completed (ISO 8601 format) |
estimated_duration | number | Estimated duration of the job in seconds |
progress | string | Progress indicator or percentage (e.g., “50%“) |
status | string | Current status of the job (e.g., pending, running, completed, failed) |
time_taken | string | Actual time taken to complete the job (e.g., “2m 35s” or ISO 8601 duration) |
workflow_id
and a valid bearer token. Optionally include query parameters for filtering jobs.
https://api.pixxel.space/v0/workflows/{workflow_id}/jobs
. Include your Authorization header.