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

# Get Episode



## OpenAPI

````yaml /api-reference/openapi.json get /v1/augmentations/{aug_id}/episodes/{index}
openapi: 3.1.0
info:
  title: Kite Platform API
  description: >-
    Public API for Kite. Authenticate with `Authorization: Bearer kite_...`, and
    send `Kite-Version: 2026-10-12` to pin the dated contract your code was
    written against (without it you get 2026-09-27). Every response carries the
    version that served it.
  version: '2026-10-12'
servers:
  - url: https://api.kiteml.com
    description: Kite Platform API
security:
  - bearerAuth: []
tags:
  - name: Augmentations
    description: Beta. Generate new episodes from a LeRobot dataset.
  - name: Training runs
    description: Fine-tune a policy on a dataset, one run per policy.
  - name: Twins
    description: >-
      Rebuild a robot episode as an interactable MuJoCo scene (beta, enabled per
      account).
  - name: RL runs
    description: >-
      Train a robot policy in simulation from a task spec; get the policy, its
      scene and a verdict.
  - name: Evaluations
    description: >-
      Evaluate a policy on a Kite SDK spec on Kite's machines: episodes,
      evaluators and a scorecard (beta).
  - name: Objects and environments
    description: Register your own objects and background scenes (beta).
  - name: Augmentation environments
    description: >-
      What an augmentation puts behind the work cell: from Kite's library, a
      photo, a prompt or a panorama (beta, enabled per account).
  - name: Catalog
    description: Policies, hardware tiers, and dataset inspection.
  - name: Operations
    description: Poll any run by its id.
  - name: Webhooks
    description: Endpoints that receive events, and the event log.
  - name: API keys
    description: The key making the request.
  - name: Usage
    description: Token usage and credit balance.
  - name: Requests
    description: >-
      The request log: every call of the last 30 days, who made it and how it
      ended.
  - name: Status
    description: Whether Kite is up, part by part. Needs no key.
