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

# Withdraw claim

> Withdraw from an ESTIMATE_PENDING task before agent approves.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/operator/tasks/{id}/withdraw-claim
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}/withdraw-claim:
    post:
      tags:
        - Operators
      summary: Withdraw claim
      description: Withdraw from an ESTIMATE_PENDING task before agent approves.
      operationId: operatorWithdrawClaim
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Claim withdrawn
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WithdrawClaimResponse'
        '404':
          description: Task not found or not claimed by operator
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - bearerAuth: []
components:
  schemas:
    WithdrawClaimResponse:
      type: object
      properties:
        task_id:
          type: string
        status:
          type: string
          enum:
            - PENDING
            - ESTIMATE_PENDING
            - ACCEPTED
            - IN_PROGRESS
            - SUBMITTED
            - VERIFIED
            - COMPLETED
            - MANUAL_REVIEW
            - DISPUTED
            - CANCELLED
      required:
        - task_id
        - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk JWT for operator endpoints.

````