Cloady Docs
API ReferenceEndpointsApplications

Retry failed BullMQ jobs

Moves one failed job, or every failed job of a BullMQ queue, back to the queue's waiting list through the bullmq library, so the app's workers run it again. BullMQ 5 or later only; Sidekiq, Celery and RabbitMQ have no retry here. Requires the developer role.

POST
/api/workspaces/{workspaceSlug}/apps/{appSlug}/services/{serviceName}/jobs/retry
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
appSlug*string
serviceName*string

Query Parameters

env?string

Value in

  • "production"
  • "preview"
  • "development"
region?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/workspaces/string/apps/string/services/string/jobs/retry" \  -H "Content-Type: application/json" \  -d '{    "queue": "string"  }'
{  "retried": 0}