Background Task

Get Background Task

Changed on

Get a background task by ID.

get/api/v1/background-task/{task_id}

Request

  • Base URL
    https://api.eu.svix.com
  • URL
    https://api.eu.svix.com/api/v1/background-task/{task_id}
  • Auth
    HTTP bearer

Path parameters

task_idstring required

The QueueBackgroundTask's ID.

Example:qtask_1srOrx2ZWZBpBUvZwXKQmoEYga2

Response

dataobject required
idstring required

The QueueBackgroundTask's ID.

status'running' | 'finished' | 'failed' required
task'endpoint.replay' | 'endpoint.recover' | 'application.stats' | 'message.broadcast' | 'sdk.generate' | 'event-type.aggregate' | 'application.purge_content' | 'endpoint.bulk-replay' required
updatedAtstring date-time required

Example response

{
  "id": "qtask_1srOrx2ZWZBpBUvZwXKQmoEYga2"
}

Changes