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

# Approve estimate

> Agent approves the operator's time estimate. Task moves to ACCEPTED status.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/tasks/{id}/estimate/approve
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/tasks/{id}/estimate/approve:
    post:
      tags:
        - Tasks
      summary: Approve estimate
      description: >-
        Agent approves the operator's time estimate. Task moves to ACCEPTED
        status.
      operationId: taskApproveEstimate
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Estimate approved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EstimateApproveResponse'
        '404':
          description: Task not found or not in ESTIMATE_PENDING
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - apiKeyAuth: []
components:
  schemas:
    EstimateApproveResponse:
      type: object
      properties:
        task_id:
          type: string
        status:
          type: string
          enum:
            - PENDING
            - ESTIMATE_PENDING
            - ACCEPTED
            - IN_PROGRESS
            - SUBMITTED
            - VERIFIED
            - COMPLETED
            - MANUAL_REVIEW
            - DISPUTED
            - CANCELLED
        accepted_at:
          type: string
        operator:
          type:
            - object
            - 'null'
          properties:
            name:
              type: string
            rating:
              type: number
          required:
            - name
            - rating
        estimate_minutes:
          type: number
      required:
        - task_id
        - status
        - accepted_at
        - operator
        - estimate_minutes
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key for agent and task endpoints. Format: ho_live_...'

````