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

# List agents

> Returns all published agents for your organization, with their accepted parameters.



## OpenAPI

````yaml GET /agents
openapi: 3.0.1
info:
  title: Push AI API
  description: >-
    Programmatic access to Push AI agents. Create API keys in the Push AI
    dashboard, then use them to list agents, invoke runs, and poll for results.
  version: 1.0.0
  contact:
    name: Push AI Support
    email: support@push.ai
servers:
  - url: https://api.push.ai/api/v1
    description: Production
security:
  - apiKey: []
paths:
  /agents:
    get:
      tags:
        - Agents
      summary: List agents
      description: >-
        Returns all published agents for your organization, with their accepted
        parameters.
      operationId: listAgents
      parameters:
        - name: limit
          in: query
          description: Maximum number of agents to return (1–100).
          required: false
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
        - name: offset
          in: query
          description: Number of agents to skip for pagination.
          required: false
          schema:
            type: integer
            default: 0
            minimum: 0
      responses:
        '200':
          description: A paginated list of published agents.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAgentsResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ListAgentsResponse:
      type: object
      required:
        - agents
        - pagination
      properties:
        agents:
          type: array
          items:
            $ref: '#/components/schemas/ExternalAgent'
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
              description: >-
                Machine-readable error code (e.g. `invalid_api_key`,
                `agent_not_found`).
            message:
              type: string
              description: Human-readable error description.
            request_id:
              type: string
              description: >-
                Unique request identifier for debugging. Also returned in the
                `X-Request-Id` response header.
    ExternalAgent:
      type: object
      required:
        - id
        - name
        - parameters
      properties:
        id:
          type: integer
          description: Unique agent identifier.
        name:
          type: string
          description: Human-readable agent name.
        description:
          type: string
          nullable: true
          description: Optional agent description.
        parameters:
          type: array
          description: Parameters the agent accepts at invocation time.
          items:
            $ref: '#/components/schemas/AgentParameter'
    PaginationMeta:
      type: object
      required:
        - total
        - limit
        - offset
      properties:
        total:
          type: integer
          description: Total number of results across all pages.
        limit:
          type: integer
          description: Maximum results per page.
        offset:
          type: integer
          description: Number of results skipped.
    AgentParameter:
      type: object
      required:
        - name
        - required
      properties:
        name:
          type: string
          description: >-
            Parameter name. Use this in the `parameter_bindings` array when
            creating a run.
        required:
          type: boolean
          description: Whether this parameter must be provided.
        description:
          type: string
          nullable: true
          description: Human-readable description of what this parameter controls.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Organization API key. Create one in the Push AI dashboard under Settings
        → API Keys.

````