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

> An API key returns the dataset representation shown here. A signed-in workspace session can also include its sequence workflow.



## OpenAPI

````yaml /api-reference/openapi.json get /datasets/{owner_name}/{slug}/
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}/:
    parameters:
      - name: owner_name
        in: path
        required: true
        schema:
          type: string
      - name: slug
        in: path
        required: true
        schema:
          type: string
    get:
      tags:
        - datasets
      description: >-
        An API key returns the dataset representation shown here. A signed-in
        workspace session can also include its sequence workflow.
      operationId: datasets_read
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetApiKeyResponse'
components:
  schemas:
    DatasetApiKeyResponse:
      required:
        - name
        - slug
      type: object
      properties:
        storage_provider:
          title: Storage provider
          description: >-
            Current configured dataset storage connector, not every revision
            origin or replica. Null when no recognized connector is configured.
          type: string
          enum:
            - aws_s3
            - gc_storage
            - cloudflare_r2
            - huggingface_bucket
          readOnly: true
          nullable: true
        uid:
          title: Uid
          type: string
          format: uuid
          readOnly: true
        name:
          title: Name
          type: string
          maxLength: 100
          minLength: 1
        data_type:
          title: Data type
          type: string
          enum:
            - image
            - lidar
            - video
            - mcap
            - rrd
            - splat
        is_sequence:
          title: Is sequence
          description: If dataset data type is a sequence, for example video
          type: boolean
          readOnly: true
        slug:
          title: Slug
          type: string
          maxLength: 100
          minLength: 1
        featured_items_url:
          description: List of the first 4 found dataset items' URL
          type: array
          items:
            type: string
            nullable: true
          readOnly: true
        item_count:
          title: Item count
          type: integer
          readOnly: true
          nullable: true
        semantic_search_enabled:
          title: Semantic search enabled
          description: >-
            Enable semantic (?search=) ranking for this dataset. Only turn on
            after an async backfill and `backfill_embeddings <dataset_id>
            --coverage-only` reports exact-current coverage.
          type: boolean
          readOnly: true
        content_watermark_enabled:
          title: Content watermark enabled
          description: >-
            Watermark this dataset's viewers with the viewing session (traceable
            screenshots).
          type: boolean
          nullable: true
        customer_issue_count:
          title: Customer issue count
          type: integer
          readOnly: true
          nullable: true
        staff_issue_count:
          title: Staff issue count
          type: integer
          readOnly: true
          nullable: true
        status:
          title: Status
          type: string
          readOnly: true
        owner_name:
          title: Owner name
          description: The name of the dataset owner
          type: string
          readOnly: true
          minLength: 1
        owner_summary:
          $ref: '#/components/schemas/OwnerSummary'
        organization:
          required:
            - name
          type: object
          properties:
            uid:
              title: Uid
              type: string
              format: uuid
              readOnly: true
            name:
              title: Name
              type: string
              maxLength: 1024
              minLength: 1
            slug:
              title: Slug
              type: string
              format: slug
              pattern: ^[-a-zA-Z0-9_]+$
              readOnly: true
              minLength: 1
            description:
              title: Description
              type: string
              maxLength: 1024
            logo:
              title: Logo
              type: string
              readOnly: true
              format: uri
              nullable: true
            website:
              title: Website
              type: string
              format: uri
            public_slug:
              title: Public slug
              description: >-
                Canonical slug for URL rendering. Coworker viewers receive the
                organization's codename; others receive the real slug.
              type: string
              readOnly: true
          readOnly: true
          nullable: true
        created_at:
          title: Created at
          type: string
          format: date-time
          readOnly: true
        updated_at:
          title: Updated at
          type: string
          format: date-time
          readOnly: true
        visibility:
          title: Visibility
          type: string
          enum:
            - public
            - private
            - unlisted
        projects:
          type: array
          items:
            $ref: '#/components/schemas/ProjectBase'
          readOnly: true
        project_count:
          title: Project count
          type: integer
          readOnly: true
        liked:
          title: Liked
          description: True if current user likes this dataset
          type: boolean
          readOnly: true
        industry:
          title: Industry
          type: integer
          nullable: true
        industry_uid:
          title: Industry uid
          type: string
          format: uuid
          readOnly: true
        industry_name:
          title: Industry name
          type: string
          readOnly: true
          minLength: 1
        license:
          title: License
          type: integer
          nullable: true
        license_uid:
          title: License uid
          type: string
          format: uuid
          readOnly: true
        license_name:
          title: License name
          type: string
          readOnly: true
          minLength: 1
        license_key:
          title: License key
          type: string
          readOnly: true
          minLength: 1
        citation:
          title: Citation
          type: string
          maxLength: 255
          nullable: true
        creator:
          title: Creator
          type: string
          maxLength: 100
          nullable: true
        description:
          title: Description
          type: string
          maxLength: 1024
          nullable: true
        readme:
          title: Readme
          type: string
          maxLength: 65536
          nullable: true
        tags:
          description: 'Ordered discovery topics: lowercase letters, numbers, and hyphens.'
          type: array
          items:
            type: string
            maxLength: 50
            minLength: 1
          maxItems: 20
          nullable: true
        unique_subjects:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: true
        unique_classify_tags:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: true
        annotations_count:
          title: Annotations count
          type: integer
          readOnly: true
        size_bytes:
          title: Size bytes
          type: integer
          readOnly: true
          nullable: true
        predefined_labels:
          type: array
          items:
            $ref: '#/components/schemas/DatasetPredefinedLabel'
          readOnly: true
        indexable_metadata:
          type: array
          items:
            $ref: '#/components/schemas/DatasetIndexableMetadata'
          readOnly: true
        related_datasets:
          type: array
          items:
            $ref: '#/components/schemas/RelatedDataset'
          readOnly: true
        create_metadata:
          title: Create metadata
          type: boolean
          default: false
        metadata:
          title: Metadata
          type: object
        sync:
          title: Sync
          description: >-
            Live-dataset sync state; null when the dataset has no periodic
            bucket sync
          type: object
          readOnly: true
          nullable: true
        gpu_texture_format:
          title: Gpu texture format
          type: string
          enum:
            - ktx
            - ktx2
          nullable: true
        download_count:
          title: Download count
          type: integer
          readOnly: true
          nullable: true
        like_count:
          title: Like count
          type: integer
          readOnly: true
          nullable: true
        star_count:
          title: Star count
          type: integer
          readOnly: true
          nullable: true
        fork_count:
          title: Fork count
          type: integer
          readOnly: true
          nullable: true
        view_count:
          title: View count
          type: integer
          readOnly: true
        popularity_score:
          title: Popularity score
          type: number
          readOnly: true
        paper_count:
          title: Paper count
          type: integer
          readOnly: true
          nullable: true
        source_name:
          title: Source name
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        source_type:
          title: Source type
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        source_url:
          title: Source url
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        homepage_url:
          title: Homepage url
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        paper_url:
          title: Paper url
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        code_url:
          title: Code url
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        download_url:
          title: Download url
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        num_episodes:
          title: Num episodes
          type: integer
          readOnly: true
          nullable: true
        num_hours:
          title: Num hours
          type: number
          readOnly: true
          nullable: true
        num_tasks:
          title: Num tasks
          type: integer
          readOnly: true
          nullable: true
        motion_type:
          title: Motion type
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        viewpoint:
          title: Viewpoint
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        realness:
          title: Realness
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        embodiment:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: true
        environment:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: true
        modality:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: true
        outcome:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: true
        format:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: true
        hosting_status:
          title: Hosting status
          type: string
          enum:
            - links
            - in_progress
            - rehosted
          readOnly: true
        usage_snippet:
          title: Usage snippet
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        can_manage:
          title: Can manage
          description: Whether the requesting user may edit this dataset's settings.
          type: boolean
          readOnly: true
        can_archive:
          title: Can archive
          description: Whether the requesting user may archive (hide) this dataset.
          type: boolean
          readOnly: true
    OwnerSummary:
      description: Typed logical owner identity for avatar rendering and profile routing.
      required:
        - uid
        - entity_type
        - route_name
        - display_name
        - avatar_url
      type: object
      properties:
        uid:
          title: Uid
          type: string
          format: uuid
        entity_type:
          title: Entity type
          type: string
          enum:
            - user
            - organization
        route_name:
          title: Route name
          type: string
          minLength: 1
        display_name:
          title: Display name
          type: string
          minLength: 1
        avatar_url:
          title: Avatar url
          type: string
          format: uri
          minLength: 1
          nullable: true
    ProjectBase:
      required:
        - name
      type: object
      properties:
        uid:
          title: Uid
          type: string
          format: uuid
          readOnly: true
        name:
          title: Name
          type: string
          maxLength: 100
          minLength: 1
        task_type:
          title: Task type
          type: string
          enum:
            - image-annotation
            - video-annotation
            - point-cloud-annotation
            - point-cloud-objects
            - data-collection
        status:
          title: Status
          type: string
          enum:
            - pending-approval
            - active
            - paused
            - canceled
            - archived
            - completed
          readOnly: true
        is_active:
          title: Is active
          type: boolean
          readOnly: true
        visibility:
          title: Visibility
          type: string
          enum:
            - public
            - private
        is_imported:
          title: Is imported
          type: boolean
          readOnly: true
        owner_name:
          title: Owner name
          description: The name of the project owner
          type: string
          readOnly: true
        short_description:
          title: Short description
          type: string
          readOnly: true
          minLength: 1
        industry_icon:
          title: Industry icon
          type: string
          readOnly: true
          nullable: true
        task_time_cap_seconds:
          title: Task time cap seconds
          description: >-
            Max time allowed per task in seconds. Overrides default task earning
            time.
          type: integer
          maximum: 2147483647
          minimum: 0
          nullable: true
    DatasetPredefinedLabel:
      required:
        - label_code
      type: object
      properties:
        label_code:
          title: Label code
          type: integer
          maximum: 32767
          minimum: 0
        locked:
          title: Locked
          type: boolean
        name:
          title: Name
          type: string
          readOnly: true
        color:
          title: Color
          type: string
          readOnly: true
          nullable: true
        icon_name:
          title: Icon name
          type: string
          minLength: 1
        article_uid:
          title: Article uid
          type: string
          minLength: 1
        is_countable:
          title: Is countable
          type: boolean
        tool_availability:
          description: Annotation tools that may use this label. Empty means all tools.
          type: array
          items:
            title: Tool availability
            type: string
            enum:
              - crop
              - box
              - cuboid
              - classification
              - polygon
              - point cloud segmentation
              - point cloud polyline
              - image segmentation
              - cuboid 3d
              - object mask
              - polyline 3d
    DatasetIndexableMetadata:
      required:
        - key
        - values
      type: object
      properties:
        key:
          title: Key
          type: string
          minLength: 1
        values:
          type: array
          items:
            type: string
            minLength: 1
    RelatedDataset:
      required:
        - slug
      type: object
      properties:
        storage_provider:
          title: Storage provider
          description: >-
            Current configured dataset storage connector, not every revision
            origin or replica. Null when no recognized connector is configured.
          type: string
          enum:
            - aws_s3
            - gc_storage
            - cloudflare_r2
            - huggingface_bucket
          readOnly: true
          nullable: true
        uid:
          title: Uid
          type: string
          format: uuid
          readOnly: true
        slug:
          title: Slug
          type: string
          maxLength: 100
          minLength: 1
        owner_name:
          title: Owner name
          description: The name of the dataset owner
          type: string
          readOnly: true
          minLength: 1
        data_type:
          title: Data type
          type: string
          readOnly: true
          minLength: 1
        relation_status:
          title: Relation status
          type: string
          readOnly: true
          minLength: 1
          nullable: true
        camera_regexes:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: true
        sensor_ids:
          type: array
          items:
            type: string
            minLength: 1
          readOnly: 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...'

````