curl --request POST \
--url http://api.superwize.ai/api/auth/listApiKeys \
--header 'Content-Type: application/json' \
--data '{}'[
{
"id": "obj_01JHKZ0PV2WX123456789",
"name": "Primary Key",
"start": "2X7kM9",
"prefix": "sw_live",
"enabled": true,
"createdAt": 1767225600000,
"updatedAt": 1767225600000,
"expiresAt": 1767312000000,
"lastRequest": 1767225600000,
"rateLimitEnabled": true,
"rateLimitMax": 20,
"rateLimitTimeWindow": 20,
"requestCount": 3,
"remaining": 97
}
]Lists API keys for the current user (without plaintext key values).
curl --request POST \
--url http://api.superwize.ai/api/auth/listApiKeys \
--header 'Content-Type: application/json' \
--data '{}'[
{
"id": "obj_01JHKZ0PV2WX123456789",
"name": "Primary Key",
"start": "2X7kM9",
"prefix": "sw_live",
"enabled": true,
"createdAt": 1767225600000,
"updatedAt": 1767225600000,
"expiresAt": 1767312000000,
"lastRequest": 1767225600000,
"rateLimitEnabled": true,
"rateLimitMax": 20,
"rateLimitTimeWindow": 20,
"requestCount": 3,
"remaining": 97
}
]The body is of type object.
API keys returned.