> ## Documentation Index
> Fetch the complete documentation index at: https://tryunsora.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Poll generation status

> Check status for image, influencer, and thumbnail jobs

Unified polling endpoint for **image generator**, **AI influencer**, and **thumbnail** jobs.

Use the `id` returned from any create response. Poll every few seconds until `status` is `COMPLETED` or `FAILED`.

```bash theme={null}
curl "https://mvp2.tryunsora.com/api/v1/image/status/GENERATION_ID" \
  -H "Authorization: Bearer uns_live_YOUR_API_KEY"
```

Example response:

```json theme={null}
{
  "success": true,
  "data": {
    "id": "cm123...",
    "status": "COMPLETED",
    "outputUrl": "https://...",
    "error": null,
    "createdAt": "2026-06-02T12:00:00.000Z",
    "updatedAt": "2026-06-02T12:01:30.000Z",
    "completedAt": "2026-06-02T12:01:30.000Z"
  }
}
```

`type` values: `BASIC` (image generator), `INFLUENCER`, `THUMBNAIL`.


## OpenAPI

````yaml GET /image/status/{id}
openapi: 3.1.0
info:
  title: Unsora API
  version: 1.2.0
  description: >-
    Public API for Unsora integrations. Authenticate with Clerk JWT or
    uns_live_* API key. API keys are rate-limited to 60 requests/minute and
    support idempotency keys. Async jobs complete via polling GET
    /image/status/{id}.
servers:
  - url: https://mvp.tryunsora.com/api/v1
    description: Versioned API (recommended)
security: []
tags:
  - name: Clippings
  - name: Connect
  - name: Image Generations
  - name: Music Generations
  - name: Influencer Studio
  - name: Posts
  - name: Thumbnails
  - name: User
  - name: Video Generations
paths:
  /image/status/{id}:
    get:
      tags:
        - Image Generations
      summary: Poll image generation status
      description: >-
        Unified status endpoint for image generator, AI influencer, and
        thumbnail jobs. Poll until status is COMPLETED or FAILED.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Generation id returned from any image create endpoint
      responses:
        '200':
          description: Current job status
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                        enum:
                          - BASIC
                          - INFLUENCER
                          - THUMBNAIL
                      status:
                        type: string
                        enum:
                          - QUEUED
                          - PROCESSING
                          - COMPLETED
                          - FAILED
                      outputUrl:
                        type: string
                        nullable: true
                      thumbnailUrl:
                        type: string
                        nullable: true
                      error:
                        type: string
                        nullable: true
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      completedAt:
                        type: string
                        format: date-time
                        nullable: true
                    required:
                      - id
                      - type
                      - status
                required:
                  - success
                  - data
        '404':
          description: Generation not found
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk session JWT or Unsora API key (uns_live_*)

````