PixelDance
V1ImageTasksId

Get task with assets

Returns a single task with its generation assets. Includes ownership verification.

GET
/v1/image/tasks/{id}

Returns a single task with its generation assets. Includes ownership verification.

Authorization

cookieAuth
better-auth.session_token<token>

Session cookie set by Better Auth. Login via the app to obtain.

In: cookie

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:3002/v1/image/tasks/string"
{
  "id": "string",
  "status": "string",
  "errorType": "string",
  "assets": [
    {
      "id": "string",
      "taskId": "string",
      "mediaType": "string",
      "storageKey": "string",
      "url": "string",
      "width": 0,
      "height": 0
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}