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

# List dataset videos

> Videos for the dataset's mission, newest first. To sync incrementally,
store `next_cursor` and pass it back as `cursor`, or pass
`created_after` with the `created_at` of the last video you processed.




## OpenAPI

````yaml /openapi.yaml get /datasets/{dataset_id}/videos
openapi: 3.1.0
info:
  title: Capibo API
  version: '1.0'
  description: |
    Plan data-collection missions, track quality review, and pull accepted
    egocentric videos into your robot-training pipeline.
  contact:
    name: Capibo support
    email: support@capibo.work
servers:
  - url: https://api.capibo.work/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Missions
    description: Create and manage data-collection missions.
  - name: Planning
    description: Price a mission before you launch it.
  - name: Datasets
    description: Accepted videos, grouped per mission.
  - name: Videos
    description: Individual submissions and their quality-review results.
  - name: Exports
    description: Package a dataset into a training format and deliver it.
  - name: Billing
    description: Prepaid credits, transactions and promo codes.
  - name: Usage
    description: Collection volume and spend over time.
  - name: Webhooks
    description: Get notified when videos are accepted, missions finish and more.
paths:
  /datasets/{dataset_id}/videos:
    parameters:
      - $ref: '#/components/parameters/DatasetId'
    get:
      tags:
        - Datasets
      summary: List dataset videos
      description: |
        Videos for the dataset's mission, newest first. To sync incrementally,
        store `next_cursor` and pass it back as `cursor`, or pass
        `created_after` with the `created_at` of the last video you processed.
      operationId: listDatasetVideos
      parameters:
        - name: status
          in: query
          description: Defaults to `accepted`, the videos that make up the dataset.
          schema:
            $ref: '#/components/schemas/VideoStatus'
            default: accepted
        - name: task_id
          in: query
          schema:
            type: string
            example: T-2
        - name: created_after
          in: query
          schema:
            type: string
            format: date-time
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: A page of videos.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Page'
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          $ref: '#/components/schemas/Video'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    DatasetId:
      name: dataset_id
      in: path
      required: true
      schema:
        type: string
        example: DS-301
    Limit:
      name: limit
      in: query
      description: Page size.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
    Cursor:
      name: cursor
      in: query
      description: The `next_cursor` from the previous page.
      schema:
        type: string
  schemas:
    VideoStatus:
      type: string
      enum:
        - processing
        - accepted
        - rejected
      description: '`processing` means the video is still in quality review.'
    Page:
      type: object
      required:
        - data
        - has_more
      properties:
        data:
          type: array
          items: {}
        has_more:
          type: boolean
        next_cursor:
          type:
            - string
            - 'null'
          description: Pass as `cursor` to fetch the next page. `null` on the last page.
          example: eyJpZCI6IlZJRC03ODQxNzUifQ
    Video:
      type: object
      properties:
        id:
          type: string
          example: VID-784210
        mission_id:
          type: string
          example: MSN-1042
        dataset_id:
          type:
            - string
            - 'null'
          example: DS-301
        task_id:
          type: string
          example: T-2
        task:
          type: string
          example: Fold t-shirt
        status:
          $ref: '#/components/schemas/VideoStatus'
        quality:
          type:
            - integer
            - 'null'
          description: QA score 0–100. `null` while processing.
          example: 91
        rejection_reason:
          type:
            - string
            - 'null'
          example: null
          examples:
            - Hands leave frame for more than 2s
            - Insufficient lighting
            - Motion blur above threshold
            - Task not completed
            - Face visible without consent
            - Camera not egocentric
            - Duplicate submission
        duration:
          type: number
          description: Seconds.
          example: 34
        resolution:
          type: string
          example: 1920×1080
        fps:
          type: integer
          example: 30
        size_mb:
          type: number
          example: 57.8
        device:
          type: string
          example: iPhone 16 Pro
        collector_id:
          type: string
          description: Pseudonymous collector ID.
          example: C-58214
        region:
          $ref: '#/components/schemas/Region'
        labels:
          type: array
          items:
            type: string
          example:
            - t-shirt
            - fold
            - two-hand
        checks:
          type: object
          description: Individual quality-review checks.
          properties:
            hands_in_frame:
              type: boolean
              example: true
            lighting:
              type: integer
              description: 0–100.
              example: 88
            blur:
              type: integer
              description: 0–100
              lower is sharper.: null
              example: 6
            task_complete:
              type: boolean
              example: true
            privacy:
              type: boolean
              description: No faces or personal data in frame.
              example: true
        download_url:
          type:
            - string
            - 'null'
          format: uri
          description: Signed MP4 URL, valid for 1 hour. Only on accepted videos.
        annotations_url:
          type:
            - string
            - 'null'
          format: uri
          description: Signed JSON annotations URL, valid for 1 hour.
        created_at:
          type: string
          format: date-time
    Region:
      type: string
      description: ISO 3166-1 alpha-2 country code (UK for the United Kingdom).
      enum:
        - US
        - CA
        - MX
        - BR
        - UK
        - DE
        - ES
        - PT
        - PL
        - IN
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
          properties:
            type:
              type: string
              enum:
                - invalid_request
                - authentication_error
                - permission_denied
                - not_found
                - conflict
                - payment_required
                - rate_limited
                - api_error
            code:
              type: string
              description: Machine-readable reason.
            message:
              type: string
              description: Human-readable explanation.
            param:
              type: string
              description: The parameter that caused the error
              if any.: null
  responses:
    Unauthorized:
      description: The API key is missing, invalid or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: authentication_error
              code: api_key_invalid
              message: Invalid API key.
    NotFound:
      description: The resource doesn't exist or isn't visible to this key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: not_found
              code: resource_missing
              message: No mission with id MSN-9999.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API key from **Settings → API keys**, e.g. `cpb_live_…` or
        `cpb_test_…`.

````

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