This endpoint is used to initiate a download package for a specific job under a workflow. It collects both the input and output assets of a job run and generates a downloadable URL. Users must provide the workflow and job IDs. Authentication is required.
PUT
/v0/workflows/{workflow_id}/jobs/{job_id}/download
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
identifies the workflow containing the job, while job_id specifies the particular job whose assets need to be downloaded. These parameters are essential to precisely locate and retrieve the correct set of job data for packaging.
Name | Type | Required | Description |
---|---|---|---|
workflow_id | string | Yes | Unique ID of the workflow to download assets from |
job_id | string | Yes | Job ID within the workflow to generate the download package from |
A 200 OK response includes a signed_url
that allows temporary access to download the assets packaged from the specified job. The response also includes the download operation’s status and ID, providing both metadata and the file access link in a secure, authenticated manner.
Name | Type | Description |
---|---|---|
id | string | Unique identifier of the download operation |
status | string | Current status of the download request (e.g., “pending”, “ready”) |
signed_url | string | URL to securely download the packaged input and output assets |
workflowId | string | ID of the workflow associated with the job |
workflow_id
and job_id
of the job you want to download from. Include the Authorization header with a valid bearer token.
https://api.pixxel.space/v0/workflows/{workflow_id}/jobs/{job_id}/download
signed_url
to download the ZIP package. Handle errors by checking for a 400 or 403 status and reviewing the returned error message.