Skip to content

    API documentation

    List Suno generations

    GET/api/v1/suno/generations

    Authentication · x-api-key

    Cursor-paginated product history. The cursor is opaque; do not construct it client-side.

    Scope: task:read

    Billing and effects: Free resource read; no generation purchase.

    Recovery: Read the current resource before retrying a mutation; do not assume this operation supports Idempotency-Key.

    Follow this operation’s workflow → · All permission rules

    Request

    Query parameters

    limitquery · Optional
    number

    Maximum number of items to return.

    Minimum: 1. Maximum: 100.
    cursorquery · Optional
    string

    Opaque pagination cursor returned as nextCursor; omit it on the first page.

    Responses

    Read the HTTP status and body together. A receipt confirms acceptance; poll the returned Task or product view for terminal execution and media delivery. Example IDs and credit amounts are illustrative, not a price quote.

    HTTP 401 · Request rejected; correct the key before retrying

    Complete JSON example (optional fields may be omitted).

    {
    "success": false,
    "error": {
    "code": "INVALID_API_KEY",
    "message": "Invalid API key"
    }
    }
    200 OK

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    Only the listed fields are accepted in this object.

    • Response 200 · hasMoreRequired

      boolean

      Whether another result page is available. Follow the endpoint cursor or page parameter rather than restarting the list.

    • Response 200 · itemsRequired

      array<object>

      Items in this result page. Follow the returned cursor, when present, to continue pagination.

      1 field
      • Response 200 · items[]Each item

        object

        Only the listed fields are accepted in this object.

        19 fields
        • Response 200 · items[].autoFinalizeRequired

          boolean

          Whether this workflow assembles its final output automatically after generation; do not buy a separate finalize while automatic delivery is pending.

        • Response 200 · items[].billingRequired

          object

          Original generation Task credit requirement, net charge and settlement state; null pricing means no readable pricing snapshot was recorded.

          Only the listed fields are accepted in this object.

          5 fields
        • Response 200 · items[].clipsRequired

          array<object>

          Visible generation candidates and any auto-finalized clip; internal preview clips are excluded.

          1 field
          • Response 200 · items[].clips[]Each item

            object

            Only the listed fields are accepted in this object.

            23 fields
            • Response 200 · items[].clips[].accessLevelRequired

              "owned" | "shared" | "external"

              Read projection only. owned returns the full public Clip contract; shared is public or remixable; external is merely readable by clipId. This value does not grant derive or export permission.

            • Response 200 · items[].clips[].audioUrlRequired

              string | null

              Completed/stable audio URL when available; null can coexist with live playback via playback.url. Use playable and playback for listening readiness.

              May be null.

            • Response 200 · items[].clips[].clipIdRequired

              string

              Suno clip identifier (mid); do not substitute an OmnAPI resource identifier.

            • Response 200 · items[].clips[].createdAtRequired

              string | null

              Creation timestamp in the format shown below; JSON date-time values include their timezone.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
            • Response 200 · items[].clips[].deliveryStatusRequired

              "submitted" | "queued" | "streaming" | "complete" | "error"

              Media delivery state, independent of Task execution and quality review. Consume media only when delivery is ready.

            • Response 200 · items[].clips[].durationRequired

              number | null

              Clip duration in seconds. Missing eventually-consistent metadata is repaired on later reads.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
              • Response 200 · Option 1 — numberOption

                number

                Clip duration in seconds. Missing eventually-consistent metadata is repaired on later reads.

                Minimum: 0.

              • Response 200 · Option 2 — nullOption

                null
            • Response 200 · items[].clips[].errorCodeRequired

              string | null

              Machine-readable failure code. Use this for recovery decisions instead of parsing the message.

              May be null.

            • Response 200 · items[].clips[].errorMessageRequired

              string | null

              Human-readable failure explanation. Do not use message wording as a stable programmatic discriminator.

              May be null.

            • Response 200 · items[].clips[].imageUrlRequired

              string | null

              Access URL for this image when available; null means no image is currently exposed.

              May be null.

            • Response 200 · items[].clips[].indexRequired

              number

              Clip's resource index within the generation; index 100 denotes an auto-finalized clip in owned generation results.

              Minimum: 0.

            • Response 200 · items[].clips[].instrumentalRequired

              boolean | null

              Whether instrumental generation was recorded/requested; null when neither metadata nor the originating request establishes it.

              May be null.

            • Response 200 · items[].clips[].majorModelVersionRequired

              string | null

              Exact Suno major_model_version value reported for this clip, for example v4.5-all.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
            • Response 200 · items[].clips[].modelRequired

              string | null

              Compatibility model label. Prefer modelCode, providerModelName and majorModelVersion for unambiguous integrations.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
              • Response 200 · Option 1 — stringOption

                string

                Compatibility model label. Prefer modelCode, providerModelName and majorModelVersion for unambiguous integrations.

              • Response 200 · Option 2 — nullOption

                null
            • Response 200 · items[].clips[].modelCodeRequired

              string | null

              Canonical OmnAPI model code selected for an owned generation. Null when a clip is read directly from Suno without a local task.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
              • Response 200 · Option 1 — stringOption

                string

                Canonical OmnAPI model code selected for an owned generation. Null when a clip is read directly from Suno without a local task.

              • Response 200 · Option 2 — nullOption

                null
            • Response 200 · items[].clips[].playableRequired

              boolean

              Whether this clip currently exposes playable audio. Use playback.url and its delivery state, not audioUrl alone.

            • Response 200 · items[].clips[].playbackRequired

              object

              Current playback instructions. If playable is true, use playback.url directly; it can be available before a permanent audioUrl.

              Only the listed fields are accepted in this object.

              8 fields
              • Response 200 · items[].clips[].playback.deliveryRequired

                "none" | "chunked" | "progressive"

                progressive for completed seekable audio, chunked for live MP3 streaming, none when no audio is ready.

              • Response 200 · items[].clips[].playback.expiresAtRequired

                string | null

                Expiry of this particular resource or receipt, in the format shown below. Do not reuse an expired purchase receipt.

                May be null. Use a complete option below; the value must satisfy at least one option.

                2 options
              • Response 200 · items[].clips[].playback.mimeTypeRequired

                "audio/mpeg" | "audio/mp4" | null

                MIME type of the exposed playback audio (audio/mpeg or audio/mp4), or null before availability/on error.

                May be null. Use a complete option below; the value must satisfy at least one option.

                2 options
              • Response 200 · items[].clips[].playback.retryAfterMsRequired

                number | null

                Suggested delay in milliseconds before checking this playback state again.

                May be null. Use a complete option below; the value must satisfy at least one option.

                2 options
              • Response 200 · items[].clips[].playback.seekableRequired

                boolean

                Whether the currently exposed audio supports seeking. Live audio can be playable without supporting seek.

              • Response 200 · items[].clips[].playback.sessionCreateUrlRequired

                string | null

                Deprecated compatibility field. New integrations should use playback.url directly; no separate playback-session request is needed.

                May be null. Use a complete option below; the value must satisfy at least one option.

                2 options
                • Response 200 · Option 1 — stringOption

                  string

                  Deprecated compatibility field. New integrations should use playback.url directly; no separate playback-session request is needed.

                  Deprecated; omit in new integrations.

                • Response 200 · Option 2 — nullOption

                  null
              • Response 200 · items[].clips[].playback.stateRequired

                "preparing" | "live" | "final" | "error" | "unavailable"

                final when completed audio is exposed, live during streaming, preparing before audio is ready, or error on clip failure.

              • Response 200 · items[].clips[].playback.urlRequired

                string | null

                Current playback URL. Live Generation reads provide a temporary URL; final reads provide the completed audio URL. Resolve relative URLs against the API base URL and open them without an API key. A null value means to wait and query the Generation again. Treat the complete URL as private and do not construct or modify it.

                May be null. Use a complete option below; the value must satisfy at least one option.

                2 options
                • Response 200 · Option 1 — stringOption

                  string

                  Current playback URL. Live Generation reads provide a temporary URL; final reads provide the completed audio URL. Resolve relative URLs against the API base URL and open them without an API key. A null value means to wait and query the Generation again. Treat the complete URL as private and do not construct or modify it.

                • Response 200 · Option 2 — nullOption

                  null
            • Response 200 · items[].clips[].promptRequired

              string | null

              Generation prompt for owned clips only. Shared and external clips always return null.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
              • Response 200 · Option 1 — stringOption

                string

                Generation prompt for owned clips only. Shared and external clips always return null.

              • Response 200 · Option 2 — nullOption

                null
            • Response 200 · items[].clips[].providerModelNameRequired

              string | null

              Exact Suno model_name value reported for this clip, for example chirp-hawk.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
            • Response 200 · items[].clips[].roleRequired

              "candidate" | "final"

              candidate for generated alternatives; final for the auto-finalized full-song clip. A normal candidate can itself be a completed playable song.

            • Response 200 · items[].clips[].tagsRequired

              string | null

              Public style tags for owned and shared clips. Null for external clips or before metadata propagation completes.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
              • Response 200 · Option 1 — stringOption

                string

                Public style tags for owned and shared clips. Null for external clips or before metadata propagation completes.

              • Response 200 · Option 2 — nullOption

                null
            • Response 200 · items[].clips[].titleRequired

              string | null

              Song/clip title from stored or provider metadata, or null when unavailable.

              May be null.

            • Response 200 · items[].clips[].updatedAtRequired

              string | null

              Most recent update timestamp in the format shown below.

              May be null. Use a complete option below; the value must satisfy at least one option.

              2 options
            • Response 200 · items[].clips[].videoUrlRequired

              string | null

              Access URL for this video when ready. Null does not itself indicate failure; check delivery and asset status.

              May be null.

        • Response 200 · items[].createdAtRequired

          string

          Creation timestamp in the format shown below; JSON date-time values include their timezone.

          Format: date-time.

        • Response 200 · items[].deliveryStatusRequired

          "submitted" | "queued" | "streaming" | "complete" | "error" | null

          Media delivery state, independent of Task execution and quality review. Consume media only when delivery is ready.

          May be null. Use a complete option below; the value must satisfy at least one option.

          2 options
        • Response 200 · items[].failureReasonRequired

          string | null

          Structured failure information. Use the code for recovery logic and the message for human explanation.

          May be null.

        • Response 200 · items[].finalClipIdRequired

          string | null

          ID of a complete clip with role=final, or null. A normal generation of completed candidate songs need not have a final clip.

          May be null.

        • Response 200 · items[].finalUrlRequired

          string | null

          Final media URL when available; null means no final URL is currently exposed. Follow the resource read for delivery readiness.

          May be null.

        • Response 200 · items[].generationIdRequired

          string

          Canonical OmnAPI Suno product ID. It equals the originating taskId.

        • Response 200 · items[].partialFailureRequired

          boolean

          True when the generation completed with at least one successful clip and at least one failed clip.

        • Response 200 · items[].phaseRequired

          "accepted" | "generating" | "finalizing" | "completed" | "failed"

          accepted before clips exist, generating while producing clips, finalizing while auto-finalization is pending, completed on Task completion, failed for failure/cancellation.

        • Response 200 · items[].progressRequired

          number

          Reported progress from 0 to 100. It is an observation, not an ETA or confirmation that delivery is ready.

          Minimum: 0. Maximum: 100.

        • Response 200 · items[].refundableRequired

          boolean

          Whether the recorded operation is eligible for a refund; this does not confirm that a refund has been settled.

        • Response 200 · items[].retryableRequired

          boolean

          Whether a retry is permitted for the reported failure. Recover an uncertain accepted request with its original key and body first.

        • Response 200 · items[].statusRequired

          "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED"

          State of the object containing this field. Use its listed values; operation acceptance, Task completion and media delivery are separate states.

          Default: "PENDING".

        • Response 200 · items[].taskIdRequired

          string

          Operation Task identifier. Save it before polling; a receipt does not mean the operation has completed.

        • Response 200 · items[].updatedAtRequired

          string

          Most recent update timestamp in the format shown below.

          Format: date-time.

        • Response 200 · items[].versionRequired

          number

          Current resource revision. Use it as expectedVersion when updating that resource to detect concurrent edits.

          Minimum: 0.

        • Response 200 · items[].warningCodesRequired

          array<string>

          Nonfatal findings or delivery fallbacks. Inspect each warning; a warning alone does not imply failure or a refund.

          1 field
    • Response 200 · nextCursorRequired

      string | null

      Opaque pagination cursor. Pass it unchanged to the next list request; null means there is no next page.

      May be null.

    400 Bad Request

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 400 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 400 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 400 · error.messageRequired

        string

        Human readable error message

      • Response 400 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 400 · successRequired

      false

      Always false for error responses

    401 Unauthorized

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 401 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 401 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 401 · error.messageRequired

        string

        Human readable error message

      • Response 401 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 401 · successRequired

      false

      Always false for error responses

    403 Forbidden

    Forbidden: the API key lacks the required scope or its IP policy rejects this request.

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 403 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 403 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 403 · error.messageRequired

        string

        Human readable error message

      • Response 403 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 403 · successRequired

      false

      Always false for error responses

    429 Too Many Requests

    Request allowance or task admission capacity exceeded. Follow Retry-After when present; otherwise wait for active tasks and use bounded backoff. Limits do not guarantee throughput. For SSE, this is the HTTP connection response, not an event.

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 429 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 429 · error.codeRequired

        string

        RATE_LIMITED for request and task admission rejections.

      • Response 429 · error.messageRequired

        string

        Human-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.

      • Response 429 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        9 fields
        • Response 429 · error.details.currentOptional

          integer

          Current count for the rate-limit window identified by policy and scope.

          Minimum: 0.

        • Response 429 · error.details.inFlightOptional

          integer

          Current accepted tasks counted against the relevant account or API-key admission limit.

          Minimum: 0.

        • Response 429 · error.details.limitOptional

          integer

          Maximum count allowed by this response context. A limit is not a throughput guarantee.

          Minimum: 0.

        • Response 429 · error.details.policyOptional

          "operation" | "query"

          Allowance bucket: query for resource reads, operation for task-producing or operation requests. See the rate-limit response headers.

        • Response 429 · error.details.retryAfterSecOptional

          integer

          Suggested delay in seconds before another request. Honor the Retry-After header when present; use bounded backoff.

          Minimum: 1.

        • Response 429 · error.details.scopeOptional

          "user" | "api-key" | "ip" | "apiKey"

          Entity whose allowance was exceeded, such as the user, API key or IP address.

        • Response 429 · error.details.tierOptional

          "FREE" | "PREMIUM" | "ENTERPRISE"

          Account allowance tier used for this admission or rate-limit decision.

        • Response 429 · error.details.typeOptional

          "rps" | "daily" | "monthly"

          Admission limit that rejected the request: rps (continuously refilled requests-per-second bucket), daily or monthly UTC request budget. Interpret with policy, scope and retryAfterSec.

        • Response 429 · error.details[key]Each value

          any JSON value

          Key pattern: ^(.*)$.

    • Response 429 · successRequired

      false

      Whether this response reports a successful action; false accompanies the structured error object.

      Default: false.

    500 Internal Server Error

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 500 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 500 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 500 · error.messageRequired

        string

        Human readable error message

      • Response 500 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 500 · successRequired

      false

      Always false for error responses

    Workflow and next steps → · Recover an uncertain request

    Interactive API Explorer → · OpenAPI JSON