List API Keys
Retrieve all API keys for the authenticated user.
GET
Headers
x-api-keystringrequiredAPI key used for authenticating requests to the API.
Response Fields
keysarrayArray of API key objects.
_idstringUnique identifier for the API key.
keystringThe API key (partially masked for security).
userIdstringUser ID associated with the API key.
metadataobjectMetadata associated with the API key.
createdAtstringTimestamp when the API key was created.
[
{
"_id": "665a1b2c3d4e5f6a7b8c9d0e",
"key": "tk_a1b2****o5p6",
"userId": "664a1b2c3d4e5f6a7b8c9d0e",
"metadata": {},
"createdAt": "2024-06-01T09:00:00.000Z"
}
]