Skip to content

    API documentation

    Inspect Suno storage policy, rate and subscription

    GET/api/v1/suno/storage

    Authentication · x-api-key

    Read availability, the published rate for new subscriptions, existing subscription, billable bytes and unpaid usage. New subscriptions cost 20 credits per decimal GB per 30 days. Existing subscriptions keep their accepted rate, including after cancellation and re-enrollment. Check available before offering paid storage enrollment. All amounts are integer credit units represented as strings.

    Scope: usage:read

    Billing and effects: Free subscription or billing read. Storage accrual is billed separately.

    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

    No request parameters.

    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.

    • Response 200 · audioFreeDaysRequired

      number

      Free initial retention for extendable legacy audio formats, currently 14 days.

    • Response 200 · availableRequired

      boolean

      Whether the legacy Suno storage policy is enabled with a positive rate and the account has not moved to unified coverage version 2.

    • Response 200 · billableBytesRequired

      string

      READY published extendable audio bytes past their free period, counted only for an ACTIVE legacy subscription; otherwise 0. Decimal integer byte string.

    • Response 200 · billingUnitRequired

      string

      Legacy rate unit: credit accounting units per decimal GB per 30 days; 10,000 units equal one credit.

    • Response 200 · cancellationGraceDaysRequired

      number

      Retention grace after cancelling legacy paid storage, currently 7 days; this does not shorten an already later retention deadline.

    • Response 200 · fixedRetentionDaysRequired

      number

      Fixed retention for nonextendable legacy outputs (WAV and lyrics timeline), currently 180 days.

    • Response 200 · publishedRateUnitsPerGbMonthRequired

      string

      Currently published legacy Suno storage rate in integer credit units per decimal GB per 30 days; an existing subscription retains its accepted rate.

    • Response 200 · subscriptionRequired

      null | object

      Legacy coverage-version-1 subscription and metering state; null if absent or migrated to unified coverage.

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

      2 options
      • Response 200 · Option 1 — nullOption

        null
      • Response 200 · Option 2 — requires status, rateUnitsPerGbMonth, meteredThrough, graceUntil, stoppedAtOption

        object
        5 fields
        • Response 200 · subscription.graceUntilRequired

          string | null

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

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

          2 options
          • Response 200 · Option 1 — stringOption

            string

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

            Format: date-time.

          • Response 200 · Option 2 — nullOption

            null
        • Response 200 · subscription.meteredThroughRequired

          string

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

          Format: date-time.

        • Response 200 · subscription.rateUnitsPerGbMonthRequired

          string

          Accepted price in credit accounting units per GB-month (10,000 units = 1 credit). Read the subscription billing unit and period rules.

        • Response 200 · subscription.statusRequired

          string

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

        • Response 200 · subscription.stoppedAtRequired

          string | null

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

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

          2 options
          • Response 200 · Option 1 — stringOption

            string

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

            Format: date-time.

          • Response 200 · Option 2 — nullOption

            null
    • Response 200 · unpaidUnitsRequired

      string

      Sum of UNPAID legacy storage charges as a decimal integer string, in units of 1/10,000 credit.

    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

    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