---
title: "List Agents"
method: GET
path: "/api/v2/agents"
tags: ["Sessions & Agents"]
---

# List Agents

`GET /api/v2/agents`

List all agents for this Moorcheh account

Returns agents sorted by creation date (newest first). The ``memory_count``
of each agent is populated with the live document count from its Moorcheh
namespace rather than the stale value in local metadata.

## Headers

- `authorization` string, nullable
- `X-Api-Key` string, nullable

## Response `200`

Successful Response

- AgentList — List of agents
  - `agents` AgentInfo[], required
    - `agent_id` string, required
    - `namespace` string, required
    - `pattern` 'support' | 'project' | 'tool', required — Agent pattern types for memory organization
    - `description` string, nullable
    - `created_at` string, date-time, required
    - `last_session` string, date-time, nullable
    - `memory_count` integer
    - `session_count` integer
    - `status` string
  - `count` integer, required
  - `warnings` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/moorcheh-ai/apis/memanto-memory-that-ai-agents-love.md) · [All operations](https://skmtc.net/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moorcheh-ai/memanto-memory-that-ai-agents-love/revisions/ff157f2fc5d5/schema)
