Skip to main content
POST
List Agents

Overview

Returns every assistant (agent) in the workspace, newest first, including where each one stands against the template it was built from. Operation name: agent.list.

Authorization

string
required
Your Composer API key

Headers

string
required
Must be set to application/json

Body

No fields. Send an empty JSON object.
Example Request

Response

array
The assistants, newest first. Each has id, slug, display_name, config, created_at and template.
object | null
{ name, version, current_version, behind, onboarding }. behind is true when a template upgrade is waiting. Null for an assistant built from no template.
Example Success Response

Example cURL

cURL

Error Codes