List agents available to the current user in a workspace
GET
/api/v1/ai/workspaces/{workspace_id}/agents
List agents the calling user can use in this workspace, sorted A-Z.
This is the personalized "usable here" view for the agent switcher -- access-filtered to the caller, enabled, non-preview, with per-agent lastUsedAt. For agent CRUD/management use the metadata entity endpoint GET /api/v1/entities/agents instead.
path Parameters
workspace_idstring · required
Responses
Successful Response
agentsobject[] · required