paths:
  /v1/augmentations/{aug_id}/episodes/{index}:
    get:
      tags:
        - Augmentations
      summary: Get Episode
      operationId: get_episode_v1_augmentations__aug_id__episodes__index__get
      parameters:
        - name: aug_id
          in: path
          required: true
          schema:
            type: string
            title: Aug Id
        - name: index
          in: path
          required: true
          schema:
            type: integer
            title: Index
        - $ref: '#/components/parameters/KiteVersion'
      responses:
        '200':
          description: The episode, with its clips
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AugmentationEpisodeDetail'
              example:
                check:
                  cameras:
                    cam_high:
                      attempts: 1
                      problems:
                        - frame: 51
                          kind: surface_changed
                          severity: warning
                          what: the orange tape marking the place target is gone
                          where: left side of table
                      status: warned
                  status: warned
                index: 0
                object: augmentation_episode
                pixel_exact: false
                source_episode_index: 0
                status: done
                videos:
                  - camera: cam_high
                    source_url: >-
                      /v1/augmentations/aug_01K62QZ8V4X9C3N7M5T2R8W6HB/episodes/0/videos/cam_high/source
                    url: >-
                      /v1/augmentations/aug_01K62QZ8V4X9C3N7M5T2R8W6HB/episodes/0/videos/cam_high
        '400':
          description: >-
            Invalid request (`parameter_invalid`, `unsupported_version`, ...);
            `param` names the field
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Missing or invalid API key (`unauthenticated`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: >-
            The key lacks a scope this route needs (`missing_scope`), or the
            feature is not enabled for the account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: >-
            No such resource (`resource_not_found`); another account's ids
            answer the same
        '429':
          description: >-
            Rate or concurrency limited (`rate_limit_exceeded`,
            `concurrency_limit_exceeded`, `capacity_exceeded`); honor
            `Retry-After`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  parameters:
    KiteVersion:
      name: Kite-Version
      in: header
      required: false
      description: >-
        The dated contract your code was written against. Without it you get
        2026-09-27; every response says which version served it.
      schema:
        type: string
        enum:
          - '2026-09-27'
          - '2026-10-12'
        default: '2026-09-27'
  schemas:
    AugmentationEpisodeDetail:
      properties:
        object:
          type: string
          enum:
            - augmentation_episode
          const: augmentation_episode
          title: Object
          default: augmentation_episode
        index:
          type: integer
          title: Index
          description: The episode's index in the augmented dataset
        status:
          type: string
          title: Status
          description: >-
            The pipeline's own state for it: `done` once saved; also `pending`,
            `rejected` (a check failed: it never ships and is refunded; see
            `error`)
        source_episode_index:
          anyOf:
            - type: integer
            - type: 'null'
          title: Source Episode Index
          description: >-
            The source episode it was made from (generated sources repeat when
            you ask for more episodes than the dataset has)
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        pixel_exact:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Pixel Exact
          description: >-
            False for generative video, which redraws every pixel; null when not
            recorded (see the run's `pixel_exact`)
        check:
          anyOf:
            - $ref: '#/components/schemas/AugmentationEpisodeCheck'
            - type: 'null'
          description: 'Generative video: what the check found'
        videos:
          items:
            $ref: '#/components/schemas/AugmentationEpisodeVideo'
          type: array
          title: Videos
          description: Empty until the episode's clips are saved
      type: object
      required:
        - index
        - status
        - videos
      title: AugmentationEpisodeDetail
      description: One episode, with a clip per camera.
      examples:
        - check:
            cameras:
              cam_high:
                attempts: 1
                problems:
                  - frame: 51
                    kind: surface_changed
                    severity: warning
                    what: the orange tape marking the place target is gone
                    where: left side of table
                status: warned
            status: warned
          index: 0
          object: augmentation_episode
          pixel_exact: false
          source_episode_index: 0
          status: done
          videos:
            - camera: cam_high
              source_url: >-
                /v1/augmentations/aug_01K62QZ8V4X9C3N7M5T2R8W6HB/episodes/0/videos/cam_high/source
              url: >-
                /v1/augmentations/aug_01K62QZ8V4X9C3N7M5T2R8W6HB/episodes/0/videos/cam_high
    ApiErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ApiErrorBody'
      type: object
      required:
        - error
      title: ApiErrorResponse
      description: Every /v1 error has this shape.
    AugmentationEpisodeCheck:
      properties:
        status:
          type: string
          enum:
            - passed
            - warned
            - failed
            - skipped
          title: Status
          description: >-
            The worst camera's. A `failed` episode is `rejected`: it never ships
            and is refunded. A `skipped` one shipped unchecked, a `warned` one
            with warnings
        cameras:
          additionalProperties:
            $ref: '#/components/schemas/AugmentationCameraCheck'
          type: object
          title: Cameras
          description: By short camera name, e.g. `cam_high`
      type: object
      required:
        - status
        - cameras
      title: AugmentationEpisodeCheck
      description: >-
        Generative video: each camera's clip compared with its source by a
        vision model, told the request.
    AugmentationEpisodeVideo:
      properties:
        camera:
          type: string
          title: Camera
          description: The short camera name, e.g. `cam_high`
        url:
          type: string
          title: Url
          description: >-
            This API's path for the mp4; GET it with your Authorization header.
            A relit episode's is the dataset's video file holding it (a signed
            link, or this API's path for the file), from `from_timestamp` to
            `to_timestamp`
        from_timestamp:
          anyOf:
            - type: number
            - type: 'null'
          title: From Timestamp
          description: >-
            Where the episode starts in `url`, in seconds. Null when `url` is
            the episode's own clip
        to_timestamp:
          anyOf:
            - type: number
            - type: 'null'
          title: To Timestamp
          description: Where it ends in `url`, in seconds
        source_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Url
          description: >-
            The same camera's clip of the source episode, frame for frame as the
            run read it: the before to `url`'s after. A relit episode's is the
            source dataset's video file, from `source_from_timestamp` to
            `source_to_timestamp`. Null when the run kept no source clip
        source_from_timestamp:
          anyOf:
            - type: number
            - type: 'null'
          title: Source From Timestamp
          description: Where the source episode starts in `source_url`, in seconds
        source_to_timestamp:
          anyOf:
            - type: number
            - type: 'null'
          title: Source To Timestamp
          description: Where it ends in `source_url`, in seconds
      type: object
      required:
        - camera
        - url
      title: AugmentationEpisodeVideo
    ApiErrorBody:
      properties:
        type:
          type: string
          title: Type
          description: >-
            invalid_request_error, authentication_error, permission_error,
            not_found_error, conflict_error, rate_limit_error, or api_error
        code:
          type: string
          title: Code
          description: 'Machine-readable: branch on this, not on the message'
        message:
          type: string
          title: Message
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
          description: The request field the error is about, when there is one
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
          description: Also in the X-Request-Id header; quote it to support
        details:
          anyOf:
            - type: object
            - type: 'null'
          title: Details
          description: >-
            Extra data for some codes (e.g. the cameras a dataset does have, for
            camera_not_found)
      type: object
      required:
        - type
        - code
        - message
      title: ApiErrorBody
    AugmentationCameraCheck:
      properties:
        status:
          type: string
          enum:
            - passed
            - warned
            - failed
            - skipped
          title: Status
          description: >-
            `warned`: shipped with warnings. `failed`: rejected. `skipped`: the
            check could not run
        attempts:
          type: integer
          title: Attempts
          description: >-
            Clips generated and checked for this camera: more than 1 when a
            rejected clip was generated again
          default: 1
        problems:
          items:
            $ref: '#/components/schemas/AugmentationCheckProblem'
          type: array
          title: Problems
          description: What it found, each placed in a frame, the rejecting ones first
      type: object
      required:
        - status
        - problems
      title: AugmentationCameraCheck
    AugmentationCheckProblem:
      properties:
        kind:
          type: string
          enum:
            - robot_changed
            - gripper_lost
            - object_missing
            - object_altered
            - surface_changed
          title: Kind
          description: >-
            `robot_changed`: a part of the robot or a gripper missing, reshaped
            or replaced. `gripper_lost`: a wrist camera's own gripper, which
            stays in place in its view, gone from the edit (seen in the clip's
            mean). `object_missing`: an object it handles or that stands in the
            work area missing, duplicated or swapped for a different one.
            `object_altered`: such an object redrawn with a different shape,
            size or colour, or shifted. `surface_changed`: the table or work
            surface replaced, its tape or marks gone, or the view redrawn,
            beyond the request
        severity:
          type: string
          enum:
            - reject
            - warning
          title: Severity
          description: What it did under the run's `config.video_check`
        frame:
          anyOf:
            - type: integer
            - type: 'null'
          title: Frame
          description: >-
            The episode frame it is seen in; null when seen in the mean of the
            clip
        where:
          type: string
          title: Where
        what:
          type: string
          title: What
      type: object
      required:
        - kind
        - severity
        - frame
        - where
        - what
      title: AugmentationCheckProblem
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Kite API key (`kite_...`), from **Platform API → Keys** in the
        dashboard.

````

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