SmartMemory
GET
/memory/agents

List all agents in the current tenant.

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).

In: header

Response Body

application/json

curl -X GET "https://example.com/memory/agents"
[
  {
    "id": "string",
    "name": "string",
    "description": "string",
    "agent_config": {},
    "roles": [
      "string"
    ],
    "tenant_id": "string",
    "is_active": true,
    "created_at": "2019-08-24T14:15:22Z",
    "created_by": "string"
  }
]