Skip to content

    API documentation

    Get clip audio analysis

    GET/api/v1/suno/clips/{clipId}/audio-analysis

    Authentication · x-api-key

    Aggregates Suno downbeats, musical-key and waveform-mipmap analysis. Short sync-wait; returns 202 with taskId on timeout.

    Scope: task:read

    Billing and effects: May create or reuse a zero-credit preparation Task; poll the returned receipt after HTTP 202.

    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

    Path parameters

    clipIdpath · Required
    string

    Suno clip identifier returned by a Generation or clip read.

    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 · creditsChargedRequired

      number | null

      Exact credits actually charged

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

      2 options
    • Response 200 · creditsRequiredRequired

      number

      Exact credits deducted to start the task

      Minimum: 0.

    • Response 200 · errorCodeRequired

      string | null

      Error code if task failed

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

      2 options
    • Response 200 · errorMessageRequired

      string | null

      Error message if task failed

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

      2 options
    • Response 200 · outputResultsRequired

      object | null

      Operation-specific raw result entries. For stable client output consumption prefer typed resources or the dedicated product read; no universal nested result shape is promised.

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

      2 options
      • Response 200 · Option 1 — requires clipId, downbeats, key, waveformOption

        object

        Only the listed fields are accepted in this object.

        4 fields
        • Response 200 · outputResults.clipIdRequired

          string

          Suno clip identifier. Use the returned clip ID, not the Task or Generation ID.

        • Response 200 · outputResults.downbeatsRequired

          object

          Suno downbeat/beat analysis payload cached for this clip. Nested keys are passed through from the provider and are not a normalized public timing schema.

          1 field
        • Response 200 · outputResults.keyRequired

          object

          Suno musical-key analysis payload for this clip. This is musical tonality data, not an API key; nested provider fields are not normalized by OmnAPI.

          1 field
        • Response 200 · outputResults.waveformRequired

          object

          Suno waveform analysis payload for this clip, preserved as an object; no fixed sample rate or amplitude scale is promised by this public wrapper.

          1 field
      • Response 200 · Option 2 — nullOption

        null
    • Response 200 · processingDurationRequired

      number | null

      Processing duration in milliseconds

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

      2 options
    • Response 200 · processingDurationTextRequired

      string | null

      Human-readable processing duration, e.g. 16.2s

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

      2 options
    • Response 200 · 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 · taskIdRequired

      string

      Task unique identifier

    • Response 200 · pollUrlOptional

      string | null

      Set only when the synchronous wait timed out (HTTP 202, status=PROCESSING). The task is still running — poll this URL for the final result. Null/absent on terminal responses.

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

      2 options
      • Response 200 · Option 1 — stringOption

        string

        Set only when the synchronous wait timed out (HTTP 202, status=PROCESSING). The task is still running — poll this URL for the final result. Null/absent on terminal responses.

      • Response 200 · Option 2 — nullOption

        null
    • Response 200 · resourcesOptional

      array<object>

      Standardized resources produced by the task

      1 field
      • Response 200 · resources[]Each item

        object

        A consumable resource produced by the task.

        19 fields
        • Response 200 · resources[].idRequired

          string

          Stable resource id (OmnAPI resource id).

        • Response 200 · resources[].indexRequired

          number

          Stable zero-based provider result slot. Finalized post-process resources may use a higher reserved slot.

          Minimum: 0.

        • Response 200 · resources[].roleRequired

          "candidate" | "final" | "stem" | "fallback" | "output"

          How clients should interpret the resource. Prefer final when present; candidate items remain selectable alternatives.

        • Response 200 · resources[].typeRequired

          "MUSIC" | "IMAGE" | "VIDEO" | "AUDIO" | "TEXT" | "METADATA"

          Uppercase resource kind. MUSIC carries a song URL and optional thumbnailUrl; TEXT carries inline content. Optional fields depend on the operation.

        • Response 200 · resources[].assetIdOptional

          string

          Stable OmnAPI-owned asset id when available.

        • Response 200 · resources[].assetStatusOptional

          "READY" | "EXPIRED" | "DELETING" | "DELETED"

          Lifecycle of the retained media object. READY permits access; EXPIRED, DELETING and DELETED must not be treated as downloadable.

        • Response 200 · resources[].byteLengthOptional

          number | null

          Resource size in bytes.

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

          2 options
        • Response 200 · resources[].contentOptional

          string | null

          Inline text content (e.g. lyrics).

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

          2 options
        • Response 200 · resources[].contentTypeOptional

          string | null

          Resource content type.

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

          2 options
        • Response 200 · resources[].durationOptional

          number | null

          Duration of this output media resource in seconds, or null/absent when unknown or not applicable (for example text output).

          May be null.

        • Response 200 · resources[].durationSecOptional

          number | null

          Resource duration in seconds.

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

          2 options
        • Response 200 · resources[].heightOptional

          number | null

          Image or video height in pixels.

          May be null.

        • Response 200 · resources[].metadataOptional

          object | null

          Open extension metadata. Keys are operation-specific and may change. Preserve unknown values if forwarding; do not use these keys instead of typed status, billing or resource fields.

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

          2 options
        • Response 200 · resources[].retainedUntilOptional

          string | null

          Retention deadline for this stored copy, separate from URL expiry. Null can indicate active subscription protection; check asset status.

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

          2 options
        • Response 200 · resources[].thumbnailUrlOptional

          string | null

          Thumbnail access URL when available. Use it as returned; it is not the full media download.

          May be null.

        • Response 200 · resources[].titleOptional

          string | null

          Title recorded for this output resource, such as a generated song title; null/absent when no title is available.

          May be null.

        • Response 200 · resources[].urlOptional

          string | null

          Presigned/public URL.

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

          2 options
        • Response 200 · resources[].urlExpiresAtOptional

          string | null

          ISO 8601 timestamp when this access URL expires. Refresh the owning resource for a new URL; URL lifetime is separate from retention.

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

          2 options
        • Response 200 · resources[].widthOptional

          number | null

          Image or video width in pixels.

          May be null.

    202 Accepted

    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 202 · creditsChargedRequired

      number | null

      Exact credits actually charged

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

      2 options
    • Response 202 · creditsRequiredRequired

      number

      Exact credits deducted to start the task

      Minimum: 0.

    • Response 202 · errorCodeRequired

      string | null

      Error code if task failed

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

      2 options
    • Response 202 · errorMessageRequired

      string | null

      Error message if task failed

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

      2 options
    • Response 202 · outputResultsRequired

      object | null

      Operation-specific raw result entries. For stable client output consumption prefer typed resources or the dedicated product read; no universal nested result shape is promised.

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

      2 options
      • Response 202 · Option 1 — requires clipId, downbeats, key, waveformOption

        object

        Only the listed fields are accepted in this object.

        4 fields
        • Response 202 · outputResults.clipIdRequired

          string

          Suno clip identifier. Use the returned clip ID, not the Task or Generation ID.

        • Response 202 · outputResults.downbeatsRequired

          object

          Suno downbeat/beat analysis payload cached for this clip. Nested keys are passed through from the provider and are not a normalized public timing schema.

          1 field
        • Response 202 · outputResults.keyRequired

          object

          Suno musical-key analysis payload for this clip. This is musical tonality data, not an API key; nested provider fields are not normalized by OmnAPI.

          1 field
        • Response 202 · outputResults.waveformRequired

          object

          Suno waveform analysis payload for this clip, preserved as an object; no fixed sample rate or amplitude scale is promised by this public wrapper.

          1 field
      • Response 202 · Option 2 — nullOption

        null
    • Response 202 · processingDurationRequired

      number | null

      Processing duration in milliseconds

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

      2 options
    • Response 202 · processingDurationTextRequired

      string | null

      Human-readable processing duration, e.g. 16.2s

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

      2 options
    • Response 202 · 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 202 · taskIdRequired

      string

      Task unique identifier

    • Response 202 · pollUrlOptional

      string | null

      Set only when the synchronous wait timed out (HTTP 202, status=PROCESSING). The task is still running — poll this URL for the final result. Null/absent on terminal responses.

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

      2 options
      • Response 202 · Option 1 — stringOption

        string

        Set only when the synchronous wait timed out (HTTP 202, status=PROCESSING). The task is still running — poll this URL for the final result. Null/absent on terminal responses.

      • Response 202 · Option 2 — nullOption

        null
    • Response 202 · resourcesOptional

      array<object>

      Standardized resources produced by the task

      1 field
      • Response 202 · resources[]Each item

        object

        A consumable resource produced by the task.

        19 fields
        • Response 202 · resources[].idRequired

          string

          Stable resource id (OmnAPI resource id).

        • Response 202 · resources[].indexRequired

          number

          Stable zero-based provider result slot. Finalized post-process resources may use a higher reserved slot.

          Minimum: 0.

        • Response 202 · resources[].roleRequired

          "candidate" | "final" | "stem" | "fallback" | "output"

          How clients should interpret the resource. Prefer final when present; candidate items remain selectable alternatives.

        • Response 202 · resources[].typeRequired

          "MUSIC" | "IMAGE" | "VIDEO" | "AUDIO" | "TEXT" | "METADATA"

          Uppercase resource kind. MUSIC carries a song URL and optional thumbnailUrl; TEXT carries inline content. Optional fields depend on the operation.

        • Response 202 · resources[].assetIdOptional

          string

          Stable OmnAPI-owned asset id when available.

        • Response 202 · resources[].assetStatusOptional

          "READY" | "EXPIRED" | "DELETING" | "DELETED"

          Lifecycle of the retained media object. READY permits access; EXPIRED, DELETING and DELETED must not be treated as downloadable.

        • Response 202 · resources[].byteLengthOptional

          number | null

          Resource size in bytes.

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

          2 options
        • Response 202 · resources[].contentOptional

          string | null

          Inline text content (e.g. lyrics).

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

          2 options
        • Response 202 · resources[].contentTypeOptional

          string | null

          Resource content type.

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

          2 options
        • Response 202 · resources[].durationOptional

          number | null

          Duration of this output media resource in seconds, or null/absent when unknown or not applicable (for example text output).

          May be null.

        • Response 202 · resources[].durationSecOptional

          number | null

          Resource duration in seconds.

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

          2 options
        • Response 202 · resources[].heightOptional

          number | null

          Image or video height in pixels.

          May be null.

        • Response 202 · resources[].metadataOptional

          object | null

          Open extension metadata. Keys are operation-specific and may change. Preserve unknown values if forwarding; do not use these keys instead of typed status, billing or resource fields.

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

          2 options
        • Response 202 · resources[].retainedUntilOptional

          string | null

          Retention deadline for this stored copy, separate from URL expiry. Null can indicate active subscription protection; check asset status.

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

          2 options
        • Response 202 · resources[].thumbnailUrlOptional

          string | null

          Thumbnail access URL when available. Use it as returned; it is not the full media download.

          May be null.

        • Response 202 · resources[].titleOptional

          string | null

          Title recorded for this output resource, such as a generated song title; null/absent when no title is available.

          May be null.

        • Response 202 · resources[].urlOptional

          string | null

          Presigned/public URL.

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

          2 options
        • Response 202 · resources[].urlExpiresAtOptional

          string | null

          ISO 8601 timestamp when this access URL expires. Refresh the owning resource for a new URL; URL lifetime is separate from retention.

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

          2 options
        • Response 202 · resources[].widthOptional

          number | null

          Image or video width in pixels.

          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

    402 Payment Required

    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 402 · 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 402 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 402 · error.messageRequired

        string

        Human readable error message

      • Response 402 · 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 402 · successRequired

      false

      Always false for error responses

    403 Forbidden

    Forbidden: the API key lacks the required scope or its IP policy rejects this request. Forbidden: API-key scope/IP restrictions or billing hold. A positive balance does not bypass payment review. Check GET /api/v1/account/credits billingStatus before further paid requests.

    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

    422 Unprocessable Entity

    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 422 · 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 422 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 422 · error.messageRequired

        string

        Human readable error message

      • Response 422 · 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 422 · 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

    503 Service Unavailable

    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 503 · 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 503 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 503 · error.messageRequired

        string

        Human readable error message

      • Response 503 · 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 503 · successRequired

      false

      Always false for error responses

    Workflow and next steps → · Recover an uncertain request

    Interactive API Explorer → · OpenAPI JSON