---
title: "Requeue a stalled artwork job"
method: POST
path: "/api/image-generations/retry"
tags: ["Artwork"]
---

# Requeue a stalled artwork job

`POST /api/image-generations/retry`

## Request

- Base URL: `https://api.createprints.ai`
- URL: `https://api.createprints.ai/api/image-generations/retry`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.createprints.ai/api/oauth/authorize`, token URL `https://api.createprints.ai/api/oauth/token`, scopes: `artwork:create`)

Requeues an account-owned processing job only after it has been inactive for at least 90 seconds. Completed, failed, and actively processing jobs return `409`; create a new generation instead of retrying a job marked failed.

## Request body

- ArtworkJobRequest
  - `jobId` string, uuid, required

## Response `202`

The stalled job was requeued.

- RequeuedArtwork
  - `code` 'ok', required
  - `jobId` string, uuid, required
  - `status` 'requeued', required

## Other responses

- `400`: Missing or invalid input.
- `401`: The credential is missing, invalid, revoked, or expired.
- `403`: The credential lacks the required scope or cannot perform this operation.
- `404`: The resource was not found for the authenticated account.
- `409`: The resource state does not permit this operation.
- `500`: Create Prints could not complete the request.

---

[API](https://skmtc.dev/createprints/apis/create-prints-api.md) · [All operations](https://skmtc.dev/createprints/apis/create-prints-api/llms.txt) · [OpenAPI document](https://skmtc.dev/createprints/apis/create-prints-api/revisions/05c57f496d51?raw)
