Quote MV credits
/api/v1/mv/quoteAuthentication · x-api-key
Customer-facing pricing preview for Fast and Studio MV generation and paid follow-up operations. The response includes a short-lived quoteId that can be supplied with the operation; execution reprices and rejects before direct debit if the current price exceeds the quoted/maxCredits ceiling. Create quotes are lightweight and do not validate remote media resources.
Scope: task:create
Billing and effects: Free validation or estimate; no generation purchase, price reservation or capacity reservation.
Recovery: Read the current resource before retrying a mutation; do not assume this operation supports Idempotency-Key.
Follow this operation’s workflow → · All permission rulesOneClick, OneClick Turbo, Studio and Omn-on-API-v1 endpoint. Keep each MV on the endpoint that created it. Compare Music Video models
Studio character locking has no accepted public lock-character quote variant at present. The write exists, but a quote-confirmed purchase is unavailable. Current limitation
Request
JSON request body
Content-Type: application/json · Required body
These groups describe alternative shapes of the same JSON value, not extra wrapper fields. Field names below are actual JSON paths.
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.
Use a complete option below; the value must satisfy at least one option.
-
Request ·
Option 1 — mode = "fast"OptionobjectOnly the listed fields are accepted in this object.
18 fields
-
Request ·
durationSecRequirednumberEffective output duration: Omn V1 accepts at least 10 seconds; Vidu requires at least 10 seconds.
Minimum: 10. Maximum: 600.
-
Request ·
modeRequired"fast"Operation or product mode discriminator for this schema variant.
-
Request ·
engineVersionOptional"vidu-v1" | "omn-v1"Explicit MV generation option: vidu-v1 (OneClick V1) or omn-v1 (Omn native 480p/768p or AI-upscaled 1080p/1440p; OneClick 540p maps to 480p, 720p to 768p). OneClick V2 Turbo (vidu-v2) is retired.
-
Request ·
hasMotionReferenceVideoOptionalbooleanOmn V1 Premium V2 dance only: quote with a motion reference video.
-
Request ·
lipSyncOptionalbooleanWhether the MV should use the supported lip-sync workflow.
-
Request ·
managedVersionOptional"oneclick-v1"Compatibility request profile. Only oneclick-v1 is purchasable; OneClick V2 Turbo (premium-v2) is retired.
-
Request ·
performanceModeOptional"sing" | "sing_perform" | "perform" | "dance"Omn compatibility only (with engineVersion=omn-v1): sing / sing_perform select singing. OneClick V2 Turbo modes are retired.
-
Request ·
qualityOptional"standard" | "high"Requested public quality tier.
-
Request ·
referenceImageCountOptionalstring | integerNumber of reference images included in the requested video generation quote.
Minimum: 0. Maximum: 9. Use a complete option below; the value must satisfy at least one option.
2 options
-
Request ·
Option 1 — stringOptionstringNumeric string accepted by coercion; the converted value must satisfy the numeric constraints (minimum 0, maximum 9). Prefer a JSON number.
Format: integer.
-
Request ·
Option 2 — integerOptionintegerNumber of reference images included in the requested video generation quote.
Minimum: 0. Maximum: 9.
-
-
Request ·
renderTierOptional"draft" | "standard" | "hd" | "ultra"Omn only; resolution determines the purchased tier: draft 480p, standard 768p, hd 1080p, ultra 1440p. 1080p/1440p are AI-upscaled from 768p. quality=high is unavailable; use standard quality. Historical purchased plans retain their original tiers.
-
Request ·
resolutionOptional"480p" | "540p" | "720p" | "768p" | "1080p" | "1440p"Delivery resolution. Default 540p for OneClick. Omn accepts native 480p/768p and AI-upscaled 1080p/1440p (2K); 540p maps to 480p and 720p to 768p. OneClick does not support 480p, 768p or 1440p.
Use a complete option below; the value must satisfy at least one option.
6 options
-
Request ·
Option 1 — "480p"Option"480p"Delivery resolution; defaults to 720p, mapped to 768p for Omn. Omn supports native 480p/768p and AI-upscaled 1080p/1440p (2K); 540p maps to 480p. Subject to capability and preflight checks.
-
Request ·
Option 2 — "540p"Option"540p"Delivery resolution; defaults to 720p, mapped to 768p for Omn. Omn supports native 480p/768p and AI-upscaled 1080p/1440p (2K); 540p maps to 480p. Subject to capability and preflight checks.
-
Request ·
Option 3 — "720p"Option"720p"Delivery resolution; defaults to 720p, mapped to 768p for Omn. Omn supports native 480p/768p and AI-upscaled 1080p/1440p (2K); 540p maps to 480p. Subject to capability and preflight checks.
-
Request ·
Option 4 — "768p"Option"768p"Delivery resolution; defaults to 720p, mapped to 768p for Omn. Omn supports native 480p/768p and AI-upscaled 1080p/1440p (2K); 540p maps to 480p. Subject to capability and preflight checks.
-
Request ·
Option 5 — "1080p"Option"1080p"Delivery resolution; defaults to 720p, mapped to 768p for Omn. Omn supports native 480p/768p and AI-upscaled 1080p/1440p (2K); 540p maps to 480p. Subject to capability and preflight checks.
-
Request ·
Option 6 — "1440p"Option"1440p"Delivery resolution; defaults to 720p, mapped to 768p for Omn. Omn supports native 480p/768p and AI-upscaled 1080p/1440p (2K); 540p maps to 480p. Subject to capability and preflight checks.
-
-
Request ·
scheduleOptional"standard" | "economy"Omn V1 only. economy renders shots only in the off-peak window at the same video price as standard scheduling, with a longer delivery window: shots start between 00:00 and 07:40 Beijing time (no new shot in the window's last 20 minutes, so none runs into peak pricing). MVView.generation.scheduleWindow reports the window the waiting shots are bought in; its offPeakEndsAt is the 08:00 window end.
-
Request ·
stepOptional"create"Quoted operation step discriminator.
-
Request ·
subtitleModeOptional"vidu" | "custom"Fast MV subtitle rendering mode.
-
Request ·
visualBoardImageCountOptionalnumberNumber of generated Visual Board images to price.
Minimum: 1. Maximum: 50.
-
Request ·
visualBoardImageProviderOptional"gpt-image-2" | "p-image" | "viduq2"Public Visual Board image option code.
-
Request ·
visualBoardReferenceImageCountOptionalnumberNumber of billed Visual Board reference images.
Minimum: 0. Maximum: 16.
-
Request ·
visualBoardStrategyOptional"direct_scene_images"Public Visual Board pricing strategy.
-
-
Request ·
Option 2 — mode = "fast"; step = "scene-edit"OptionobjectOnly the listed fields are accepted in this object.
4 fields
-
Request ·
modeRequired"fast"Operation or product mode discriminator for this schema variant.
-
Request ·
mvIdRequiredstringMV identifier targeted by this operation.
Minimum characters: 1.
-
Request ·
sceneIndexRequirednumberZero-based scene index.
Minimum: 0.
-
Request ·
stepRequired"scene-edit"Quoted operation step discriminator.
-
-
Request ·
Option 3 — mode = "fast"; step = "compose"OptionobjectOnly the listed fields are accepted in this object.
-
Request ·
Option 4 — mode = "studio"; step = "storyboard"OptionobjectOnly the listed fields are accepted in this object.
6 fields
-
Request ·
modeRequired"studio"Operation or product mode discriminator for this schema variant.
-
Request ·
stepRequired"storyboard"Quoted operation step discriminator.
-
Request ·
visualBoardImageCountOptionalnumberNumber of generated Visual Board images to price.
Minimum: 1. Maximum: 50.
-
Request ·
visualBoardImageProviderOptional"gpt-image-2" | "p-image" | "viduq2"Public Visual Board image option code.
-
Request ·
visualBoardReferenceImageCountOptionalnumberNumber of billed Visual Board reference images.
Minimum: 0. Maximum: 16.
-
Request ·
visualBoardStrategyOptional"direct_scene_images"Public Visual Board pricing strategy.
-
-
Request ·
Option 5 — mode = "studio"; step = "render-scene"OptionobjectOnly the listed fields are accepted in this object.
8 fields
-
Request ·
durationSecRequirednumberRequested or known media duration in seconds.
Minimum: 1. Maximum: 16.
-
Request ·
modeRequired"studio"Operation or product mode discriminator for this schema variant.
-
Request ·
resolutionRequired"540p" | "720p" | "1080p"Requested output resolution.
-
Request ·
stepRequired"render-scene"Quoted operation step discriminator.
-
Request ·
videoProviderRequired"p-video" | "hailuo" | "minimax-h3" | "vidu"Public scene-video option code.
-
Request ·
draftOptionalbooleanWhether to use the supported draft rendering policy.
-
Request ·
fpsOptional24 | 48Requested numeric output frame rate.
-
Request ·
videoModelOptionalstringPublic scene-video model code.
Maximum characters: 100.
-
-
Request ·
Option 6 — mode = "studio"; step = "render-batch"OptionobjectOnly the listed fields are accepted in this object.
9 fields
-
Request ·
modeRequired"studio"Operation or product mode discriminator for this schema variant.
-
Request ·
mvIdRequiredstringMV identifier targeted by this operation.
Minimum characters: 1.
-
Request ·
resolutionRequired"540p" | "720p" | "1080p"Requested output resolution.
-
Request ·
sceneIndexesRequiredarray<number>Unique zero-based scene indexes included in the operation.
Minimum items: 1. Maximum items: 30. Items must be unique.
1 field
-
Request ·
sceneIndexes[]Each itemnumberMinimum: 0.
-
-
Request ·
stepRequired"render-batch"Quoted operation step discriminator.
-
Request ·
videoProviderRequired"p-video" | "hailuo" | "minimax-h3" | "vidu"Public scene-video option code.
-
Request ·
draftOptionalbooleanWhether to use the supported draft rendering policy.
-
Request ·
fpsOptional24 | 48Requested numeric output frame rate.
-
Request ·
videoModelOptionalstringPublic scene-video model code.
Maximum characters: 100.
-
-
Request ·
Option 7 — mode = "studio"; step = "regenerate-image"OptionobjectOnly the listed fields are accepted in this object.
4 fields
-
Request ·
modeRequired"studio"Operation or product mode discriminator for this schema variant.
-
Request ·
mvIdRequiredstringMV identifier targeted by this operation.
Minimum characters: 1.
-
Request ·
sceneIndexRequirednumberZero-based scene index.
Minimum: 0.
-
Request ·
stepRequired"regenerate-image"Quoted operation step discriminator.
-
-
Request ·
Option 8 — mode = "studio"; step = "finalize"OptionobjectOnly the listed fields are accepted in this object.
-
Request ·
Option 9 — mode = "studio"; step = "total"OptionobjectOnly the listed fields are accepted in this object.
11 fields
-
Request ·
estimatedSceneCountRequirednumberEstimated number of Studio scenes for total pricing.
Minimum: 1. Maximum: 30.
-
Request ·
modeRequired"studio"Operation or product mode discriminator for this schema variant.
-
Request ·
perSceneDurationSecRequirednumberEstimated duration of each Studio scene in seconds.
Minimum: 1. Maximum: 16.
-
Request ·
resolutionRequired"540p" | "720p" | "1080p"Requested output resolution.
-
Request ·
stepRequired"total"Quoted operation step discriminator.
-
Request ·
videoProviderRequired"p-video" | "hailuo" | "minimax-h3" | "vidu"Public scene-video option code.
-
Request ·
draftOptionalbooleanWhether to use the supported draft rendering policy.
-
Request ·
videoModelOptionalstringPublic scene-video model code.
Maximum characters: 100.
-
Request ·
visualBoardImageCountOptionalnumberNumber of generated Visual Board images to price.
Minimum: 1. Maximum: 50.
-
Request ·
visualBoardImageProviderOptional"gpt-image-2" | "p-image" | "viduq2"Public Visual Board image option code.
-
Request ·
visualBoardStrategyOptional"direct_scene_images"Public Visual Board pricing strategy.
-
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 ·
breakdownRequiredobjectLegacy operation-dependent price summary; mixes credit amounts, durations and counts. Use components and credits for monetary reconciliation.
Only the listed fields are accepted in this object.
9 fields
-
Response 200 ·
breakdown.baseOptionalnumberBase portion of the quoted price in credits; which components are included depends on the requested operation.
-
Response 200 ·
breakdown.composeOperationsOptionalnumberNumber of composition operations included in the quote, not credits.
-
Response 200 ·
breakdown.durationOptionalnumberBillable or quoted source duration in seconds; this is not a credit amount.
-
Response 200 ·
breakdown.estimatedSceneCountOptionalnumberEstimated number of scene renders included in this quote; actual planning may produce a different count.
-
Response 200 ·
breakdown.finalizeOptionalnumberCredits allocated to final composition in this quote.
-
Response 200 ·
breakdown.lipSyncOptionalnumberCredits allocated to the lip-sync component; zero when no separately priced lip-sync component applies.
-
Response 200 ·
breakdown.renderPerSceneOptionalnumberRounded-up average quoted scene-render credits per scene; not an independently accepted per-scene purchase price.
-
Response 200 ·
breakdown.scenesOptionalnumberLegacy mixed-unit field: scene-render credits in a complete Studio workflow estimate, but scene count in render/batch/recompose quotes. Use estimatedSceneCount for estimated count and components for money.
-
Response 200 ·
breakdown.visualBoardOptionalnumberCredits allocated to visual-board/image preparation components.
-
-
Response 200 ·
creditsRequirednumberCredit amount for the containing quote, package or pricing component. For a purchase, use the accepted quote total and your own maximum credit authorization.
Minimum: 0.
-
Response 200 ·
assumptionsOptionalarray<string>Conditions used for this estimate. Revalidate when inputs or these assumptions change.
1 field
-
Response 200 ·
assumptions[]Each itemstring
-
-
Response 200 ·
baseCreditsOptionalnumberBase credit amount before the adjustments shown by this pricing view.
-
Response 200 ·
billingIncrementCreditsOptionalnumberCredit increment used to round the accepted price.
Minimum: 0.0001.
-
Response 200 ·
calculatedSubtotalCreditsOptionalnumberCalculated credit subtotal before final billing increment rounding.
-
Response 200 ·
componentsOptionalarray<object>Priced components used to calculate this operation's total, with public, discounted and final credit amounts.
1 field
-
Response 200 ·
components[]Each itemobjectOnly the listed fields are accepted in this object.
7 fields
-
Response 200 ·
components[].discountCreditsRequirednumberCredit amount removed as a discount, not the final charge.
-
Response 200 ·
components[].discountedCreditsRequirednumberCredit amount after the discount for this pricing component.
-
Response 200 ·
components[].finalCreditsRequirednumberFinal quoted credits for this pricing component after its adjustments.
-
Response 200 ·
components[].keyRequiredstringPricing component identity, used to distinguish video, preparation, composition and other billed work.
-
Response 200 ·
components[].labelRequiredstringHuman-readable name of this priced work component.
-
Response 200 ·
components[].publicCreditsRequirednumberPublished credit price for this component before account-specific adjustments.
-
Response 200 ·
components[].quantityOptionalnumberQuantity recorded by the component's pricing rule; interpret with its billing unit and duration metadata, not as a universal scene count.
-
-
-
Response 200 ·
discountCreditsOptionalnumberCredit amount removed as a discount, not the final charge.
-
Response 200 ·
expiresAtOptionalstringExpiry of this particular resource or receipt, in the format shown below. Do not reuse an expired purchase receipt.
-
Response 200 ·
operationOptionalstringMV operation being quoted, such as creation, scene editing or composition; omission is allowed for older quote branches.
-
Response 200 ·
pricingVersionOptionalnumberVersion of the pricing rules used to calculate this quote.
-
Response 200 ·
quoteIdOptionalstringQuote receipt for this operation. A quote does not purchase work or reserve capacity.
-
Response 200 ·
settlementPolicyVersionOptionalstringIdentifier of the settlement rules used for this quote; retain it with the purchase receipt.
-
Response 200 ·
settlementRoundingCreditsOptionalnumberCredit rounding increment used by the reported settlement policy.
-
Response 200 ·
warningCodesOptionalarray<string>Nonfatal findings or delivery fallbacks. Inspect each warning; a warning alone does not imply failure or a refund.
1 field
-
Response 200 ·
warningCodes[]Each itemstringMV advisory warning codes. MV_CREATIVE_PLANNING_FROM_UNVERIFIED_TRANSCRIPT means recognized text was used for creative planning; MV_CREATIVE_PLANNING_WITHOUT_LYRICS means no usable lyric semantics were used. These two codes are mutually exclusive in the final plan. Customer lyrics with machine-estimated timing use MV_AUDIO_SUBTITLE_TIMING_UNVERIFIED instead. Non-fatal: the request still succeeds; these flag degraded, adjusted, or automatically recovered inputs and are projected into public Task warningCodes. Omn review codes (MV_NATIVE_CREATIVE_*, MV_NATIVE_SHOT_INTERNAL_CUT, MV_NATIVE_FRAME_BORDERS) describe the delivered video; their observations and affected scenes are in
qualityof GET /api/v1/tasks/{taskId}/workflow. MV_VOCAL_GENDER_MISMATCH means the requested singer gender differs from the song's lead vocal according to its style tags (or a title that is a style description); it is also returned by preflight. The requested cast is kept, but on Omn V1 that singer is not lip-synced (lipSync is withheld, same charge) and is not shown mouthing the vocal. MV_CREATIVE_BRIEF_SONG_WORLD_CONFLICT means an explicit setting in the request clashes with the period or culture the song's own lyrics, title or style tags imply; the explicit request elements are kept and the rest of the world is reconciled with the song. MV_NATIVE_PREPARATION_DEGRADED means Omn planning or preparation checks could not all be satisfied automatically, so the MV was produced with the best available material (for example a reference image that failed review used only for style, an automatically repaired plan, shortened optional prompt text or a mixed-audio lip-sync fallback); the result is flagged for human review. MV_CHARACTER_REFERENCE_DEGRADED means the supplied character image could not be used as an identity lock (face not recognizable, back view, mask, stylized, or a different number of people); it was used as a style reference and the platform created the character identity. MV_NATIVE_SHOT_FILLED (Omn) means one or more shots could not be generated and their windows were patched with a slow push-in on a still of the planned frame (at most 30% of the MV's duration); the credits for those seconds are refunded at settlement (refund.refundReason shots_filled) and quality asks for human review. MV_OMN_RESOLUTION_MAPPED (Omn) means a OneClick resolution was delivered on the nearest native Omn canvas without upscaling: 540p as 480p, 720p as 768p; the charge uses the delivered canvas.
-
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 ·
errorRequiredobjectStructured 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.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 400 ·
error.messageRequiredstringHuman readable error message
-
Response 400 ·
error.detailsOptionalobjectOptional 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 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 400 ·
successRequiredfalseAlways 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 ·
errorRequiredobjectStructured 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.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 401 ·
error.messageRequiredstringHuman readable error message
-
Response 401 ·
error.detailsOptionalobjectOptional 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 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 401 ·
successRequiredfalseAlways 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 ·
errorRequiredobjectStructured 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.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 402 ·
error.messageRequiredstringHuman readable error message
-
Response 402 ·
error.detailsOptionalobjectOptional 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 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 402 ·
successRequiredfalseAlways 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 ·
errorRequiredobjectStructured 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.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 403 ·
error.messageRequiredstringHuman readable error message
-
Response 403 ·
error.detailsOptionalobjectOptional 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 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 403 ·
successRequiredfalseAlways 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 ·
errorRequiredobjectStructured 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.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 422 ·
error.messageRequiredstringHuman readable error message
-
Response 422 ·
error.detailsOptionalobjectOptional 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 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 422 ·
successRequiredfalseAlways 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 ·
errorRequiredobjectStructured 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.codeRequiredstringRATE_LIMITED for request and task admission rejections.
-
Response 429 ·
error.messageRequiredstringHuman-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.
-
Response 429 ·
error.detailsOptionalobjectOptional 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.currentOptionalintegerCurrent count for the rate-limit window identified by policy and scope.
Minimum: 0.
-
Response 429 ·
error.details.inFlightOptionalintegerCurrent accepted tasks counted against the relevant account or API-key admission limit.
Minimum: 0.
-
Response 429 ·
error.details.limitOptionalintegerMaximum 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.retryAfterSecOptionalintegerSuggested 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 valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 429 ·
successRequiredfalseWhether 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 ·
errorRequiredobjectStructured 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.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 500 ·
error.messageRequiredstringHuman readable error message
-
Response 500 ·
error.detailsOptionalobjectOptional 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 ·
error.details[key]Each valueany JSON valueKey pattern: ^(.*)$.
-
-
-
Response 500 ·
successRequiredfalseAlways false for error responses