# List Agents

> List the voice agents in your organization

URL: https://docs.lemuai.com/api-reference/agents/list

Returns every voice agent in your organization with a few summary numbers. Use it to find an agent's `id` for [List calls](https://docs.lemuai.com/api-reference/agents/runs/list).

**Endpoint:** `GET /api/v1/workflow/fetch`

## Query parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `status` | string | No | `active`, `archived`, or both separated by a comma (`active,archived`). Leave it out to get all agents. Any other value returns `422`. |

**Example request:**

**cURL**

```bash
curl "https://app.lemuai.com/api/v1/workflow/fetch?status=active" \
  -H "X-API-Key: lemu_your_api_key"
```

**JavaScript**

```js
const res = await fetch("https://app.lemuai.com/api/v1/workflow/fetch?status=active", {
  method: "GET",
  headers: {
    "X-API-Key": process.env.LEMU_API_KEY,
  },
});
if (!res.ok) throw new Error(`LemuAI API ${res.status}: ${await res.text()}`);
const data = await res.json();
console.log(data);
```

**Python**

```python
import os

import requests

response = requests.get(
    "https://app.lemuai.com/api/v1/workflow/fetch?status=active",
    headers={
        "X-API-Key": os.environ["LEMU_API_KEY"],
    },
    timeout=30,
)
response.raise_for_status()
print(response.json())
```

## Response

**`200`**: a list of agents.
```json
[
  {
    "id": 412,
    "name": "Order Delivery Confirmation",
    "status": "active",
    "created_at": "2026-09-14T08:21:47Z",
    "total_runs": 1284,
    "workflow_uuid": "8d0e6c2a-51f4-4b0e-9f7c-3c2a1e6b9d40",
    "last_run_at": "2026-10-23T11:05:12Z",
    "success_rate": 87.4
  }
]
```

| Field | Type | Description |
|---|---|---|
| `id` | integer | The agent's id. Use it in other endpoints. |
| `name` | string | The agent's name as shown in the dashboard. |
| `status` | string | `active` or `archived`. |
| `created_at` | string | When the agent was created (ISO 8601, UTC). |
| `total_runs` | integer | How many calls the agent has made or received. |
| `workflow_uuid` | string or null | A stable public identifier for the agent. This is **not** the id used by [Trigger an outbound call](https://docs.lemuai.com/api-reference/calls/trigger); that endpoint needs the API Trigger node's id. |
| `last_run_at` | string or null | When the agent's most recent call started, or `null` if it has none. |
| `success_rate` | number or null | Percentage of the agent's calls that ran to completion, from `0` to `100` (one decimal place). `null` if it has no calls yet. |
