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

# List API keys

> List all active API keys for the authenticated agent.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/agents/keys
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/agents/keys:
    get:
      tags:
        - Agents
      summary: List API keys
      description: List all active API keys for the authenticated agent.
      operationId: agentListKeys
      responses:
        '200':
          description: List of API keys
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyListResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    KeyListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              key_prefix:
                type: string
              name:
                type: string
              last_used_at:
                type:
                  - string
                  - 'null'
              created_at:
                type: string
            required:
              - id
              - key_prefix
              - name
              - last_used_at
              - created_at
      required:
        - data
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key for agent and task endpoints. Format: ho_live_...'

````