> ## 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.

# List generations

> Paginated list of basic image generations for the authenticated user.

Returns **basic** image generations for the authenticated user, newest first.

**`GET /image-generations/all`**

## Query parameters

<ParamField query="page" type="integer" default="1">
  Page number (1-based).
</ParamField>

<ParamField query="limit" type="integer" default="12">
  Items per page. Min `1`, max `100`.
</ParamField>

## Response

```json theme={null}
{
  "success": true,
  "generations": [
    {
      "id": "cm123abc",
      "status": "COMPLETED",
      "prompt": "Product photo on marble surface",
      "model": "nano-banana-2",
      "error": null,
      "createdAt": "2026-06-02T12:00:00.000Z",
      "updatedAt": "2026-06-02T12:00:45.000Z",
      "outputAsset": { "url": "https://files.tryunsora.com/....png" }
    }
  ],
  "pagination": {
    "currentPage": 1,
    "totalPages": 2,
    "totalCount": 15,
    "limit": 12,
    "hasNextPage": true,
    "hasPreviousPage": false
  }
}
```

## Example

```bash theme={null}
curl "https://mvp.tryunsora.com/api/v1/image-generations/all?page=1&limit=12" \
  -H "Authorization: Bearer uns_live_YOUR_API_KEY"
```

Poll completion with [Poll image status](/api-reference/image/poll-status). Fetch one record with [Get image generation](/api-reference/image-generations/get).


## OpenAPI

````yaml GET /image-generations/all
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-generations/all:
    get:
      tags:
        - Image Generations
      summary: List image generations
      description: Paginated list of basic image generations for the authenticated user.
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: limit
          in: query
          schema:
            type: integer
            default: 12
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: Paginated list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageGenerationListResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ImageGenerationListResponse:
      type: object
      properties:
        success:
          type: boolean
        generations:
          type: array
          items:
            $ref: '#/components/schemas/ImageGenerationRecord'
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
      required:
        - success
        - generations
        - pagination
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        code:
          type: string
        message:
          type: string
      required:
        - error
    ImageGenerationRecord:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        status:
          type: string
        prompt:
          type: string
        model:
          type: string
        error:
          anyOf:
            - type: string
            - type: 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        outputAsset:
          type: object
          additionalProperties: true
        thumbnailAsset:
          type: object
          additionalProperties: true
      required:
        - id
        - status
        - createdAt
    PaginationMeta:
      type: object
      properties:
        currentPage:
          type: integer
        totalPages:
          type: integer
        totalCount:
          type: integer
        limit:
          type: integer
        hasNextPage:
          type: boolean
        hasPreviousPage:
          type: boolean
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk session JWT or Unsora API key (uns_live_*)

````