v6

latestOpenAPI 3.1.0raw.githubusercontent.com2025-06-241833312.7 KB
Tasks

Get Task

Retrieves the data for a specific task by its ID.

get/v1/tasks/{id}

Path parameters

idstring required

The id of the task to get.

Example:task_euyrvozb9302uwhq

Response

Successfully retrieved task data.

OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "id": "task_euyrvozb9302uwhq",
  "operation": "apply-effect",
  "parameters": {
    "input": "file_avyrvozb9302uwhq",
    "name": "File Name",
    "callback_url": "https://example.com/callback"
  },
  "status": "completed",
  "result": {
    "generated_files": [
      {
        "id": "file_euyrvozb9302uwhq",
        "name": "Example Image",
        "type": "image/png",
        "properties": {
          "size": 1024,
          "width": 800,
          "height": 600
        },
        "task_id": "task_euyrvozb9302uwhq",
        "created_at": "2021-05-01T12:00:00Z"
      }
    ]
  },
  "callback_url": "https://example.com/callback",
  "created_at": "2021-05-01T12:00:00Z",
  "updated_at": "2021-05-01T12:00:00Z"
}