> ## Documentation Index
> Fetch the complete documentation index at: https://docs.splat-3d.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel scene processing

> Cancel an in-progress scene processing job. A cancel before the job starts, or within 10 seconds after, refunds the credits it charged. The job starts around when /process returns. A later cancel keeps the processing charge and refunds only an AI Enhance charge reserved at upload (dashboard launches; API launches reserve none).



## OpenAPI

````yaml https://api.splat-3d.com/openapi.json post /v1/scenes/{id}/cancel
openapi: 3.1.0
info:
  title: Splat3D API
  version: 1.8.0
  description: Turn photos and videos into interactive 3D Gaussian Splat scenes.
servers:
  - url: https://api.splat-3d.com
    description: Production
security: []
paths:
  /v1/scenes/{id}/cancel:
    post:
      tags:
        - Scenes
      summary: Cancel scene processing
      description: >-
        Cancel an in-progress scene processing job. A cancel before the job
        starts, or within 10 seconds after, refunds the credits it charged. The
        job starts around when /process returns. A later cancel keeps the
        processing charge and refunds only an AI Enhance charge reserved at
        upload (dashboard launches; API launches reserve none).
      operationId: cancelScene
      parameters:
        - schema:
            type: string
            description: Scene ID
            example: a1b2c3d4e5f6
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Processing cancelled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelSceneResponse'
        '400':
          description: >-
            `invalid_input`: a path, query, header or body value is invalid.
            When it fails the schema, `error.details` lists one `{field,
            message}` per problem and `error.message` joins them.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: >-
            `insufficient_scope`: the API key lacks the `write:scenes` scope,
            which keys created as Write or All carry. The request was refused
            before it read or changed any scene, quota or credit balance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Scene not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Cannot cancel scene in current state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            `rate_limited`: more than 300 requests this minute, counted per
            user, or per client IP without a key. The request was refused before
            it read or changed any scene, quota or credit balance. Wait
            `Retry-After` seconds, then send it again. `meta.limit` and
            `X-RateLimit-Limit` name the limit that refused.
          headers:
            Retry-After:
              description: Seconds to wait before sending the request again.
              schema:
                type: integer
                example: 60
            X-RateLimit-Limit:
              description: >-
                Requests a minute the limit that refused allows. Every `/v1`
                response carries it, naming its route's limit.
              schema:
                type: integer
                example: 300
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: >-
            `internal_error`: an unexpected failure on our side. Contact support
            with `meta.request_id`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: >-
            Temporarily unavailable, e.g. a database blip. Not an answer about
            your key or scene. No `Retry-After`: this operation doesn't dedupe
            repeats, and a repeated create or `/retrain` makes another scene.
            Check `GET /v1/scenes` before sending it again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    CancelSceneResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            id:
              type: string
            cancelled:
              type: boolean
            refunded:
              type: boolean
              description: >-
                True when the cancel returned credits: everything the launch
                charged when it came before the job started or within 10 seconds
                after, and later only an AI Enhance charge reserved at upload.
            refunded_credits:
              type: integer
              description: Credits this cancel returned; 0 when it was not refunded.
              example: 20
          required:
            - id
            - cancelled
            - refunded
            - refunded_credits
        meta:
          type: object
          properties:
            request_id:
              type: string
              format: uuid
          required:
            - request_id
      required:
        - data
        - meta
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: >-
                Machine-readable error code. One of: `invalid_input`,
                `invalid_grant`, `source_missing`, `unauthorized`,
                `insufficient_credits`, `forbidden`, `insufficient_scope`,
                `not_found`, `conflict`, `retry_blocked`, `payload_too_large`,
                `source_unusable`, `quota_exceeded`, `queue_full`,
                `rate_limited`, `internal_error`, `upstream_error`,
                `service_unavailable`. More may be added, so treat an unknown
                code by its HTTP status.
              example: not_found
            message:
              type: string
              example: Scene not found.
            details:
              type: array
              items:
                type: object
                additionalProperties: {}
              description: >-
                Structured detail, absent on most errors. A request that fails
                validation (400 `invalid_input`) lists one `{field, message}`
                per problem. A parameter outside the tier's range (422) lists
                `{field, value, allowed, tier, hint}`; `source_unusable` names
                the rule that failed.
              example:
                - field: iterations
                  value: 15000
                  allowed:
                    min: 3000
                    max: 10000
                  tier: standard
                  hint: iterations=15000 requires the quality tier or higher.
          required:
            - code
            - message
        meta:
          type: object
          properties:
            request_id:
              type: string
              format: uuid
              example: 550e8400-e29b-41d4-a716-446655440000
            period:
              type: string
              description: '`quota_exceeded`: the month whose quota is used up.'
              example: 2026-10
            limit:
              type: integer
              description: >-
                `quota_exceeded`: the monthly limit. `queue_full`: how many
                scenes may process at once. `rate_limited`: the requests a
                minute the limit that refused allows.
              example: 100
            field:
              type: string
              description: >-
                `quota_exceeded`: the quota used up, `scenes_created` or
                `scenes_processed`.
              example: scenes_created
            current:
              type: integer
              description: '`queue_full`: how many of your scenes are processing now.'
              example: 2
          required:
            - request_id
      required:
        - error
        - meta
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key in format: s3d_...'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.