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

# Get generation

> Fetch a single music generation by ID.

Returns one music generation record including `outputAsset` when complete.

**`GET /music-generations/{generationId}`**

## Path parameters

<ParamField path="generationId" type="string" required>
  Generation ID from the create response.
</ParamField>

## Example

```bash theme={null}
curl "https://mvp.tryunsora.com/api/v1/music-generations/cm123abc" \
  -H "Authorization: Bearer uns_live_YOUR_API_KEY"
```


## OpenAPI

````yaml GET /music-generations/{generationId}
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-generations/{generationId}:
    get:
      tags:
        - Music Generations
      summary: Get one music generation
      parameters:
        - name: generationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Generation record
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MusicGenerationGetResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    MusicGenerationGetResponse:
      type: object
      properties:
        success:
          type: boolean
        generation:
          $ref: '#/components/schemas/MusicGenerationRecord'
      required:
        - success
        - generation
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        code:
          type: string
        message:
          type: string
      required:
        - error
    MusicGenerationRecord:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        status:
          type: string
        lyrics:
          type: string
        prompt:
          type: string
        model:
          type: string
        outputFormat:
          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
      required:
        - id
        - status
        - createdAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk session JWT or Unsora API key (uns_live_*)

````