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

# Get datasets sequences 



## OpenAPI

````yaml /api-reference/openapi.json get /datasets/{owner_name}/{dataset_slug}/sequences/{uid}/
openapi: 3.0.0
info:
  title: Avala API
  description: >

    # Authentication


    ## Generating an API Key


    The Avala SDK uses API keys to authenticate requests. You can create and
    manage your API keys from the

    Settings page of Mission Control.


    Follow these steps to generate a new API key:


    1. Open your settings page by clicking on your user avatar located at the
    top right-hand corner of any
        Mission Control screen, and select `Settings`.
    2. From the left-hand sub-menu, select `Security & Identity`.

    3. Click on `New API Key`, enter a name for the key, and then click `Create
    key`.


    The new key will be automatically copied to your clipboard. Please note, for
    security reasons, the key

    will not be accessible once you close the window. Ensure you store it in a
    safe location before closing

    the pop-up modal.


    ### Video walkthrough of API key generation


    <iframe class="embedly-embed"
    src="//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2F
        www.youtube.com%2Fembed%2FTYdLhkAAbLA%3Ffeature%3Doembed&display_name=YouTube&url=https%3A%2F%2F
        www.youtube.com%2Fwatch%3Fv%3DTYdLhkAAbLA&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTYdLhkAAbLA%2F
        hqdefault.jpg&key=7788cb384c9f4d5dbbdbeffd9fe4b92f&type=text%2Fhtml&schema=youtube" width="854"
        height="480" scrolling="no" title="YouTube embed" frameborder="0" allow="autoplay;
        fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe>


    ## Authenticating with an API Key


    This is the easiest part! Just add a header named `X-Avala-Api-Key` to your
    requests and set the

    previously generated API Key as the value.
  termsOfService: https://avala.ai/legal/terms
  contact:
    email: support@avala.ai
  version: v1
servers:
  - url: https://api.avala.ai/api/v1
security:
  - API_Key: []
  - JWT: []
tags:
  - name: datasets
    description: To be completed...
  - name: projects
    description: To be completed...
  - name: tasks
    description: List and retrieve annotation tasks.
  - name: exports
    description: To be completed...
paths:
  /datasets/{owner_name}/{dataset_slug}/sequences/{uid}/:
    parameters:
      - name: owner_name
        in: path
        required: true
        schema:
          type: string
      - name: dataset_slug
        in: path
        required: true
        schema:
          type: string
      - name: uid
        in: path
        required: true
        schema:
          type: string
    get:
      tags:
        - datasets
      operationId: datasets_sequences_read
      parameters:
        - name: load
          in: query
          description: 'Frames to load, e.g.: 0,5,10-15'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SequenceDetailResponse'
