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

# Batch get tasks

> Batch fetch Suno tasks by public ids.

**Path:** `POST https://api.omniall.ai/suno/fetch`

Auth: `Authorization: Bearer sk-...`



## OpenAPI

````yaml openapi/suno-audio.yaml POST /suno/fetch
openapi: 3.1.0
info:
  title: Omniall AI — Suno music
  version: 1.0.0
  description: >-
    Suno async music & lyrics.


    **Create:** `POST https://api.omniall.ai/suno/submit/music` · `POST
    /suno/submit/lyrics`


    **Poll:** `GET /suno/fetch/{task_id}` · batch `POST /suno/fetch`


    Billing model ids: `suno_music`, `suno_lyrics` (see [Model
    Square](https://omniall.ai/pricing)).


    Auth: `Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /suno/fetch:
    post:
      tags:
        - Suno
      summary: Batch get tasks
      description: |-
        Batch fetch Suno tasks by public ids.

        **Path:** `POST https://api.omniall.ai/suno/fetch`

        Auth: `Authorization: Bearer sk-...`
      operationId: sunoFetchBatch
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
          description: Bearer API key, e.g. `Bearer sk-...`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  type: array
                  items:
                    type: string
                  description: Public task ids.
                  example:
                    - task_xxxxxxxx
                    - task_yyyyyyyy
                action:
                  type: string
                  description: Optional filter (e.g. `MUSIC`, `LYRICS`).
            example:
              ids:
                - task_xxxxxxxx
                - task_yyyyyyyy
      responses:
        '200':
          description: Task list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SunoFetchBatchResponse'
              example:
                code: success
                data:
                  - task_id: task_xxxxxxxx
                    action: MUSIC
                    status: SUCCESS
                  - task_id: task_yyyyyyyy
                    action: LYRICS
                    status: IN_PROGRESS
components:
  schemas:
    SunoFetchBatchResponse:
      type: object
      properties:
        code:
          type: string
        data:
          type: array
          items:
            type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.