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

# Estimate a mission

> Prices a set of tasks without creating anything: per-task subtotals,
QA processing for the expected number of submissions, collector pool
size and delivery time. This is the same estimate the mission planner
shows before you approve.




## OpenAPI

````yaml /openapi.yaml post /missions/estimate
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:
  /missions/estimate:
    post:
      tags:
        - Planning
      summary: Estimate a mission
      description: |
        Prices a set of tasks without creating anything: per-task subtotals,
        QA processing for the expected number of submissions, collector pool
        size and delivery time. This is the same estimate the mission planner
        shows before you approve.
      operationId: estimateMission
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - tasks
              properties:
                tasks:
                  type: array
                  minItems: 1
                  items:
                    $ref: '#/components/schemas/TaskInput'
                regions:
                  type: array
                  items:
                    $ref: '#/components/schemas/Region'
                  example:
                    - US
                    - PT
                    - MX
      responses:
        '200':
          description: The estimate.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Estimate'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    TaskInput:
      type: object
      required:
        - name
        - videos
      properties:
        name:
          type: string
          example: Fold t-shirt
        instructions:
          type: string
          description: >-
            Shown to collectors in the Capibo app. Generated from `name` if
            omitted.
          example: Fold sleeves in, then fold the shirt in thirds lengthwise.
        videos:
          type: integer
          minimum: 1
          description: Accepted videos to collect for this task.
          example: 900
        duration:
          type: array
          description: Target clip length in seconds, `[min, max]`.
          items:
            type: integer
          minItems: 2
          maxItems: 2
          example:
            - 20
            - 45
        labels:
          type: array
          items:
            type: string
          example:
            - t-shirt
            - fold
            - two-hand
    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
    Estimate:
      type: object
      properties:
        lines:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
                example: Fold t-shirt
              videos:
                type: integer
                example: 900
              price:
                type: number
                example: 3.19
              subtotal:
                type: number
                example: 2871
        total_videos:
          type: integer
          example: 3450
        accept_rate:
          type: number
          description: Expected share of submissions that pass QA, from similar missions.
          example: 0.85
        expected_submissions:
          type: integer
          example: 4059
        collection:
          type: number
          description: Sum of task subtotals, USD.
          example: 9591.5
        processing:
          type: number
          description: QA fee ($0.15) × expected submissions, USD.
          example: 608.85
        total:
          type: number
          example: 10200.35
        collectors:
          type: integer
          example: 363
        days:
          type: integer
          description: Estimated days to reach the target.
          example: 11
        hours:
          type: number
          description: Total footage, hours.
          example: 24.3
        balance_covers:
          type: boolean
          example: true
    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:
    BadRequest:
      description: The request is invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: invalid_request
              code: parameter_invalid
              message: tasks[0].videos must be at least 1.
              param: tasks[0].videos
    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.
  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.