cURL
curl --request GET \ --url https://api.chatgrid.ai/v1/v1/me/api-keys \ --header 'Authorization: Bearer <token>'
{ "object": "list", "data": [ { "id": "ee112233-4455-6677-8899-aabbccddeeff", "key_prefix": "cgk_live_a1b2", "name": "Production key", "scopes": [ "read", "write" ], "rate_limit": 120, "last_used_at": "2026-03-15T12:00:00.000Z", "created_at": "2026-03-10T09:00:00.000Z", "expires_at": null } ], "has_more": false, "cursor": null }
Returns all non-revoked API keys for the authenticated user. Requires admin scope.
admin
Pass your API key (prefixed cgk_) or a Supabase JWT in the Authorization: Bearer <token> header.
cgk_
Authorization: Bearer <token>
List of API keys.
list
Show child attributes
false
null