Preflight Omn creation
/api/v2/mv/preflightAuthentication · x-api-key
Omn V1 independent product API. Independent Omn request, planning and delivery semantics.
Request
Unknown fields are not accepted.
-
Request ·
sourceRequiredobjectPublic audio URL or an accessible Suno clip. The server verifies duration.
Must match at least one alternative.
2 fields / alternatives
-
Request ·
source · anyOf 1AlternativeobjectPublic audio URL or an accessible Suno clip. The server verifies duration.
Unknown fields are not accepted.
4 fields
-
Request ·
source · anyOf 1.typeRequired"audio_url"audio_url requires url; suno_clip requires clipId.
-
Request ·
source · anyOf 1.urlRequiredstringPublic HTTP(S) audio URL.
Format: uri.
-
Request ·
source · anyOf 1.lyricsOptionalstringOptional original lyrics to guide song understanding and transcription.
Maximum characters: 5000.
-
Request ·
source · anyOf 1.rangeOptionalobjectAudio selection measured in seconds; effective output must be 10–600 seconds.
Unknown fields are not accepted.
2 fields
-
Request ·
source · anyOf 1.range.endSecRequirednumberSelection end in the original audio, later than startSec.
Exclusive lower bound: 0.
-
Request ·
source · anyOf 1.range.startSecRequirednumberInclusive selection start in the original audio.
Minimum: 0.
-
-
-
Request ·
source · anyOf 2AlternativeobjectPublic audio URL or an accessible Suno clip. The server verifies duration.
Unknown fields are not accepted.
4 fields
-
Request ·
source · anyOf 2.clipIdRequiredstringAccessible Suno clip identifier.
Minimum characters: 1.
-
Request ·
source · anyOf 2.typeRequired"suno_clip"audio_url requires url; suno_clip requires clipId.
-
Request ·
source · anyOf 2.lyricsOptionalstringOptional original lyrics to guide song understanding and transcription.
Maximum characters: 5000.
-
Request ·
source · anyOf 2.rangeOptionalobjectAudio selection measured in seconds; effective output must be 10–600 seconds.
Unknown fields are not accepted.
2 fields
-
Request ·
source · anyOf 2.range.endSecRequirednumberSelection end in the original audio, later than startSec.
Exclusive lower bound: 0.
-
Request ·
source · anyOf 2.range.startSecRequirednumberInclusive selection start in the original audio.
Minimum: 0.
-
-
-
-
Request ·
captionsOptionalobjectSubtitle policy; captions do not control whether lyrics are analyzed for planning.
Unknown fields are not accepted.
4 fields
-
Request ·
captions.modeRequired"off" | "auto" | "provided"off, auto or provided. provided requires srtUrl; other modes reject it.
Default: "off".
-
Request ·
captions.languageOptional"auto" | "en" | "zh"Expected subtitle language (auto, en or zh).
Default: "auto".
-
Request ·
captions.requiredOptionalbooleanWhen true, do not silently deliver without requested captions. Invalid with mode off.
-
Request ·
captions.srtUrlOptionalstringPublic SRT URL with cue times relative to the selected audio segment.
Format: uri.
-
-
Request ·
configOptionalobjectStandard task configuration: priority, tags, metadata, and webhookUrl.
4 fields
-
Request ·
config.metadataOptionalobjectFree-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.
-
Request ·
config.priorityOptionalnumberTask priority 1-10 (higher = sooner). Default 5.
Minimum: 1. Maximum: 10. Default: 5.
-
Request ·
config.webhookUrlOptionalstringURL to receive task.* lifecycle events via the central webhook service.
Format: uri.
-
-
Request ·
creativeOptionalobjectCreative intent, independent of output resolution.
Unknown fields are not accepted.
5 fields
-
Request ·
creative.modeRequired"auto" | "story" | "mood" | "perform" | "sing" | "dance" | "sing_dance" | "sing_play"auto, story, mood, perform, sing, dance, sing_dance or sing_play. All use the same request envelope.
Default: "auto".
-
Request ·
creative.briefOptionalstringDescribe the desired story, subjects, action and mood. Required for a brief-led story.
Maximum characters: 3000.
-
Request ·
creative.charactersOptionalobjectWhether characters may appear and the desired count.
Unknown fields are not accepted.
2 fields
-
Request ·
creative.characters.policyRequired"auto" | "required" | "forbidden"auto lets the director decide; required mandates characters; forbidden excludes them and conflicts with performance modes or character references.
Default: "auto".
-
Request ·
creative.characters.countOptionalstring | integerDesired number of main characters (1 or 2); cannot be combined with forbidden.
Minimum: 1. Maximum: 2. Must match at least one alternative.
2 fields / alternatives
-
Request ·
creative.characters.count · anyOf 1AlternativestringDesired number of main characters (1 or 2); cannot be combined with forbidden.
Format: integer. Default: 0.
-
Request ·
creative.characters.count · anyOf 2AlternativeintegerDesired number of main characters (1 or 2); cannot be combined with forbidden.
Minimum: 1. Maximum: 2.
-
-
-
Request ·
creative.optionsOptionalobjectMode-specific choices; irrelevant options are rejected.
Unknown fields are not accepted.
3 fields
-
Request ·
creative.options.combinationOptional"alternating" | "simultaneous"Required for sing_dance or sing_play. alternating uses separate shots. simultaneous requests same-shot actions and currently returns 422 before debit.
Default: "alternating".
-
Request ·
creative.options.instrumentOptionalstringInstrument to feature in perform or sing_play.
Minimum characters: 1. Maximum characters: 100.
-
Request ·
creative.options.storySourceOptional"lyrics" | "brief"Required for story: lyrics uses song evidence; brief uses creative.brief.
Default: "lyrics".
-
-
Request ·
creative.styleOptionalstringVisual treatment passed to director planning and shot generation.
Maximum characters: 1000.
-
-
Request ·
maxCreditsOptionalnumberMaximum authorized customer charge. A lower cap rejects the purchase without reducing the requested output.
Minimum: 1.
-
Request ·
outputOptionalobjectDelivery format. No render tier or provider selector is accepted.
Unknown fields are not accepted.
2 fields
-
Request ·
output.aspectRatioOptional"16:9" | "9:16" | "1:1" | "4:3" | "3:4"Delivery aspect ratio; defaults to 16:9. Motion references require 16:9 or 9:16.
-
Request ·
output.resolutionOptional"540p" | "720p" | "1080p" | "1440p"540p, 720p, 1080p or 1440p for every mode. Defaults to 720p. Motion output may be resized from its source resolution.
-
-
Request ·
preflightIdOptionalstringUnexpired preflight identifier bound to this user, API key and exact creative request.
Minimum characters: 1. Maximum characters: 100.
-
Request ·
quoteIdOptionalstringShort-lived quote identifier for the matching paid operation.
Minimum characters: 1. Maximum characters: 100.
-
Request ·
referencesOptionalobjectOptional media references. Secondary characters, style and location images together may not exceed six.
Unknown fields are not accepted.
4 fields
-
Request ·
references.charactersOptionalarray<object>Up to two ordered identity references; omit to let Omn create characters.
Maximum items: 2.
1 field
-
Request ·
references.characters[]Each itemobjectUp to two ordered identity references; omit to let Omn create characters.
Unknown fields are not accepted.
3 fields
-
Request ·
references.characters[].idRequiredstringUnique character identifier used to bind a motion reference.
Minimum characters: 1. Maximum characters: 64.
-
Request ·
references.characters[].imageUrlRequiredstringPublic HTTP(S) portrait URL.
Format: uri.
-
Request ·
references.characters[].descriptionOptionalstringRole and appearance guidance for this character.
Maximum characters: 500.
-
-
-
Request ·
references.locationsOptionalarray<string>Up to three scene or location image URLs.
Maximum items: 3.
1 field
-
Request ·
references.locations[]Each itemstringUp to three scene or location image URLs.
Format: uri.
-
-
Request ·
references.motionOptionalobjectOptional motion reference for dance only; runtime support is checked before debit.
Unknown fields are not accepted.
3 fields
-
Request ·
references.motion.rightsConfirmedRequiredtrueMust be true to confirm you have permission to use the motion reference.
-
Request ·
references.motion.videoUrlRequiredstringPublic HTTP(S) motion reference video URL.
Format: uri.
-
Request ·
references.motion.characterIdOptionalstringIdentifier of a supplied character that performs the referenced movement; defaults to the first character.
-
-
Request ·
references.stylesOptionalarray<string>Up to three visual style image URLs.
Maximum items: 3.
1 field
-
Request ·
references.styles[]Each itemstringUp to three visual style image URLs.
Format: uri.
-
-
-
Request ·
titleOptionalstringOptional customer-facing title.
Maximum characters: 200.
Responses
200 OK
application/json
Unknown fields are not accepted.
-
Response 200 ·
checksRequiredobjectUnknown fields are not accepted.
5 fields
-
Response 200 ·
checks.referenceImagesRequiredarray<object>1 field
-
Response 200 ·
checks.referenceImages[]Each itemobjectUnknown fields are not accepted.
8 fields
-
Response 200 ·
checks.referenceImages[].kindRequiredstring -
Response 200 ·
checks.referenceImages[].statusRequired"ok" -
Response 200 ·
checks.referenceImages[].clipIdOptionalstring -
Response 200 ·
checks.referenceImages[].durationSecOptionalnumber -
Response 200 ·
checks.referenceImages[].processingModeOptionalstring -
Response 200 ·
checks.referenceImages[].rangeOptionalobjectUnknown fields are not accepted.
2 fields
-
Response 200 ·
checks.referenceImages[].range.endSecOptionalnumberMinimum: 0.
1 field
-
Response 200 ·
checks.referenceImages[].range.endSecSee schemanumberExpand this value in the interactive reference.
Minimum: 0.
-
-
Response 200 ·
checks.referenceImages[].range.startSecOptionalnumberMinimum: 0.
1 field
-
Response 200 ·
checks.referenceImages[].range.startSecSee schemanumberExpand this value in the interactive reference.
Minimum: 0.
-
-
-
Response 200 ·
checks.referenceImages[].sourceDurationSecOptionalnumber -
Response 200 ·
checks.referenceImages[].urlOptionalstring
-
-
-
Response 200 ·
checks.sourceRequiredobjectUnknown fields are not accepted.
8 fields
-
Response 200 ·
checks.source.kindRequiredstring -
Response 200 ·
checks.source.statusRequired"ok" -
Response 200 ·
checks.source.clipIdOptionalstring -
Response 200 ·
checks.source.durationSecOptionalnumber -
Response 200 ·
checks.source.processingModeOptionalstring -
Response 200 ·
checks.source.rangeOptionalobjectUnknown fields are not accepted.
2 fields
-
Response 200 ·
checks.source.range.endSecOptionalnumberMinimum: 0.
-
Response 200 ·
checks.source.range.startSecOptionalnumberMinimum: 0.
-
-
Response 200 ·
checks.source.sourceDurationSecOptionalnumber -
Response 200 ·
checks.source.urlOptionalstring
-
-
Response 200 ·
checks.characterImageOptionalobjectUnknown fields are not accepted.
8 fields
-
Response 200 ·
checks.characterImage.kindRequiredstring -
Response 200 ·
checks.characterImage.statusRequired"ok" -
Response 200 ·
checks.characterImage.clipIdOptionalstring -
Response 200 ·
checks.characterImage.durationSecOptionalnumber -
Response 200 ·
checks.characterImage.processingModeOptionalstring -
Response 200 ·
checks.characterImage.rangeOptionalobjectUnknown fields are not accepted.
2 fields
-
Response 200 ·
checks.characterImage.range.endSecOptionalnumberMinimum: 0.
-
Response 200 ·
checks.characterImage.range.startSecOptionalnumberMinimum: 0.
-
-
Response 200 ·
checks.characterImage.sourceDurationSecOptionalnumber -
Response 200 ·
checks.characterImage.urlOptionalstring
-
-
Response 200 ·
checks.srtUrlOptionalobjectUnknown fields are not accepted.
8 fields
-
Response 200 ·
checks.srtUrl.kindRequiredstring -
Response 200 ·
checks.srtUrl.statusRequired"ok" -
Response 200 ·
checks.srtUrl.clipIdOptionalstring -
Response 200 ·
checks.srtUrl.durationSecOptionalnumber -
Response 200 ·
checks.srtUrl.processingModeOptionalstring -
Response 200 ·
checks.srtUrl.rangeOptionalobjectUnknown fields are not accepted.
2 fields
-
Response 200 ·
checks.srtUrl.range.endSecOptionalnumberMinimum: 0.
-
Response 200 ·
checks.srtUrl.range.startSecOptionalnumberMinimum: 0.
-
-
Response 200 ·
checks.srtUrl.sourceDurationSecOptionalnumber -
Response 200 ·
checks.srtUrl.urlOptionalstring
-
-
Response 200 ·
checks.visualBoardOptionalobjectUnknown fields are not accepted.
8 fields
-
Response 200 ·
checks.visualBoard.kindRequiredstring -
Response 200 ·
checks.visualBoard.statusRequired"ok" -
Response 200 ·
checks.visualBoard.clipIdOptionalstring -
Response 200 ·
checks.visualBoard.durationSecOptionalnumber -
Response 200 ·
checks.visualBoard.processingModeOptionalstring -
Response 200 ·
checks.visualBoard.rangeOptionalobjectUnknown fields are not accepted.
2 fields
-
Response 200 ·
checks.visualBoard.range.endSecOptionalnumberMinimum: 0.
-
Response 200 ·
checks.visualBoard.range.startSecOptionalnumberMinimum: 0.
-
-
Response 200 ·
checks.visualBoard.sourceDurationSecOptionalnumber -
Response 200 ·
checks.visualBoard.urlOptionalstring
-
-
-
Response 200 ·
contractVersionRequired"v2" -
Response 200 ·
creditsRequiredRequirednumberMinimum: 0.
-
Response 200 ·
expiresAtRequiredstring -
Response 200 ·
preflightIdRequiredstring -
Response 200 ·
quoteRequiredobjectUnknown fields are not accepted.
15 fields
-
Response 200 ·
quote.breakdownRequiredobjectUnknown fields are not accepted.
8 fields
-
Response 200 ·
quote.breakdown.baseOptionalnumber -
Response 200 ·
quote.breakdown.composeOperationsOptionalnumber -
Response 200 ·
quote.breakdown.durationOptionalnumber -
Response 200 ·
quote.breakdown.estimatedSceneCountOptionalnumber -
Response 200 ·
quote.breakdown.finalizeOptionalnumber -
Response 200 ·
quote.breakdown.renderPerSceneOptionalnumber -
Response 200 ·
quote.breakdown.scenesOptionalnumber -
Response 200 ·
quote.breakdown.visualBoardOptionalnumber
-
-
Response 200 ·
quote.creditsRequirednumberMinimum: 0.
-
Response 200 ·
quote.assumptionsOptionalarray<string>1 field
-
Response 200 ·
quote.assumptions[]Each itemstring
-
-
Response 200 ·
quote.baseCreditsOptionalnumber -
Response 200 ·
quote.billingIncrementCreditsOptionalnumberMinimum: 0.0001.
-
Response 200 ·
quote.calculatedSubtotalCreditsOptionalnumber -
Response 200 ·
quote.componentsOptionalarray<object>1 field
-
Response 200 ·
quote.components[]Each itemobjectUnknown fields are not accepted.
7 fields
-
Response 200 ·
quote.components[].discountCreditsRequirednumber -
Response 200 ·
quote.components[].discountedCreditsRequirednumber -
Response 200 ·
quote.components[].finalCreditsRequirednumber -
Response 200 ·
quote.components[].keyRequiredstring -
Response 200 ·
quote.components[].labelRequiredstring -
Response 200 ·
quote.components[].publicCreditsRequirednumber -
Response 200 ·
quote.components[].quantityOptionalnumber
-
-
-
Response 200 ·
quote.discountCreditsOptionalnumber -
Response 200 ·
quote.expiresAtOptionalstring -
Response 200 ·
quote.operationOptionalstring -
Response 200 ·
quote.pricingVersionOptionalnumber -
Response 200 ·
quote.quoteIdOptionalstring -
Response 200 ·
quote.settlementPolicyVersionOptionalstring -
Response 200 ·
quote.settlementRoundingCreditsOptionalnumber -
Response 200 ·
quote.warningCodesOptionalarray<string>1 field
-
Response 200 ·
quote.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 `quality` of GET /api/v1/tasks/{taskId}/workflow.
-
-
-
Response 200 ·
quoteTypeRequired"validated_estimate" -
Response 200 ·
warningCodesRequiredarray<string>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 `quality` of GET /api/v1/tasks/{taskId}/workflow.
-
-
Response 200 ·
creativeOptionalobjectMust match at least one alternative.
5 fields / alternatives
-
Response 200 ·
creative · anyOf 1AlternativeobjectUnknown fields are not accepted.
2 fields
-
Response 200 ·
creative · anyOf 1.presetRequired"auto" -
Response 200 ·
creative · anyOf 1.singingOptional"allowed" | "forbidden"Default: "allowed".
-
-
Response 200 ·
creative · anyOf 2AlternativeobjectUnknown fields are not accepted.
2 fields
-
Response 200 ·
creative · anyOf 2.presetRequired"mood" -
Response 200 ·
creative · anyOf 2.singingOptional"allowed" | "forbidden"Default: "allowed".
-
-
Response 200 ·
creative · anyOf 3AlternativeobjectUnknown fields are not accepted.
3 fields
-
Response 200 ·
creative · anyOf 3.presetRequired"story" -
Response 200 ·
creative · anyOf 3.storySourceRequired"lyrics" | "prompt"Default: "lyrics".
-
Response 200 ·
creative · anyOf 3.singingOptional"allowed" | "forbidden"Default: "allowed".
-
-
Response 200 ·
creative · anyOf 4AlternativeobjectUnknown fields are not accepted.
1 field
-
Response 200 ·
creative · anyOf 4.presetRequired"sing" | "sing_perform" | "perform" | "dance" | "sing_dance" | "sing_play"Default: "sing".
-
-
Response 200 ·
creative · anyOf 5AlternativeobjectCreative intent, independent of output resolution.
Unknown fields are not accepted.
5 fields
-
Response 200 ·
creative · anyOf 5.modeRequired"auto" | "story" | "mood" | "perform" | "sing" | "dance" | "sing_dance" | "sing_play"auto, story, mood, perform, sing, dance, sing_dance or sing_play. All use the same request envelope.
Default: "auto".
-
Response 200 ·
creative · anyOf 5.briefOptionalstringDescribe the desired story, subjects, action and mood. Required for a brief-led story.
Maximum characters: 3000.
-
Response 200 ·
creative · anyOf 5.charactersOptionalobjectWhether characters may appear and the desired count.
Unknown fields are not accepted.
2 fields
-
Response 200 ·
creative · anyOf 5.characters.policyRequired"auto" | "required" | "forbidden"auto lets the director decide; required mandates characters; forbidden excludes them and conflicts with performance modes or character references.
Default: "auto".
-
Response 200 ·
creative · anyOf 5.characters.countOptionalstring | integerDesired number of main characters (1 or 2); cannot be combined with forbidden.
Minimum: 1. Maximum: 2. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
creative · anyOf 5.characters.count · anyOf 1AlternativestringDesired number of main characters (1 or 2); cannot be combined with forbidden.
Format: integer. Default: 0.
1 field
-
Response 200 ·
creative · anyOf 5.characters.count · anyOf 1See schemastringExpand this value in the interactive reference.
Format: integer. Default: 0.
-
-
Response 200 ·
creative · anyOf 5.characters.count · anyOf 2AlternativeintegerDesired number of main characters (1 or 2); cannot be combined with forbidden.
Minimum: 1. Maximum: 2.
1 field
-
Response 200 ·
creative · anyOf 5.characters.count · anyOf 2See schemaintegerExpand this value in the interactive reference.
Minimum: 1. Maximum: 2.
-
-
-
-
Response 200 ·
creative · anyOf 5.optionsOptionalobjectMode-specific choices; irrelevant options are rejected.
Unknown fields are not accepted.
3 fields
-
Response 200 ·
creative · anyOf 5.options.combinationOptional"alternating" | "simultaneous"Required for sing_dance or sing_play. alternating uses separate shots. simultaneous requests same-shot actions and currently returns 422 before debit.
Default: "alternating".
-
Response 200 ·
creative · anyOf 5.options.instrumentOptionalstringInstrument to feature in perform or sing_play.
Minimum characters: 1. Maximum characters: 100.
-
Response 200 ·
creative · anyOf 5.options.storySourceOptional"lyrics" | "brief"Required for story: lyrics uses song evidence; brief uses creative.brief.
Default: "lyrics".
-
-
Response 200 ·
creative · anyOf 5.styleOptionalstringVisual treatment passed to director planning and shot generation.
Maximum characters: 1000.
-
-
-
Response 200 ·
outputOptionalobjectUnknown fields are not accepted.
3 fields
-
Response 200 ·
output.aspectRatioOptional"16:9" | "9:16" | "1:1" | "4:3" | "3:4"Delivery aspect ratio; defaults to 16:9. Motion references require 16:9 or 9:16.
-
Response 200 ·
output.renderTierOptional"draft" | "standard" | "hd" | "ultra"Omn V1 only. draft delivers 540p; standard 720p; hd 1080p; ultra 720p, 1080p or 1440p. When omitted: resolution=1440p or quality="high" selects ultra, standard quality selects draft at 540p and standard at 720p and hd at 1080p. Native shot rendering offers these tiers for both managed versions subject to capability and preflight checks. Dance motion transfer supports draft or standard only.
-
Response 200 ·
output.resolutionOptional"540p" | "720p" | "1080p" | "1440p"540p, 720p, 1080p or 1440p for every mode. Defaults to 720p. Motion output may be resized from its source resolution.
-
-
Response 200 ·
requestedOutputOptionalobjectUnknown fields are not accepted.
3 fields
-
Response 200 ·
requestedOutput.aspectRatioOptional"16:9" | "9:16" | "1:1" | "4:3" | "3:4"Delivery aspect ratio; defaults to 16:9. Motion references require 16:9 or 9:16.
-
Response 200 ·
requestedOutput.renderTierOptional"draft" | "standard" | "hd" | "ultra"Omn V1 only. draft delivers 540p; standard 720p; hd 1080p; ultra 720p, 1080p or 1440p. When omitted: resolution=1440p or quality="high" selects ultra, standard quality selects draft at 540p and standard at 720p and hd at 1080p. Native shot rendering offers these tiers for both managed versions subject to capability and preflight checks. Dance motion transfer supports draft or standard only.
-
Response 200 ·
requestedOutput.resolutionOptional"540p" | "720p" | "1080p" | "1440p"540p, 720p, 1080p or 1440p for every mode. Defaults to 720p. Motion output may be resized from its source resolution.
-
400 Bad Request
application/json
-
Response 400 ·
errorRequiredobject3 fields
-
Response 400 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 400 ·
error.messageRequiredstringHuman readable error message
-
Response 400 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 400 ·
successRequiredfalseAlways false for error responses
401 Unauthorized
application/json
-
Response 401 ·
errorRequiredobject3 fields
-
Response 401 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 401 ·
error.messageRequiredstringHuman readable error message
-
Response 401 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 401 ·
successRequiredfalseAlways false for error responses
402 Payment Required
application/json
-
Response 402 ·
errorRequiredobject3 fields
-
Response 402 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 402 ·
error.messageRequiredstringHuman readable error message
-
Response 402 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 402 ·
successRequiredfalseAlways false for error responses
403 Forbidden
application/json
-
Response 403 ·
errorRequiredobject3 fields
-
Response 403 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 403 ·
error.messageRequiredstringHuman readable error message
-
Response 403 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 403 ·
successRequiredfalseAlways false for error responses
404 Not Found
application/json
-
Response 404 ·
errorRequiredobject3 fields
-
Response 404 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 404 ·
error.messageRequiredstringHuman readable error message
-
Response 404 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 404 ·
successRequiredfalseAlways false for error responses
409 Conflict
application/json
-
Response 409 ·
errorRequiredobject3 fields
-
Response 409 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 409 ·
error.messageRequiredstringHuman readable error message
-
Response 409 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 409 ·
successRequiredfalseAlways false for error responses
413 Payload Too Large
application/json
-
Response 413 ·
errorRequiredobject3 fields
-
Response 413 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 413 ·
error.messageRequiredstringHuman readable error message
-
Response 413 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 413 ·
successRequiredfalseAlways false for error responses
422 Unprocessable Entity
application/json
-
Response 422 ·
errorRequiredobject3 fields
-
Response 422 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 422 ·
error.messageRequiredstringHuman readable error message
-
Response 422 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
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
-
Response 429 ·
errorRequiredobject3 fields
-
Response 429 ·
error.codeRequiredstringRATE_LIMITED for request and task admission rejections.
-
Response 429 ·
error.messageRequiredstring -
Response 429 ·
error.detailsOptionalobjectOptional and scope-dependent. Request limits supply scope/policy/type/limit/current/retryAfterSec. Task admission supplies inFlight/limit/tier, plus scope=apiKey for a key cap. IP rejection can omit details. In-flight rejection does not promise Retry-After.
8 fields
-
Response 429 ·
error.details.currentOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.inFlightOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.limitOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.policyOptional"operation" | "query" -
Response 429 ·
error.details.retryAfterSecOptionalintegerMinimum: 1.
-
Response 429 ·
error.details.scopeOptional"user" | "api-key" | "ip" | "apiKey" -
Response 429 ·
error.details.tierOptional"FREE" | "PREMIUM" | "ENTERPRISE" -
Response 429 ·
error.details.typeOptional"rps" | "daily" | "monthly"
-
-
-
Response 429 ·
successRequiredfalseDefault: false.
500 Internal Server Error
application/json
-
Response 500 ·
errorRequiredobject3 fields
-
Response 500 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 500 ·
error.messageRequiredstringHuman readable error message
-
Response 500 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 500 ·
successRequiredfalseAlways false for error responses
502 Bad Gateway
application/json
-
Response 502 ·
errorRequiredobject3 fields
-
Response 502 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 502 ·
error.messageRequiredstringHuman readable error message
-
Response 502 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 502 ·
successRequiredfalseAlways false for error responses
503 Service Unavailable
application/json
-
Response 503 ·
errorRequiredobject3 fields
-
Response 503 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 503 ·
error.messageRequiredstringHuman readable error message
-
Response 503 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 503 ·
successRequiredfalseAlways false for error responses