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

# Get earnings

> Get operator's pending, available, and total earnings breakdown.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/operator/earnings
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/earnings:
    get:
      tags:
        - Operators
      summary: Get earnings
      description: Get operator's pending, available, and total earnings breakdown.
      operationId: operatorGetEarnings
      responses:
        '200':
          description: Earnings breakdown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EarningsResponse'
        '404':
          description: Operator not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - bearerAuth: []
components:
  schemas:
    EarningsResponse:
      type: object
      properties:
        pending_balance:
          type: number
        available_balance:
          type: number
        total_earned:
          type: number
        currency:
          type: string
        recent_tasks:
          type: array
          items:
            type: object
            properties:
              task_id:
                type: string
              title:
                type: string
              reward_usd:
                type: number
              status:
                type: string
                enum:
                  - PENDING
                  - ESTIMATE_PENDING
                  - ACCEPTED
                  - IN_PROGRESS
                  - SUBMITTED
                  - VERIFIED
                  - COMPLETED
                  - MANUAL_REVIEW
                  - DISPUTED
                  - CANCELLED
              completed_at:
                type:
                  - string
                  - 'null'
            required:
              - task_id
              - title
              - reward_usd
              - status
              - completed_at
      required:
        - pending_balance
        - available_balance
        - total_earned
        - currency
        - recent_tasks
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk JWT for operator endpoints.

````