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

# List Agent Configurations

> Retrieve all unique agent configurations that the user has created or used, without task-specific details. Enables reuse of agent configurations across different tasks.



## OpenAPI

````yaml https://api.swarms.world/openapi.json get /v1/agents/list
openapi: 3.1.0
info:
  title: Swarms API
  description: >-
    The Swarms API delivers a high-performance, enterprise-grade platform for
    orchestrating advanced multi-agent systems. Built on a Rust-powered agent
    runtime, it enables scalable, robust, and secure agent collaboration,
    supporting complex workflows and dynamic agent communication. The API
    exposes a comprehensive suite of RESTful endpoints for the management,
    execution, and monitoring of agents, swarms, and related resources,
    empowering organizations to automate and optimize mission-critical
    processes. To access the API, obtain your API key from the [Swarms API Keys
    page](https://swarms.world/platform/api-keys). For detailed integration
    guides, best practices, and reference material, consult the [Swarms API
    Documentation](https://docs.swarms.ai).
  version: 1.0.0
servers:
  - url: https://api.swarms.world
    description: Swarms Production API
security: []
paths:
  /v1/agents/list:
    get:
      tags:
        - Agents
        - Agent Management
        - Agent Configuration
      summary: List Agent Configurations
      description: >-
        Retrieve all unique agent configurations that the user has created or
        used, without task-specific details. Enables reuse of agent
        configurations across different tasks.
      operationId: list_agents_v1_agents_list_get
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentsListOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AgentsListOutput:
      properties:
        success:
          type: boolean
          title: Success
          description: Indicates whether the agent list was retrieved successfully.
          default: true
        count:
          type: integer
          title: Count
          description: Total number of unique agent configurations.
        agents:
          items: {}
          type: array
          title: Agents
          description: List of agent configuration objects.
        timestamp:
          type: string
          title: Timestamp
          description: ISO timestamp when the list was generated.
      type: object
      required:
        - count
        - agents
        - timestamp
      title: AgentsListOutput
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````