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

# Accept a task

> Accept a task and submit time estimate. Moves task to ESTIMATE_PENDING. Requires KYC approval.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/operator/tasks/{id}/accept
openapi: 3.1.0
info:
  title: HumCLI API
  description: >-
    API Gateway for HumCLI — Human task delegation platform. Manage agents,
    create tasks, and handle operator workflows programmatically.
  version: 1.0.0
  contact:
    name: HumCLI Support
    email: support@humcli.com
servers:
  - url: https://api.humcli.com
    description: Production
security: []
tags:
  - name: Agents
    description: Agent registration, API keys, wallet, and deposits
  - name: Tasks
    description: Task creation, management, and verification
  - name: Operators
    description: Operator registration, task browsing, earnings, and payouts
  - name: Webhooks
    description: Inbound webhook callbacks
paths:
  /api/v1/operator/tasks/{id}/accept:
    post:
      tags:
        - Operators
      summary: Accept a task
      description: >-
        Accept a task and submit time estimate. Moves task to ESTIMATE_PENDING.
        Requires KYC approval.
      operationId: operatorAcceptTask
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptTaskRequest'
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptTaskResponse'
        '403':
          description: KYC verification required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '404':
          description: Task not found or already claimed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '410':
          description: Task has expired
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - bearerAuth: []
components:
  schemas:
    AcceptTaskRequest:
      type: object
      properties:
        estimate_days:
          type: number
          minimum: 0
          default: 0
        estimate_hours:
          type: number
          minimum: 0
          default: 0
        estimate_minutes:
          type: number
          minimum: 0
          default: 0
        estimate_note:
          type: string
          maxLength: 1000
    AcceptTaskResponse:
      type: object
      properties:
        task_id:
          type: string
        status:
          type: string
          enum:
            - PENDING
            - ESTIMATE_PENDING
            - ACCEPTED
            - IN_PROGRESS
            - SUBMITTED
            - VERIFIED
            - COMPLETED
            - MANUAL_REVIEW
            - DISPUTED
            - CANCELLED
        estimate_minutes:
          type: number
        claimed_at:
          type: string
        approval_deadline:
          type: string
      required:
        - task_id
        - status
        - estimate_minutes
        - claimed_at
        - approval_deadline
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk JWT for operator endpoints.

````