List agents
GET/v1/agents
Return the agents enabled for the selected tenant. Use name as agent_name when creating a session or in the one-shot run URL. The returned version id is informational and is not an invocation selector.
Generated from the Platform API specification on 2026-09-04.
Headers
Section titled “Headers”| Header | Required | Description |
|---|---|---|
Authorization |
yes | Bearer plus a short-lived OAuth access token issued for the Tanomis API audience. Backends obtain tokens with an organization automation client; the CLI’s human login is not an application credential. |
X-Organization-ID |
yes | The organization_id from the workspace projection you selected in GET /v1/me/workspaces. |
X-Workspace-Tenant-ID |
yes | The nested tenant_id from the same projection. A header cannot widen what the token grants. Some single-workspace or self-hosted environments take X-Tenant-ID instead, as supplied by their administrator. |
Responses
Section titled “Responses”| Status | Meaning |
|---|---|
200 |
Agents enabled for the tenant. |
Request
Section titled “Request”curl -X GET "https://api.tanomis.com/v1/agents" \ -H "Authorization: Bearer $TANOMIS_TOKEN" \ -H "X-Organization-ID: $TANOMIS_ORG" \ -H "X-Workspace-Tenant-ID: $TANOMIS_WORKSPACE"import httpx
response = httpx.get( f"https://api.tanomis.com/v1/agents", headers={ "Authorization": f"Bearer {token}", "X-Organization-ID": organization_id, "X-Workspace-Tenant-ID": tenant_id, },)response.raise_for_status()result = response.json()const response = await fetch(`https://api.tanomis.com/v1/agents`, { method: "GET", headers: { "Authorization": `Bearer ${token}`, "X-Organization-ID": organizationId, "X-Workspace-Tenant-ID": tenantId, },});if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);const result = await response.json();Response
Section titled “Response”{ "agents": [ { "name": "support-copilot", "scope": "global", "version": "0.4.0", "version_id": "ver_a82d1f", "status": "production", "framework": "claude-agents-sdk" } ]}