clipIdpath · RequiredSuno clip identifier returned by a Generation or clip read.
/api/v1/suno/clips/{clipId}/audio-analysisAuthentication · 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 rulesclipIdpath · RequiredSuno clip identifier returned by a Generation or clip read.
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.
Complete JSON example (optional fields may be omitted).
{ "success": false, "error": { "code": "INVALID_API_KEY", "message": "Invalid API key" }}application/json
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.
creditsChargedRequiredExact credits actually charged
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionExact credits actually charged
Minimum: 0.
Option 2 — nullOptioncreditsRequiredRequiredExact credits deducted to start the task
Minimum: 0.
errorCodeRequiredError code if task failed
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionError code if task failed
Option 2 — nullOptionerrorMessageRequiredError message if task failed
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionError message if task failed
Option 2 — nullOptionoutputResultsRequiredOperation-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.
Option 1 — requires clipId, downbeats, key, waveformOptionOnly the listed fields are accepted in this object.
outputResults.clipIdRequiredSuno clip identifier. Use the returned clip ID, not the Task or Generation ID.
outputResults.downbeatsRequiredSuno downbeat/beat analysis payload cached for this clip. Nested keys are passed through from the provider and are not a normalized public timing schema.
outputResults.downbeats[key]Each valueKey pattern: ^(.*)$.
outputResults.keyRequiredSuno musical-key analysis payload for this clip. This is musical tonality data, not an API key; nested provider fields are not normalized by OmnAPI.
outputResults.key[key]Each valueKey pattern: ^(.*)$.
outputResults.waveformRequiredSuno waveform analysis payload for this clip, preserved as an object; no fixed sample rate or amplitude scale is promised by this public wrapper.
outputResults.waveform[key]Each valueKey pattern: ^(.*)$.
Option 2 — nullOptionprocessingDurationRequiredProcessing duration in milliseconds
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionProcessing duration in milliseconds
Option 2 — nullOptionprocessingDurationTextRequiredHuman-readable processing duration, e.g. 16.2s
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionHuman-readable processing duration, e.g. 16.2s
Option 2 — nullOptionstatusRequiredState of the object containing this field. Use its listed values; operation acceptance, Task completion and media delivery are separate states.
Default: "PENDING".
taskIdRequiredTask unique identifier
pollUrlOptionalSet 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.
Option 1 — stringOptionSet 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.
Option 2 — nullOptionresourcesOptionalStandardized resources produced by the task
resources[]Each itemA consumable resource produced by the task.
resources[].idRequiredStable resource id (OmnAPI resource id).
resources[].indexRequiredStable zero-based provider result slot. Finalized post-process resources may use a higher reserved slot.
Minimum: 0.
resources[].roleRequiredHow clients should interpret the resource. Prefer final when present; candidate items remain selectable alternatives.
resources[].typeRequiredUppercase resource kind. MUSIC carries a song URL and optional thumbnailUrl; TEXT carries inline content. Optional fields depend on the operation.
resources[].assetIdOptionalStable OmnAPI-owned asset id when available.
resources[].assetStatusOptionalLifecycle of the retained media object. READY permits access; EXPIRED, DELETING and DELETED must not be treated as downloadable.
resources[].byteLengthOptionalResource size in bytes.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionResource size in bytes.
Option 2 — nullOptionresources[].contentOptionalInline text content (e.g. lyrics).
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionInline text content (e.g. lyrics).
Option 2 — nullOptionresources[].contentTypeOptionalResource content type.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionResource content type.
Option 2 — nullOptionresources[].durationOptionalDuration of this output media resource in seconds, or null/absent when unknown or not applicable (for example text output).
May be null.
resources[].durationSecOptionalResource duration in seconds.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionResource duration in seconds.
Option 2 — nullOptionresources[].heightOptionalImage or video height in pixels.
May be null.
resources[].metadataOptionalOpen 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.
Option 1 — objectOptionresources[].metadata[key]Each valueKey pattern: ^(.*)$.
Option 2 — nullOptionresources[].retainedUntilOptionalRetention 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.
Option 1 — stringOptionFormat: date-time.
Option 2 — nullOptionresources[].thumbnailUrlOptionalThumbnail access URL when available. Use it as returned; it is not the full media download.
May be null.
resources[].titleOptionalTitle recorded for this output resource, such as a generated song title; null/absent when no title is available.
May be null.
resources[].urlOptionalPresigned/public URL.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionPresigned/public URL.
Option 2 — nullOptionresources[].urlExpiresAtOptionalISO 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.
Option 1 — stringOptionFormat: date-time.
Option 2 — nullOptionresources[].widthOptionalImage or video width in pixels.
May be null.
application/json
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.
creditsChargedRequiredExact credits actually charged
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionExact credits actually charged
Minimum: 0.
Option 2 — nullOptioncreditsRequiredRequiredExact credits deducted to start the task
Minimum: 0.
errorCodeRequiredError code if task failed
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionError code if task failed
Option 2 — nullOptionerrorMessageRequiredError message if task failed
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionError message if task failed
Option 2 — nullOptionoutputResultsRequiredOperation-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.
Option 1 — requires clipId, downbeats, key, waveformOptionOnly the listed fields are accepted in this object.
outputResults.clipIdRequiredSuno clip identifier. Use the returned clip ID, not the Task or Generation ID.
outputResults.downbeatsRequiredSuno downbeat/beat analysis payload cached for this clip. Nested keys are passed through from the provider and are not a normalized public timing schema.
outputResults.downbeats[key]Each valueKey pattern: ^(.*)$.
outputResults.keyRequiredSuno musical-key analysis payload for this clip. This is musical tonality data, not an API key; nested provider fields are not normalized by OmnAPI.
outputResults.key[key]Each valueKey pattern: ^(.*)$.
outputResults.waveformRequiredSuno waveform analysis payload for this clip, preserved as an object; no fixed sample rate or amplitude scale is promised by this public wrapper.
outputResults.waveform[key]Each valueKey pattern: ^(.*)$.
Option 2 — nullOptionprocessingDurationRequiredProcessing duration in milliseconds
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionProcessing duration in milliseconds
Option 2 — nullOptionprocessingDurationTextRequiredHuman-readable processing duration, e.g. 16.2s
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionHuman-readable processing duration, e.g. 16.2s
Option 2 — nullOptionstatusRequiredState of the object containing this field. Use its listed values; operation acceptance, Task completion and media delivery are separate states.
Default: "PENDING".
taskIdRequiredTask unique identifier
pollUrlOptionalSet 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.
Option 1 — stringOptionSet 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.
Option 2 — nullOptionresourcesOptionalStandardized resources produced by the task
resources[]Each itemA consumable resource produced by the task.
resources[].idRequiredStable resource id (OmnAPI resource id).
resources[].indexRequiredStable zero-based provider result slot. Finalized post-process resources may use a higher reserved slot.
Minimum: 0.
resources[].roleRequiredHow clients should interpret the resource. Prefer final when present; candidate items remain selectable alternatives.
resources[].typeRequiredUppercase resource kind. MUSIC carries a song URL and optional thumbnailUrl; TEXT carries inline content. Optional fields depend on the operation.
resources[].assetIdOptionalStable OmnAPI-owned asset id when available.
resources[].assetStatusOptionalLifecycle of the retained media object. READY permits access; EXPIRED, DELETING and DELETED must not be treated as downloadable.
resources[].byteLengthOptionalResource size in bytes.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionResource size in bytes.
Option 2 — nullOptionresources[].contentOptionalInline text content (e.g. lyrics).
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionInline text content (e.g. lyrics).
Option 2 — nullOptionresources[].contentTypeOptionalResource content type.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionResource content type.
Option 2 — nullOptionresources[].durationOptionalDuration of this output media resource in seconds, or null/absent when unknown or not applicable (for example text output).
May be null.
resources[].durationSecOptionalResource duration in seconds.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionResource duration in seconds.
Option 2 — nullOptionresources[].heightOptionalImage or video height in pixels.
May be null.
resources[].metadataOptionalOpen 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.
Option 1 — objectOptionresources[].metadata[key]Each valueKey pattern: ^(.*)$.
Option 2 — nullOptionresources[].retainedUntilOptionalRetention 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.
Option 1 — stringOptionFormat: date-time.
Option 2 — nullOptionresources[].thumbnailUrlOptionalThumbnail access URL when available. Use it as returned; it is not the full media download.
May be null.
resources[].titleOptionalTitle recorded for this output resource, such as a generated song title; null/absent when no title is available.
May be null.
resources[].urlOptionalPresigned/public URL.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionPresigned/public URL.
Option 2 — nullOptionresources[].urlExpiresAtOptionalISO 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.
Option 1 — stringOptionFormat: date-time.
Option 2 — nullOptionresources[].widthOptionalImage or video width in pixels.
May be null.
application/json
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.
errorRequiredStructured 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.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
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.
errorRequiredStructured 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.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
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.
errorRequiredStructured 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.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
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 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.
errorRequiredStructured 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.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
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.
errorRequiredStructured 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.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
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 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.
errorRequiredStructured 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.
error.codeRequiredRATE_LIMITED for request and task admission rejections.
error.messageRequiredHuman-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details.currentOptionalCurrent count for the rate-limit window identified by policy and scope.
Minimum: 0.
error.details.inFlightOptionalCurrent accepted tasks counted against the relevant account or API-key admission limit.
Minimum: 0.
error.details.limitOptionalMaximum count allowed by this response context. A limit is not a throughput guarantee.
Minimum: 0.
error.details.policyOptionalAllowance bucket: query for resource reads, operation for task-producing or operation requests. See the rate-limit response headers.
error.details.retryAfterSecOptionalSuggested delay in seconds before another request. Honor the Retry-After header when present; use bounded backoff.
Minimum: 1.
error.details.scopeOptionalEntity whose allowance was exceeded, such as the user, API key or IP address.
error.details.tierOptionalAccount allowance tier used for this admission or rate-limit decision.
error.details.typeOptionalAdmission limit that rejected the request: rps (continuously refilled requests-per-second bucket), daily or monthly UTC request budget. Interpret with policy, scope and retryAfterSec.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredWhether this response reports a successful action; false accompanies the structured error object.
Default: false.
application/json
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.
errorRequiredStructured 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.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses
application/json
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.
errorRequiredStructured 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.
error.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalOptional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.
error.details[key]Each valueKey pattern: ^(.*)$.
successRequiredAlways false for error responses