---
title: "List Agents (Minimal)"
method: GET
path: "/v1/agents"
tags: ["API v1", "Agents", "Agents CRUD"]
---

# List Agents (Minimal)

`GET /v1/agents`

## Request

- Base URL: `https://api.xpander.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xpander.ai/v1/agents`
- Auth: API key in header `x-api-key`

Retrieve a paginated list of AI agents with minimal information (ID, name, status)

## Query parameters

- `page` integer: Page number (starting from 1)
- `per_page` integer: Items per page (max 50)

## Response `200`

Successful Response

- PaginatedResponseMinimalAIAgentWithCreatedByDetails
  - `items` MinimalAIAgentWithCreatedByDetails[], required
    - `default_user_id` string, nullable
    - `background_user_overrides` object
    - `id` string, nullable
    - `name` string, required
    - `description` string, nullable
    - `icon` string, nullable
    - `status` 'DRAFT' | 'ACTIVE' | 'INACTIVE': Enumeration of possible agent statuses. Attributes: DRAFT: Agent is in a draft state. ACTIVE: Agent is active and operational. INACTIVE: Agent is inactive and not operational.
    - `organization_id` string, required
    - `deployment_type` 'serverless' | 'container'
    - `created_at` string, date-time, nullable
    - `instructions` AIAgentInstructions
      - `role` string[], nullable
      - `goal` string[], nullable
      - `general` string, nullable
      - `dynamic_prompt_enabled` boolean, nullable
      - `dynamic_prompt_code` string, nullable
      - `dynamic_prompt_position` 'before' | 'after', nullable
    - `model_provider` 'openai' | 'nim' | 'amazon_bedrock' | 'azure_ai_foundary' | 'huggingFace' | 'friendlyAI' | 'anthropic' | 'gemini' | 'fireworks' | 'google_ai_studio' | 'helicone' | 'bytedance' | 'tzafon_lightcone' | 'cerebras' | 'open_router' | 'nebius' | 'cloudflare_ai_gw' | 'z_ai'
    - `llm_api_base` string, nullable
    - `model_name` string, nullable
    - `framework` string, nullable
    - `using_nemo` boolean, nullable
    - `is_coordinate_mode` boolean, nullable
    - `has_pending_changes` boolean, nullable
    - `use_oidc_pre_auth` boolean, nullable
    - `pre_auth_audiences` string[], nullable
    - `use_oidc_pre_auth_token_for_llm` boolean, nullable
    - `oidc_pre_auth_token_llm_audience` string, nullable
    - `oidc_pre_auth_token_mcp_audience` string, nullable
    - `type` 'manager' | 'regular' | 'a2a' | 'curl' | 'orchestration', required: Enumeration of the agent types. Attributes: Manager: marks the agent as a Managing agent. Regular: marks the agent as a regular agent. A2A: marks the agent as an external agent used via A2A protocol. Curl: marks the agent as an external agent used via a CURL. Orchestration: marks the agent as an Orchestration object.
    - `project_id` string, nullable
    - `created_by` string, nullable
    - `created_by_details` CreatedByDetails
      - `id` string, required
      - `name` string, required
      - `email` string, required
  - `total` integer, required
  - `page` integer, required
  - `per_page` integer, required
  - `total_pages` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xpander/apis/xpander-ai-api-service.md) - [All operations](https://skmtc.dev/xpander/apis/xpander-ai-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/xpander/apis/xpander-ai-api-service/revisions/725c0066d5df?raw)
