curl --request GET \
--url https://geekai.dev/api/v1/api_keys \
--header 'Authorization: Bearer <token>'{
"data": [
{
"uuid": "<string>",
"name": "<string>",
"value": "<string>",
"group": {
"name": "<string>",
"alias": "<string>",
"desc": "<string>"
},
"credit_limit": 123,
"credit_used": 123,
"expired_at": "2023-12-25",
"expired": true,
"status": true,
"last_used_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}Retrieves a list of all API keys for the current account.
curl --request GET \
--url https://geekai.dev/api/v1/api_keys \
--header 'Authorization: Bearer <token>'{
"data": [
{
"uuid": "<string>",
"name": "<string>",
"value": "<string>",
"group": {
"name": "<string>",
"alias": "<string>",
"desc": "<string>"
},
"credit_limit": 123,
"credit_used": 123,
"expired_at": "2023-12-25",
"expired": true,
"status": true,
"last_used_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
]
}token
Success
List of API keys.
Show child attributes
UUID
Name
The masked API key value.
Credit limit.
Credit used.
Expiration date.
Whether the key has expired.
Status. true = enabled, false = disabled.
Last used timestamp.
Creation timestamp.
Was this page helpful?