Download

Bulk download job results

Generates a temporary token for downloading a ZIP file containing all results. A maximum of 100 images can be downloaded at once.

POST
/download/bulk
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

job_idsJob Ids

The IDs of the jobs to download results for.

Response Body

Examples

curl -X POST "https://v2.api.piktid.com/download/bulk" \
  -H "Content-Type: application/json" \
  -d '{
    "job_ids": [
      "string"
    ]
  }'
{
  "download_url": "string",
  "expires": "string"
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty