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

# Agent-friendly read-only health snapshot for a dataset.

> GET /api/v1/datasets/<owner_name>/<slug>/health/

Returns ingest/indexing status, frame totals, per-sequence counts, and
whether lidar/camera calibration is attached. Intended for programmatic
post-ingest validation — lets a client verify "what I uploaded" matches
"what the server sees" without opening Mission Control.



## OpenAPI

````yaml /api-reference/openapi.json get /datasets/{owner_name}/{slug}/health/
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}/{slug}/health/:
    parameters:
      - name: owner_name
        in: path
        required: true
        schema:
          type: string
      - name: slug
        in: path
        required: true
        schema:
          type: string
    get:
      tags:
        - datasets
      summary: Agent-friendly read-only health snapshot for a dataset.
      description: |-
        GET /api/v1/datasets/<owner_name>/<slug>/health/

        Returns ingest/indexing status, frame totals, per-sequence counts, and
        whether lidar/camera calibration is attached. Intended for programmatic
        post-ingest validation — lets a client verify "what I uploaded" matches
        "what the server sees" without opening Mission Control.
      operationId: datasets_health_list
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetHealth'
components:
  schemas:
    DatasetHealth:
      required:
        - dataset_uid
        - dataset_slug
        - dataset_status
        - data_type
        - is_sequence
        - item_count
        - sequence_count
        - total_frames
        - s3_prefix
        - gc_storage_prefix
        - last_updated_at
        - sequences
        - ingest_ok
        - issues
      type: object
      properties:
        dataset_uid:
          title: Dataset uid
          type: string
          minLength: 1
        dataset_slug:
          title: Dataset slug
          type: string
          minLength: 1
        dataset_status:
          title: Dataset status
          type: string
          minLength: 1
        data_type:
          title: Data type
          type: string
          minLength: 1
        is_sequence:
          title: Is sequence
          type: boolean
        item_count:
          title: Item count
          type: integer
        sequence_count:
          title: Sequence count
          type: integer
        total_frames:
          title: Total frames
          type: integer
        s3_prefix:
          title: S3 prefix
          type: string
          minLength: 1
          nullable: true
        gc_storage_prefix:
          title: Gc storage prefix
          type: string
          minLength: 1
          nullable: true
        last_updated_at:
          title: Last updated at
          type: string
          format: date-time
          nullable: true
        sequences:
          type: array
          items:
            $ref: '#/components/schemas/SequenceHealth'
        ingest_ok:
          title: Ingest ok
          type: boolean
        issues:
          type: array
          items:
            type: string
            minLength: 1
    SequenceHealth:
      required:
        - uid
        - key
        - status
        - frame_count
        - has_lidar_calibration
        - has_camera_calibration
      type: object
      properties:
        uid:
          title: Uid
          type: string
          minLength: 1
        key:
          title: Key
          type: string
          minLength: 1
        status:
          title: Status
          type: string
          minLength: 1
        frame_count:
          title: Frame count
          type: integer
        has_lidar_calibration:
          title: Has lidar calibration
          type: boolean
        has_camera_calibration:
          title: Has camera calibration
          type: boolean
  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...'

````