PixelDance
V1ImageHistory

Get image generation history

Returns paginated history of completed/failed image generation tasks.

GET
/v1/image/history

Returns paginated history of completed/failed image generation tasks.

Authorization

cookieAuth
better-auth.session_token<token>

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

In: cookie

Query Parameters

cursor?string
projectId?string

Response Body

application/json

curl -X GET "http://localhost:3002/v1/image/history"
{
  "items": [
    {
      "id": "string",
      "model": "string",
      "prompt": "string",
      "status": "string",
      "createdAt": "string",
      "errorType": "string",
      "assets": [
        {
          "id": "string",
          "taskId": "string",
          "mediaType": "string",
          "url": "string",
          "width": 0,
          "height": 0
        }
      ]
    }
  ],
  "nextCursor": "string"
}