Skip to content

    API documentation

    Read MV workflow and quality review

    GET/api/v1/tasks/{taskId}/workflow

    Authentication · x-api-key

    Read the owned operation snapshot, stage progress, credit settlement and optional creative quality evidence. Delivery completion does not imply creative acceptance.

    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 rules

    Request

    Path parameters

    taskIdpath · Required
    string

    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 · activityRequired

      object

      Current phase and scheduling observations from persisted runtime state; not a live provider probe.

      9 fields
      • Response 200 · activity.deliveryDeadlineAtRequired

        string | null

        Delivery deadline recorded for this operation as an ISO 8601 timestamp, or null when no deadline is exposed.

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

        2 options
      • Response 200 · activity.labelRequired

        string

        Display name of the current phase, or the completion label for a finished workflow.

      • Response 200 · activity.lastAdvancedAtRequired

        string | null

        Latest recorded workflow event or execution/resource change, falling back to Task creation; polling alone does not establish advancement.

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

        2 options
      • Response 200 · activity.lastObservedAtRequired

        string | null

        Last time the Task was polled, or null; this does not imply new progress.

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

        2 options
      • Response 200 · activity.nextActionAtRequired

        string | null

        Earliest scheduled time for the next workflow action, or null if none is scheduled. This is not a completion guarantee.

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

        2 options
      • Response 200 · activity.phaseRequired

        string

        Normalized key of the currently relevant workflow phase.

      • Response 200 · activity.stateRequired

        string

        Current runtime/phase state; a terminal Task reports its terminal lifecycle here.

      • Response 200 · activity.waitingSinceRequired

        string | null

        Time the current runtime wait began; null for terminal Tasks or obsolete provider waits.

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

        2 options
      • Response 200 · activity.waitOptional

        object

        Intentional wait that resumes automatically; not a failure. queuePosition is the 1-based place in the Omn delivery queue when known.

        4 fields
        • Response 200 · activity.wait.codeRequired

          string

          Wait code, for example MV_NATIVE_DELIVERY_QUEUED or MV_NATIVE_LYRIC_TIMING_PENDING. Informational; not an error code.

        • Response 200 · activity.wait.messageRequired

          string

          Customer-readable explanation of the wait.

        • Response 200 · activity.wait.queuePositionRequired

          integer | null

          1-based place in the Omn delivery queue when reason is delivery_queue and the place is known; otherwise null.

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

          2 options
          • Response 200 · Option 1 — integerOption

            integer

            1-based place in the Omn delivery queue when reason is delivery_queue and the place is known; otherwise null.

            Minimum: 1.

          • Response 200 · Option 2 — nullOption

            null
        • Response 200 · activity.wait.reasonRequired

          "delivery_queue" | "lyric_timing"

          Why the task is waiting: delivery_queue = queued for an Omn delivery slot; lyric_timing = waiting for vocal separation before lyric timing is checked.

    • Response 200 · attemptsRequired

      array<object>

      Up to 100 most recent provider submission attempts, newest first; not a complete history of every internal step.

      1 field
      • Response 200 · attempts[]Each item

        object
        4 fields
        • Response 200 · attempts[].createdAtRequired

          string | null

          Creation 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.

          2 options
        • Response 200 · attempts[].dispositionRequired

          string | null

          Recorded disposition of the provider submission, or null if no decision has been recorded.

          May be null.

        • Response 200 · attempts[].idRequired

          string

          Identifier of this resource. Keep identifiers for Tasks, product resources and child assets separately; use the ID required by the destination endpoint.

        • Response 200 · attempts[].stateRequired

          string

          Persisted provider submission-attempt state, including uncertain acceptance/reconciliation states.

    • Response 200 · billingRequired

      object

      Credit settlement for this operation only; decimal credit amounts are encoded as strings.

      6 fields
      • Response 200 · billing.debitedRequired

        string

        Original authorized/debited credit amount for the Task, as a decimal string.

      • Response 200 · billing.finalRequired

        boolean

        True when settlement is no longer PENDING. This boolean refers to billing finality, not a final media URL.

      • Response 200 · billing.netRequired

        string

        Net Task debit after settlement; while PENDING or charged amount is unavailable, reports the original debit.

      • Response 200 · billing.refundedRequired

        string

        Nonnegative difference between original debit and net charge, as a decimal credit string. This is an amount, not a boolean.

      • Response 200 · billing.settlementRequired

        string

        Task settlement state. PENDING means the net charge is not yet final.

      • Response 200 · billing.unitRequired

        "credit"

        credit: amounts are credits, not the internal 10,000-units-per-credit integers.

    • Response 200 · completionContractRequired

      string

      Required persisted result for this operation: playable_final_persisted, requested_images_persisted, requested_plan_persisted or requested_scene_persisted. Task completion is judged against this requirement.

    • Response 200 · deliveryRequired

      object

      Availability of the MV resource's final output, which can differ from the outcome of this particular operation.

      6 fields
      • Response 200 · delivery.assetIdRequired

        string | null

        Identifier of the retained asset; use the storage asset read/download endpoints with this ID.

        May be null.

      • Response 200 · delivery.availabilityVerifiedAtRequired

        string | null

        Currently null: this snapshot does not perform a live storage availability check.

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

        2 options
      • Response 200 · delivery.currentVersionRequired

        boolean

        Whether the final output matches the current source scene selection/version.

      • Response 200 · delivery.persistedSegmentCountRequired

        integer

        Number of segments in STORED state with a persisted output key.

      • Response 200 · delivery.stateRequired

        "none" | "partial" | "ready" | "stale" | "expired" | "deleted"

        ready requires a retained final matching current scene selections; stale is an older final, partial has persisted intermediate video, none has no video, expired/deleted cannot be delivered.

      • Response 200 · delivery.totalSegmentCountRequired

        integer | null

        Total recorded segments, or null when the MV has no segment records.

        May be null.

    • Response 200 · freshnessRequired

      object

      Provenance and completeness of this database snapshot; missing observations are not fabricated as success.

      6 fields
      • Response 200 · freshness.eventCursorRequired

        string

        Latest persisted stream sequence as a decimal string, or 0 before any events; use for incremental event reads.

      • Response 200 · freshness.historyRequired

        "tracked" | "legacy_incomplete"

        tracked when complete workflow journal history exists; legacy_incomplete for older or incomplete histories.

      • Response 200 · freshness.missingFactsRequired

        array<string>

        Names of unavailable evidence, such as runtime_stages, provider_work_units or final_asset_registration; absence is not proof of failure.

        1 field
      • Response 200 · freshness.pendingEventsRequired

        boolean

        Whether journal events exist that have not yet been published to the stream.

      • Response 200 · freshness.readAtRequired

        string

        ISO 8601 time when this workflow snapshot was built.

        Format: date-time.

      • Response 200 · freshness.sourceRequired

        "database_snapshot"

        database_snapshot: no live provider request is made by this read.

    • Response 200 · issueRequired

      object | null

      Sanitized actionable failure derived from Task/runtime/step evidence; null when no failure is identified.

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

      2 options
      • Response 200 · Option 1 — requires code, category, message, phase, providerCode, providerStage, evidenceIds, attributionSourceOption

        object
        8 fields
        • Response 200 · issue.attributionSourceRequired

          "provider_code" | "platform_code" | "unknown"

          Whether classification used a provider code, a platform code, or no structured code.

        • Response 200 · issue.categoryRequired

          string

          Classification from recorded codes: PLATFORM, POLICY, PROVIDER or UNKNOWN. This is an operational classification, not proof of financial liability.

        • Response 200 · issue.codeRequired

          string

          Machine-readable code for the containing failure or finding. Handle documented values and tolerate new values.

        • Response 200 · issue.evidenceIdsRequired

          array<string>

          Supporting failure evidence references; private evidence is not exposed to public callers.

          1 field
        • Response 200 · issue.messageRequired

          string

          Human-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.

        • Response 200 · issue.phaseRequired

          string

          Workflow phase associated with the failure evidence.

        • Response 200 · issue.providerCodeRequired

          string | null

          provider failure code when available, not a provider identifier; null when absent.

          May be null.

        • Response 200 · issue.providerStageRequired

          string | null

          Compose when the provider failure identifies composition; otherwise null.

          May be null.

      • Response 200 · Option 2 — nullOption

        null
    • Response 200 · lifecycleRequired

      string

      Execution status of the Task that owns this operation.

    • Response 200 · modeRequired

      "fast" | "studio"

      fast for managed generation features; studio for other MV operations in this workflow projection.

    • Response 200 · mvIdRequired

      string | null

      Music video identifier. Use this returned value for subsequent video reads and edits; keep the Task ID separately.

      May be null.

    • Response 200 · operationRequired

      string

      Operation recorded for this Task, falling back to its feature code when no MV operation record exists.

    • Response 200 · operationIdRequired

      string | null

      Identifier of this paid or preparation operation, distinct from the parent video ID.

      May be null.

    • Response 200 · policyVersionRequired

      integer

      Runtime policy version frozen on the Task, including recovery limits.

    • Response 200 · progressRequired

      object

      Phase observations and end-to-end progress availability. Unknown progress is represented by null, not an estimated percentage.

      4 fields
      • Response 200 · progress.modeRequired

        "indeterminate" | "measured"

        measured only when the Task is COMPLETED; indeterminate otherwise.

      • Response 200 · progress.percentRequired

        number | null

        100 when COMPLETED; null while no reliable end-to-end percentage exists, including failed or cancelled Tasks.

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

        2 options
      • Response 200 · progress.phasesRequired

        array<object>

        Phases required for this operation, with runtime or persisted evidence; edits need not run every creation phase.

        1 field
        • Response 200 · progress.phases[]Each item

          object
          16 fields
          • Response 200 · progress.phases[].activeTimeMsRequired

            number | null

            Sum of runtime stage activeElapsedMs; null without runtime measurement. Concurrent native shot elapsed times are not summed as active time.

            May be null.

          • Response 200 · progress.phases[].attemptCountRequired

            integer

            Maximum recorded business-attempt number for this phase, normalized to one-based counting; transport capture records do not count as retries.

          • Response 200 · progress.phases[].completedItemsRequired

            integer | null

            Persisted segment/completed shot count for generation, or persisted scene-image count for an image phase; null when item progress is not measured.

            May be null.

          • Response 200 · progress.phases[].evidenceIdsRequired

            array<string>

            Supporting step references in admin views; public responses return an empty array.

            1 field
          • Response 200 · progress.phases[].finishedAtRequired

            string | null

            Latest effective step finish, or latest persisted native asset time when all purchased shots have timing evidence; null when unknown.

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

            2 options
          • Response 200 · progress.phases[].keyRequired

            string

            Stable phase key used to correlate activity, issues and workflow events.

          • Response 200 · progress.phases[].labelRequired

            string

            Human-readable phase name for display.

          • Response 200 · progress.phases[].requiredRequired

            boolean

            Whether this phase belongs to the completion requirements of this operation; included phases currently report true.

          • Response 200 · progress.phases[].sourceRequired

            "runtime" | "resource" | "legacy_steps" | "unobserved"

            Evidence source: runtime stages, persisted resources, legacy step records, or unobserved when none is available.

          • Response 200 · progress.phases[].startedAtRequired

            string | null

            Earliest effective step start, or native provider acceptance time when timingBasis says native_acceptance_to_asset; null when unknown.

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

            2 options
          • Response 200 · progress.phases[].stateRequired

            "not_started" | "running" | "waiting" | "completed" | "failed" | "skipped" | "unknown"

            Observed phase state. unknown means evidence is insufficient or execution stopped without a confirmed phase result.

          • Response 200 · progress.phases[].totalItemsRequired

            integer | null

            Total segments, shots or scene images in the measured phase; null when no item denominator is available.

            May be null.

          • Response 200 · progress.phases[].unitRequired

            string | null

            Unit of completedItems and totalItems (segment or scene), or null when item progress is unavailable.

            May be null.

          • Response 200 · progress.phases[].wallTimeMsRequired

            number | null

            Elapsed milliseconds between recorded phase start and finish; null without both endpoints. Native timing requires complete acceptance-to-asset coverage.

            May be null.

          • Response 200 · progress.phases[].timingBasisOptional

            "native_acceptance_to_asset"

            native_acceptance_to_asset means timing uses immutable provider acceptance and asset registration, not polling request durations.

          • Response 200 · progress.phases[].warningCodesOptional

            array<string>

            Confirmed non-blocking fallbacks in this phase. Original failed attempts remain in the execution evidence.

            1 field
      • Response 200 · progress.reasonRequired

        string | null

        NO_RELIABLE_END_TO_END_PERCENTAGE when percent is unavailable; null on completion.

        May be null.

    • Response 200 · recoveryRequired

      object

      Recorded recovery decision for continuing this Task, distinct from creating a new paid operation.

      8 fields
      • Response 200 · recovery.decisionCodeRequired

        string

        Machine-readable reason for the recovery decision, such as TASK_TERMINAL, SUBMISSION_RECONCILIATION or RUNTIME_RETRY_SCHEDULED.

      • Response 200 · recovery.nextActionRequired

        string | null

        Next internal action (inspect_evidence, reconcile_submission, resume_stage or observe_provider), or null. It is not an instruction to repurchase.

        May be null.

      • Response 200 · recovery.nextActionAtRequired

        string | null

        Earliest scheduled time for the next workflow action, or null if none is scheduled. This is not a completion guarantee.

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

        2 options
      • Response 200 · recovery.originalTaskCanContinueRequired

        boolean

        True while the Task is nonterminal; this permits continuation but does not guarantee successful recovery.

      • Response 200 · recovery.providerResubmissionLimitRequired

        integer

        Maximum resubmissions allowed by the Task's frozen runtime policy; interpreted with providerResubmissionLimitScope.

      • Response 200 · recovery.providerResubmissionLimitScopeRequired

        "segment" | "task"

        segment for segmented creation; task otherwise. The limit is applied at this scope.

      • Response 200 · recovery.providerResubmissionsRequired

        integer

        Extra provider submissions for creation: segment submitAttempts minus the first attempt, or recorded project recovery attempts; edits report zero here.

      • Response 200 · recovery.stateRequired

        "not_needed" | "scheduled" | "reconciling" | "manual" | "stopped" | "unknown"

        not_needed, scheduled, reconciling, manual, stopped or unknown according to runtime and submission evidence.

    • Response 200 · revisionRequired

      string

      First 24 hexadecimal characters of the semantic snapshot hash, excluding readAt. Compare for snapshot changes; this is not an event cursor or editable MV version.

    • Response 200 · schemaVersionRequired

      "mv-workflow.v1"

      Version of the workflow representation (mv-workflow.v1), independent of the API URL version.

    • Response 200 · sourceVersionRequired

      integer | null

      Expected MV version recorded on this operation, or null when unavailable.

      May be null.

    • Response 200 · summaryRequired

      string

      Human-readable explanation of the current workflow state. Do not parse this text to drive recovery.

    • Response 200 · taskIdRequired

      string

      Operation Task identifier. Save it before polling; a receipt does not mean the operation has completed.

    • Response 200 · terminalRequired

      boolean

      True for COMPLETED, FAILED or CANCELLED; the Task will no longer continue normal execution.

    • Response 200 · workItemsRequired

      array<object>

      Persisted segment and scene state for the associated MV resource.

      1 field
      • Response 200 · workItems[]Each item

        object
        6 fields
        • Response 200 · workItems[].attemptCountRequired

          integer | null

          Recorded provider submission count for a segment; null for scene records.

          May be null.

        • Response 200 · workItems[].idRequired

          string

          Identifier of this resource. Keep identifiers for Tasks, product resources and child assets separately; use the ID required by the destination endpoint.

        • Response 200 · workItems[].indexRequired

          integer

          Zero-based segment or scene index within the MV.

        • Response 200 · workItems[].kindRequired

          "segment" | "scene"

          segment for provider output segments; scene for storyboard scene records.

        • Response 200 · workItems[].persistedRequired

          boolean

          For segments, STORED with an output key; for scenes, a persisted scene image. A persisted scene image does not prove video rendering completed.

        • Response 200 · workItems[].stateRequired

          string

          Stored segment state or scene state; UNKNOWN when the scene has no recorded state.

    • Response 200 · workItemsScopeRequired

      "mv_resource"

      mv_resource means workItems covers the whole MV, not only the scenes affected by this operation.

    • Response 200 · workflowVersionRequired

      string

      Interpretation label combining mode, managed version and workflow revision; not an editable resource version.

    • Response 200 · costsOptional

      object

      Admin-only supplier cost diagnostics. Public workflow reads omit this optional shared-schema field; these are USD costs, not customer credits.

      10 fields
      • Response 200 · costs.currencyRequired

        "USD"

        USD denomination of the admin cost ledger.

      • Response 200 · costs.estimatedRequired

        string | null

        Recorded real costs classified ESTIMATED or LEGACY_ESTIMATED in micro-USD; null when no such components exist.

        May be null.

      • Response 200 · costs.finalAmountVerifiedRequired

        false

        Always false in this projection; the component sums are not a verified final supplier invoice.

      • Response 200 · costs.measuredRequired

        string | null

        Recorded real costs classified MEASURED in micro-USD; null when no measured components exist.

        May be null.

      • Response 200 · costs.providerReportedRequired

        string | null

        Recorded real costs classified PROVIDER_REPORTED in micro-USD; null when absent, not a verified invoice total.

        May be null.

      • Response 200 · costs.reconciliationRequired

        "component_sources"

        component_sources means costs remain separated by evidence source rather than reconciled to a final provider invoice.

      • Response 200 · costs.unclassifiedRequired

        string | null

        Recorded real costs with other source classifications in micro-USD; null when absent.

        May be null.

      • Response 200 · costs.unitRequired

        "micro_usd"

        micro_usd: one million integer units equals one US dollar.

      • Response 200 · costs.grossOptional

        string

        Sum of recorded gross supplier costs, falling back to real cost where no gross component exists; integer micro-USD string.

      • Response 200 · costs.providerRefundOptional

        string

        Sum of recorded supplier refunds in integer micro-USD; separate from customer credit refunds.

    • Response 200 · nativeShotsOptional

      array<object>

      Admin-only native shot purchase diagnostics. Public workflow reads omit this optional field.

      1 field
      • Response 200 · nativeShots[]Each item

        object
        17 fields
        • Response 200 · nativeShots[].acceptedAtRequired

          string | null

          Earliest recorded provider acceptance time; null for reused jobs or missing acceptance evidence.

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

          2 options
        • Response 200 · nativeShots[].accountIdRequired

          string | null

          Selected supplier account identifier from assignment/usage/route; admin-only, null when unknown.

          May be null.

        • Response 200 · nativeShots[].billableDurationSecRequired

          number

          Duration purchased for this native shot in seconds, which can exceed the editorial duration.

        • Response 200 · nativeShots[].capacityClassRequired

          string | null

          Capacity class recorded for this purchase assignment; null without assignment evidence.

          May be null.

        • Response 200 · nativeShots[].durationSecRequired

          number

          Duration in seconds for the containing media, selection or operation. Use validated duration when authorizing a purchase.

        • Response 200 · nativeShots[].fullDurationMsRequired

          number | null

          Milliseconds from acceptance to persisted output registration; null for reused jobs or incomplete timing evidence.

          May be null.

        • Response 200 · nativeShots[].jobIdRequired

          string

          Native generate_video job identifier, distinct from the public Task ID.

        • Response 200 · nativeShots[].materializedAtRequired

          string | null

          First registration time of the completed output asset; null for reused jobs or missing completed asset evidence.

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

          2 options
        • Response 200 · nativeShots[].reuseSourceJobIdRequired

          string | null

          Original job whose output was reused; null for a newly purchased shot.

          May be null.

        • Response 200 · nativeShots[].sceneIndexRequired

          integer

          Zero-based scene index assigned to this native video job.

        • Response 200 · nativeShots[].startSecRequired

          number

          Start offset in seconds in the containing timeline or selected source range.

        • Response 200 · nativeShots[].stateRequired

          string

          Native job state, or lip-sync operation state once the base video job completes and lip-sync has a state.

        • Response 200 · nativeShots[].submissionStepIdsRequired

          array<string>

          Step IDs for this shot's video submissions and associated lip-sync submission.

          1 field
        • Response 200 · nativeShots[].submitDurationMsRequired

          number | null

          Sum of submission-step durations in milliseconds only when every duration is valid; otherwise null. This is not generation elapsed time.

          May be null.

        • Response 200 · nativeShots[].supplierIdRequired

          string | null

          Selected video supplier from the persisted pool assignment, submission usage or route; null when unknown.

          May be null.

        • Response 200 · nativeShots[].dispositionOptional

          "completed" | "failed" | "skipped" | "uncertain" | "processing"

          completed, failed, skipped before purchase, uncertain or processing, derived from the shot state and dependency failure.

          Default: "completed".

        • Response 200 · nativeShots[].failureCodeOptional

          string | null

          Machine-readable failure code for this output. Use it with actionHint and retryable to decide recovery.

          May be null.

    • Response 200 · postprocessOptional

      object

      Resolved video post-processing policy, when available for this MV.

      Only the listed fields are accepted in this object.

      9 fields
      • Response 200 · postprocess.confidenceRequired

        "explicit" | "rule" | "default"

        Selection basis confidence: explicit choice, matched rule, or default.

        Default: "explicit".

      • Response 200 · postprocess.intentCategoryRequired

        string | null

        Recognized creative-intent category, or null when none applies.

        May be null.

      • Response 200 · postprocess.policyVersionRequired

        string

        Version of the policy used to select post-processing.

      • Response 200 · postprocess.reasonRequired

        string

        Explanation of why this post-processing mode was selected.

      • Response 200 · postprocess.reasonCodeRequired

        string

        Machine-readable reason for the selected post-processing mode.

      • Response 200 · postprocess.requestedModeRequired

        "auto" | "tiny-long" | "tc2" | "full"

        Requested post-processing mode, including auto for automatic selection.

        Default: "auto".

      • Response 200 · postprocess.selectedModeRequired

        "tiny-long" | "tc2" | "full"

        Resolved post-processing mode: tiny-long, tc2, or full.

        Default: "tiny-long".

      • Response 200 · postprocess.signalsRequired

        array<string>

        Creative-intent signals considered by the selection policy.

        1 field
      • Response 200 · postprocess.sourceRequired

        "manual" | "priority" | "intent" | "default"

        Selection basis: explicit mode, priority preference, creative intent, or default.

        Default: "manual".

    • Response 200 · qualityOptional

      object

      Quality observations for this operation, independent of delivery and credit settlement. Missing review evidence is reported as not_evaluated/unavailable, not a passing assessment.

      17 fields
    • Response 200 · warningCodesOptional

      array<string>

      Nonfatal findings or delivery fallbacks. Inspect each warning; a warning alone does not imply failure or a refund.

      Maximum items: 16.

      1 field
    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 · 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 400 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 400 · error.messageRequired

        string

        Human readable error message

      • Response 400 · 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 400 · successRequired

      false

      Always 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 · 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

    404 Not Found

    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 404 · 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 404 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 404 · error.messageRequired

        string

        Human readable error message

      • Response 404 · 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 404 · 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

    503 Service Unavailable

    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 503 · 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 503 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 503 · error.messageRequired

        string

        Human readable error message

      • Response 503 · 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 503 · successRequired

      false

      Always false for error responses

    Workflow and next steps → · Recover an uncertain request

    Interactive API Explorer → · OpenAPI JSON