/{app_slug}/v1/me/agent-grantsAuthList the signed-in user's connected agents
Live connections only (not revoked, not expired), newest first, at most 200. Show them on an "AI agents" or "Authorized apps" settings page with a Disconnect button.
Path parameters
app_slug*stringThe app slug.
Query parameters
resourcestringOnly connections to this resource.
Response · 200 The connections.
data*arrayLive connections, newest first.
pagination*objectPagination (bounded list).
Example
Request
GET https://api.auth.productcraft.co/{app_slug}/v1/me/agent-grants
Authorization: Bearer YOUR_TOKENResponse
{
"data": [
{
"id": "agr_9xY…",
"client_id": "string",
"client_name": "Claude Code",
"client_verified": false,
"resource": "https://mcp.example.com/mcp",
"scopes": [
"string"
],
"context": {},
"created_at": "2026-01-01T00:00:00.000Z",
"last_used_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z"
}
],
"pagination": {}
}