> ## 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 music status

> Check status for music generation jobs

Poll music generation jobs created via [Create song](/api-reference/music-generations/create).

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

```bash theme={null}
curl "https://mvp.tryunsora.com/api/v1/music/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://files.tryunsora.com/....mp3",
    "error": null,
    "createdAt": "2026-06-10T12:00:00.000Z",
    "updatedAt": "2026-06-10T12:02:30.000Z",
    "completedAt": "2026-06-10T12:02:30.000Z"
  }
}
```

When `status` is `COMPLETED`, download the audio from `outputUrl`.


## OpenAPI

````yaml GET /music/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:
  /music/status/{id}:
    get:
      tags:
        - Music Generations
      summary: Poll music generation status
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MusicStatusResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    MusicStatusResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: object
          properties:
            id:
              type: string
            status:
              type: string
            outputUrl:
              anyOf:
                - type: string
                  format: uri
                - type: 'null'
            error:
              anyOf:
                - type: string
                - type: 'null'
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
            completedAt:
              anyOf:
                - type: string
                  format: date-time
                - type: 'null'
          required:
            - id
            - status
      required:
        - success
        - data
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        code:
          type: string
        message:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk session JWT or Unsora API key (uns_live_*)

````