List the caller's access grants
Everything the caller has let act for them outside the browser: CLI sessions (one per device) and MCP client grants (one per client and MCP endpoint). Browser session only — an API key or an OAuth bearer cannot reach it. Most recent activity first.
GET
/api/auth/access-grantsAuthorization
cookieAuth better-auth.session_token<token>
Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
curl -X GET "https://your-instance/api/auth/access-grants"{
"object": "list",
"data": [
{
"id": "string",
"kind": "cli",
"client_name": "string",
"client_origin": "string",
"client_registration": "metadata_document",
"device_name": "string",
"user_agent": "string",
"last_used_ip": "string",
"target": null,
"session_count": 0,
"lastUsedAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
],
"hasMore": true
}{
"error": "string",
"error_description": "string"
}