components:
  schemas:
    SequenceDetailResponse:
      required:
        - key
      type: object
      properties:
        uid:
          title: Uid
          type: string
          format: uuid
          readOnly: true
        key:
          title: Key
          type: string
          maxLength: 1024
          minLength: 1
        status:
          title: Status
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        is_workflow_terminal:
          title: Is workflow terminal
          type: boolean
          readOnly: true
        sequence_status_workflow:
          $ref: '#/components/schemas/SequenceStatusWorkflow'
        sequence_deliverable_workflow:
          $ref: '#/components/schemas/SequenceDeliverableWorkflow'
        predefined_labels:
          type: array
          items:
            $ref: '#/components/schemas/DatasetSequencePredefinedLabel'
          readOnly: true
        frames:
          type: array
          items:
            $ref: '#/components/schemas/DatasetSequenceFrame'
          readOnly: true
        annotation_storage:
          title: Annotation storage
          type: object
          readOnly: true
        metrics:
          title: Metrics
          type: object
        dataset_uid:
          title: Dataset uid
          type: string
          readOnly: true
        dataset_data_type:
          title: Dataset data type
          type: string
          readOnly: true
          minLength: 1
        device_id:
          title: Device id
          type: string
          maxLength: 255
          nullable: true
        allow_lidar_calibration:
          title: Allow lidar calibration
          type: boolean
        lidar_calibration_enabled:
          title: Lidar calibration enabled
          type: boolean
          readOnly: true
        camera_calibration_enabled:
          title: Camera calibration enabled
          type: boolean
          readOnly: true
        camera_calibration:
          description: >
            The camera calibration that applies to *this* sequence, and where
            each value came from.

                    Belongs on the sequence rather than the dataset: it is per-sequence information, and
                    reading it off the dataset is precisely how 243 Serve sequences ended up sharing one
                    robot's calibration. Values are raw (no per-frame time-offset correction folded in) —
                    this is what the calibration editor edits; the corrected, per-frame form travels with
                    each frame in ``camera_calibration_data``.

                    One query, on a retrieve-only serializer, so there is no list-view N+1 to worry about.
          type: array
          items:
            type: object
            additionalProperties:
              type: string
              nullable: true
          readOnly: true
        crop_data:
          $ref: '#/components/schemas/DatasetItemCrop'
        coc_timeline:
          description: |
            Chain-of-Causation autolabel timeline — **staff-only**.

                    Read from the durable ``DatasetSequence.metadata`` JSON field (NOT
                    ``metrics``, which is overwritten by
                    ``update_lidar_phase_4_sequence_metrics`` on annotation activity).  These
                    are machine-generated *draft* labels from the Alpamayo CoC autolabeler and
                    must never reach annotators or customers, so we gate on ``is_staff`` and
                    return ``None`` for everyone else — the field is then absent for the FE,
                    which keeps the Mission Control "Chain of Causation" tab hidden.
          type: array
          items:
            type: object
            additionalProperties:
              type: string
              nullable: true
          readOnly: true
    SequenceStatusWorkflow:
      required:
        - workflow_revision_uid
        - initial_status
        - terminal_status
        - statuses
      type: object
      properties:
        workflow_revision_uid:
          title: Workflow revision uid
          type: string
          format: uuid
          nullable: true
        initial_status:
          title: Initial status
          type: string
          minLength: 1
        terminal_status:
          title: Terminal status
          type: string
          minLength: 1
        statuses:
          type: array
          items:
            $ref: '#/components/schemas/SequenceStatusDefinition'
      nullable: true
    SequenceDeliverableWorkflow:
      required:
        - schema_version
        - workflow_revision_uid
        - is_complete
        - deliverables
      type: object
      properties:
        schema_version:
          title: Schema version
          type: integer
        workflow_revision_uid:
          title: Workflow revision uid
          type: string
          format: uuid
        is_complete:
          title: Is complete
          type: boolean
        deliverables:
          type: array
          items:
            $ref: '#/components/schemas/SequenceDeliverableDefinition'
      nullable: true
    DatasetSequencePredefinedLabel:
      type: object
      properties:
        uid:
          title: Uid
          type: string
          format: uuid
          readOnly: true
        code:
          title: Code
          type: integer
          readOnly: true
          nullable: true
        name:
          title: Name
          type: string
          readOnly: true
        color:
          title: Color
          type: string
          readOnly: true
          nullable: true
        icon_name:
          title: Icon name
          type: string
          maxLength: 100
          nullable: true
        article_uid:
          title: Article uid
          type: string
          format: uuid
          readOnly: true
          nullable: true
        locked:
          title: Locked
          type: boolean
          readOnly: true
        is_countable:
          title: Is countable
          type: boolean
          readOnly: true
        tool_availability:
          type: array
          items:
            type: string
          readOnly: true
    DatasetSequenceFrame:
      required:
        - uid
        - index
        - key
        - asset_url
        - image_urls
      type: object
      properties:
        uid:
          title: Uid
          type: string
          format: uuid
        index:
          title: Index
          type: integer
        key:
          title: Key
          type: string
          minLength: 1
        asset_url:
          title: Asset url
          type: string
          minLength: 1
        image_urls:
          type: array
          items:
            type: string
            minLength: 1
        image_sensor_ids:
          description: >-
            ALP sensor codes parallel to image_urls. A null slot is an index
            camera; a missing array is unknown.
          type: array
          items:
            type: string
            minLength: 1
            nullable: true
          readOnly: true
          nullable: true
        image_item_refs:
          type: array
          items:
            $ref: '#/components/schemas/DatasetSequenceImageItemRef'
          readOnly: true
        image_source_indices:
          description: >-
            Original ALP camera slots, parallel to the returned image_urls
            array.
          type: array
          items:
            type: integer
            minimum: 0
          readOnly: true
        gpu_texture_urls:
          type: array
          items:
            type: string
            minLength: 1
          nullable: true
        gpu_texture_source_indices:
          description: >-
            Original ALP camera slots, parallel to the returned gpu_texture_urls
            array.
          type: array
          items:
            type: integer
            minimum: 0
          readOnly: true
        phase_1_labels_url:
          title: Phase 1 labels url
          type: string
          minLength: 1
          nullable: true
        phase_1_colors_url:
          title: Phase 1 colors url
          type: string
          minLength: 1
          nullable: true
        phase_1_intensities_url:
          title: Phase 1 intensities url
          type: string
          minLength: 1
          nullable: true
        phase_1_cuboids_url:
          title: Phase 1 cuboids url
          type: string
          minLength: 1
          nullable: true
        total_points:
          title: Total points
          type: integer
          nullable: true
        frame_box:
          title: Frame box
          type: object
          additionalProperties:
            type: string
            nullable: true
          nullable: true
        export_snippet:
          title: Export snippet
          type: object
          additionalProperties:
            type: string
            nullable: true
          nullable: true
        calibration_data:
          $ref: '#/components/schemas/LidarCalibrationData'
        camera_calibration_data:
          title: Camera calibration data
          type: object
          additionalProperties:
            $ref: '#/components/schemas/CameraCalibrationData'
          nullable: true
        sensor_position:
          title: Sensor position
          type: object
          additionalProperties:
            type: string
            nullable: true
          nullable: true
        sensor_heading:
          title: Sensor heading
          type: object
          additionalProperties:
            type: string
            nullable: true
          nullable: true
        asset_version:
          title: Asset version
          type: string
          minLength: 1
          nullable: true
        phase_1_labels_version:
          title: Phase 1 labels version
          type: string
          minLength: 1
          nullable: true
        phase_1_intensities_version:
          title: Phase 1 intensities version
          type: string
          minLength: 1
          nullable: true
        phase_1_ground_url:
          title: Phase 1 ground url
          type: string
          minLength: 1
          nullable: true
        phase_1_ground_version:
          title: Phase 1 ground version
          type: string
          minLength: 1
          nullable: true
        phase_1_frame_ground_url:
          title: Phase 1 frame ground url
          type: string
          minLength: 1
          nullable: true
        phase_1_frame_ground_version:
          title: Phase 1 frame ground version
          type: string
          minLength: 1
          nullable: true
    DatasetItemCrop:
      type: object
      properties:
        crop_annotations_in_2d:
          type: array
          items:
            $ref: '#/components/schemas/CropAnnotationsIn2dSerailizer'
          nullable: true
        crop_annotations_polygon_mask:
          description: >-
            List of coordinates for the polygon mask in the format: [[x1, y1],
            ..., [xN, yN]].
          type: array
          items:
            type: array
            items:
              type: number
            maxItems: 2
            minItems: 2
          readOnly: true
          minItems: 3
          nullable: true
        where:
          title: Where
          type: string
          enum:
            - dataset
            - sequence
            - frame
            - dataset_item
          nullable: true
    SequenceStatusDefinition:
      required:
        - id
        - label
        - order
        - is_terminal
      type: object
      properties:
        id:
          title: Id
          type: string
          minLength: 1
        label:
          title: Label
          type: string
          minLength: 1
        order:
          title: Order
          type: integer
        is_terminal:
          title: Is terminal
          type: boolean
    SequenceDeliverableDefinition:
      required:
        - id
        - label
        - order
        - annotation_scope
        - required
        - is_unlocked
        - workflow_state
        - approval_state
        - approval_outcome
        - workflow_states
        - approval_states
      type: object
      properties:
        id:
          title: Id
          type: string
          minLength: 1
        label:
          title: Label
          type: string
          minLength: 1
        order:
          title: Order
          type: integer
        annotation_scope:
          title: Annotation scope
          type: string
          minLength: 1
        required:
          title: Required
          type: boolean
        is_unlocked:
          title: Is unlocked
          type: boolean
        workflow_state:
          title: Workflow state
          type: string
          minLength: 1
          nullable: true
        approval_state:
          title: Approval state
          type: string
          minLength: 1
          nullable: true
        approval_outcome:
          title: Approval outcome
          type: string
          minLength: 1
          nullable: true
        workflow_states:
          type: array
          items:
            $ref: '#/components/schemas/SequenceDeliverableStateDefinition'
        approval_states:
          type: array
          items:
            $ref: '#/components/schemas/SequenceDeliverableStateDefinition'
    DatasetSequenceImageItemRef:
      type: object
      properties:
        image_index:
          title: Image index
          type: integer
          readOnly: true
          minimum: 0
        dataset_uid:
          title: Dataset uid
          type: string
          format: uuid
          readOnly: true
        item_uid:
          title: Item uid
          type: string
          format: uuid
          readOnly: true
        owner_name:
          title: Owner name
          description: >-
            Canonical source dataset owner route. Null when no safe canonical
            route is available.
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        dataset_slug:
          title: Dataset slug
          description: Source dataset slug. Null when no safe canonical route is available.
          type: string
          readOnly: true
          minLength: 1
          nullable: true
    LidarCalibrationData:
      required:
        - dx
        - dy
        - dz
        - qx
        - qy
        - qz
        - qw
        - frame_index
      type: object
      properties:
        dx:
          title: Dx
          type: number
        dy:
          title: Dy
          type: number
        dz:
          title: Dz
          type: number
        qx:
          title: Qx
          type: number
        qy:
          title: Qy
          type: number
        qz:
          title: Qz
          type: number
        qw:
          title: Qw
          type: number
        frame_index:
          title: Frame index
          type: integer
        reference_figures:
          type: array
          items:
            $ref: '#/components/schemas/LidarCalibrationReferenceFigureAtFrame'
          nullable: true
      nullable: true
    CameraCalibrationData:
      required:
        - dx
        - dy
        - dz
        - qx
        - qy
        - qz
        - qw
      type: object
      properties:
        dx:
          title: Dx
          type: number
        dy:
          title: Dy
          type: number
        dz:
          title: Dz
          type: number
        qx:
          title: Qx
          type: number
        qy:
          title: Qy
          type: number
        qz:
          title: Qz
          type: number
        qw:
          title: Qw
          type: number
        sensor_id:
          title: Sensor id
          type: string
          maxLength: 255
          minLength: 1
          nullable: true
    CropAnnotationsIn2dSerailizer:
      required:
        - z
        - classes
      type: object
      properties:
        z:
          title: Z
          type: number
        classes:
          type: array
          items:
            type: string
            minLength: 1
          minItems: 1
      nullable: true
    SequenceDeliverableStateDefinition:
      required:
        - id
        - label
        - order
        - is_terminal
      type: object
      properties:
        id:
          title: Id
          type: string
          minLength: 1
        label:
          title: Label
          type: string
          minLength: 1
        order:
          title: Order
          type: integer
        is_terminal:
          title: Is terminal
          type: boolean
        outcome:
          title: Outcome
          type: string
          minLength: 1
    LidarCalibrationReferenceFigureAtFrame:
      required:
        - cross_frames_uid
        - type
        - figure_data
      type: object
      properties:
        cross_frames_uid:
          title: Cross frames uid
          type: string
          minLength: 1
        type:
          title: Type
          type: string
          enum:
            - 3d_plane
        figure_data:
          title: Figure data
          type: object
          additionalProperties:
            type: string
            nullable: true
      nullable: true
  securitySchemes:
    API_Key:
      type: apiKey
      name: X-Avala-Api-Key
      in: header
      description: >-
        API key for authentication. Generate one in Mission Control Settings >
        Security & Identity.
    JWT:
      type: apiKey
      name: Authorization
      in: header
      description: JWT token with 'JWT' prefix, e.g., 'JWT eyJhbGciOiJIUzI1NiIsInR...'

````