Retrieves a list of all API keys associated with the authenticated user account.
curl -X GET 'https://api.memchat.io/api-keys' \
-H 'Authorization: Bearer YOUR_JWT_TOKEN'
Query Parameters
Filter by status: active
, expired
, revoked
Maximum number of API keys to return
Number of API keys to skip
Response
List of API keys
Unique identifier for the API key
Granted permission scopes
Current status of the API key
When the API key was last used
When the API key was created
Whether there are more API keys to fetch
{
"api_keys": [
{
"api_key_id": "key_123abc",
"name": "Production API Key",
"scopes": ["memories:read", "memories:write", "profile:read"],
"status": "active",
"last_used": "2024-01-15T15:30:00Z",
"created_at": "2024-01-15T16:30:00Z",
"expires_at": "2024-02-14T16:30:00Z"
}
],
"total": 1,
"has_more": false
}