Documentation Index
Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
Use this file to discover all available pages before exploring further.
Agents.alist returns a list of summary objects (AgentsListItem) for every agent visible to the configured organization. Each item carries enough metadata for display (id, name, icon, status, instructions, access scope) and a .aload() shortcut to fetch the full Agent.
Parameters
None.Returns list[AgentsListItem]
AgentsListItem is a lightweight summary: not the full Agent. Notable fields:
| Field | Type | Description |
|---|---|---|
id | str | Agent ID. |
name | str | Display name. |
icon | str | Emoji or icon identifier. |
instructions | AgentInstructions | role, goal, general text. |
status | AgentStatus | DRAFT, ACTIVE, or INACTIVE. |
organization_id | str | Owning organization. |
created_at | datetime | Creation timestamp. |
description | str | None | Agent description. |
access_scope | AgentAccessScope | Personal or Organizational. |
created_by | str | None | Creator user id. |
type | AgentType | None | Manager, Regular, A2A, Curl, or Orchestration. |
.aload() on the item, or pass item.id to agents.aget().
Examples
Filter active agents
Load all in parallel
Sync version
Errors
alist raises ModuleException on failure:
| Status | Cause |
|---|---|
| 401 | Missing or invalid api_key. |
| 403 | Wrong organization_id. |
| 500 | Server error or network failure. |

