generationIdpath · RequiredSuno Generation identifier returned by song creation.
Minimum characters: 1./api/v1/suno/generations/{generationId}Authentication · x-api-key
Canonical product view for one Suno generation. It exposes every candidate's submitted/queued/streaming/complete/error lifecycle independently. Use GET /api/v1/tasks/{taskId} for execution and billing diagnostics.
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 rulesgenerationIdpath · RequiredSuno Generation identifier returned by song creation.
Minimum characters: 1.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.
autoFinalizeRequiredWhether this workflow assembles its final output automatically after generation; do not buy a separate finalize while automatic delivery is pending.
billingRequiredOriginal 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.
billing.creditsChargedRequiredCredits charged as reported by this view. Task creditsCharged is final net debit; operation ledger charged is gross, with refunded and net reported separately. Do not subtract a refund twice.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — numberOptionMinimum: 0.
Option 2 — nullOptionbilling.creditsRequiredRequiredCredits required for this operation. A quote is an estimate; an accepted Task records its authorized charge.
Minimum: 0.
billing.pricingRequiredPrice recorded for this operation. Distinguish the accepted charge from final net settlement and any refunds.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — requires baseCredits, chargedCredits, adjustmentCredits, source, quoteVersionOptionOnly the listed fields are accepted in this object.
billing.pricing.adjustmentCreditsRequiredchargedCredits - baseCredits
billing.pricing.baseCreditsRequiredStandard quoted credits before customer pricing adjustment
billing.pricing.chargedCreditsRequiredFrozen task charge. New whole-credit quotes are integers; historical fractional quotes retain up to four decimal places.
Minimum: 0.
billing.pricing.quoteVersionRequiredPricing quote version stored with the task
billing.pricing.sourceRequiredPublic pricing source category
billing.pricing.billingIncrementCreditsOptionalSmallest customer charge increment
Minimum: 0.0001.
billing.pricing.calculatedCreditsOptionalPrecise whole-order subtotal before settlement rounding
billing.pricing.settlementPolicyVersionOptionalVersioned customer settlement policy
billing.pricing.settlementRoundingCreditsOptionalWhole-order rounding adjustment added at settlement
Minimum: 0.
Option 2 — nullOptionbilling.refundedRequiredWhether any credits were refunded. True can mean a partial refund; compare the amounts.
billing.settlementStatusRequiredCredit settlement state. PENDING is not confirmation of a completed refund.
clipsRequiredVisible generation candidates and any auto-finalized clip; internal preview clips are excluded.
clips[]Each itemOnly the listed fields are accepted in this object.
clips[].accessLevelRequiredRead 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.
clips[].audioUrlRequiredCompleted/stable audio URL when available; null can coexist with live playback via playback.url. Use playable and playback for listening readiness.
May be null.
clips[].clipIdRequiredSuno clip identifier (mid); do not substitute an OmnAPI resource identifier.
clips[].createdAtRequiredCreation 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.
Option 1 — stringOptionFormat: date-time.
Option 2 — nullOptionclips[].deliveryStatusRequiredMedia delivery state, independent of Task execution and quality review. Consume media only when delivery is ready.
clips[].durationRequiredClip 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.
Option 1 — numberOptionClip duration in seconds. Missing eventually-consistent metadata is repaired on later reads.
Minimum: 0.
Option 2 — nullOptionclips[].errorCodeRequiredMachine-readable failure code. Use this for recovery decisions instead of parsing the message.
May be null.
clips[].errorMessageRequiredHuman-readable failure explanation. Do not use message wording as a stable programmatic discriminator.
May be null.
clips[].imageUrlRequiredAccess URL for this image when available; null means no image is currently exposed.
May be null.
clips[].indexRequiredClip's resource index within the generation; index 100 denotes an auto-finalized clip in owned generation results.
Minimum: 0.
clips[].instrumentalRequiredWhether instrumental generation was recorded/requested; null when neither metadata nor the originating request establishes it.
May be null.
clips[].majorModelVersionRequiredExact 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.
Option 1 — stringOptionExact Suno major_model_version value reported for this clip, for example v4.5-all.
Option 2 — nullOptionclips[].modelRequiredCompatibility 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.
Option 1 — stringOptionCompatibility model label. Prefer modelCode, providerModelName and majorModelVersion for unambiguous integrations.
Option 2 — nullOptionclips[].modelCodeRequiredCanonical 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.
Option 1 — stringOptionCanonical OmnAPI model code selected for an owned generation. Null when a clip is read directly from Suno without a local task.
Option 2 — nullOptionclips[].playableRequiredWhether this clip currently exposes playable audio. Use playback.url and its delivery state, not audioUrl alone.
clips[].playbackRequiredCurrent 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.
clips[].playback.deliveryRequiredprogressive for completed seekable audio, chunked for live MP3 streaming, none when no audio is ready.
clips[].playback.expiresAtRequiredExpiry 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.
Option 1 — stringOptionFormat: date-time.
Option 2 — nullOptionclips[].playback.mimeTypeRequiredMIME 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.
Option 1 — "audio/mpeg" | "audio/mp4"OptionUse a complete option below; the value must satisfy at least one option.
Option 1 — "audio/mpeg"OptionOption 2 — "audio/mp4"OptionOption 2 — nullOptionclips[].playback.retryAfterMsRequiredSuggested 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.
Option 1 — numberOptionMinimum: 0.
Option 2 — nullOptionclips[].playback.seekableRequiredWhether the currently exposed audio supports seeking. Live audio can be playable without supporting seek.
clips[].playback.sessionCreateUrlRequiredDeprecated 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.
Option 1 — stringOptionDeprecated compatibility field. New integrations should use playback.url directly; no separate playback-session request is needed.
Deprecated; omit in new integrations.
Option 2 — nullOptionclips[].playback.stateRequiredfinal when completed audio is exposed, live during streaming, preparing before audio is ready, or error on clip failure.
clips[].playback.urlRequiredCurrent 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.
Option 1 — stringOptionCurrent 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.
Option 2 — nullOptionclips[].promptRequiredGeneration 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.
Option 1 — stringOptionGeneration prompt for owned clips only. Shared and external clips always return null.
Option 2 — nullOptionclips[].providerModelNameRequiredExact 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.
Option 1 — stringOptionExact Suno model_name value reported for this clip, for example chirp-hawk.
Option 2 — nullOptionclips[].roleRequiredcandidate for generated alternatives; final for the auto-finalized full-song clip. A normal candidate can itself be a completed playable song.
clips[].titleRequiredSong/clip title from stored or provider metadata, or null when unavailable.
May be null.
clips[].updatedAtRequiredMost recent update timestamp in the format shown below.
May be null. Use a complete option below; the value must satisfy at least one option.
Option 1 — stringOptionFormat: date-time.
Option 2 — nullOptionclips[].videoUrlRequiredAccess URL for this video when ready. Null does not itself indicate failure; check delivery and asset status.
May be null.
createdAtRequiredCreation timestamp in the format shown below; JSON date-time values include their timezone.
Format: date-time.
deliveryStatusRequiredMedia 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.
Option 1 — "submitted" | "queued" | "streaming" | "complete" | "error"OptionUse a complete option below; the value must satisfy at least one option.
Option 1 — "submitted"OptionOption 2 — "queued"OptionOption 3 — "streaming"OptionOption 4 — "complete"OptionOption 5 — "error"OptionOption 2 — nullOptionfailureReasonRequiredStructured failure information. Use the code for recovery logic and the message for human explanation.
May be null.
finalClipIdRequiredID 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.
finalUrlRequiredFinal media URL when available; null means no final URL is currently exposed. Follow the resource read for delivery readiness.
May be null.
generationIdRequiredCanonical OmnAPI Suno product ID. It equals the originating taskId.
partialFailureRequiredTrue when the generation completed with at least one successful clip and at least one failed clip.
phaseRequiredaccepted before clips exist, generating while producing clips, finalizing while auto-finalization is pending, completed on Task completion, failed for failure/cancellation.
progressRequiredReported progress from 0 to 100. It is an observation, not an ETA or confirmation that delivery is ready.
Minimum: 0. Maximum: 100.
refundableRequiredWhether the recorded operation is eligible for a refund; this does not confirm that a refund has been settled.
retryableRequiredWhether a retry is permitted for the reported failure. Recover an uncertain accepted request with its original key and body first.
statusRequiredState of the object containing this field. Use its listed values; operation acceptance, Task completion and media delivery are separate states.
Default: "PENDING".
taskIdRequiredOperation Task identifier. Save it before polling; a receipt does not mean the operation has completed.
updatedAtRequiredMost recent update timestamp in the format shown below.
Format: date-time.
versionRequiredCurrent resource revision. Use it as expectedVersion when updating that resource to detect concurrent edits.
Minimum: 0.
warningCodesRequiredNonfatal findings or delivery fallbacks. Inspect each warning; a warning alone does not imply failure or a refund.
warningCodes[]Each itemapplication/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.
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