账户

列出我的 API 密钥

GET/api/me/api-keys

返回当前用户 API 密钥的元数据。仅适用于自托管安装。

Headers

NameTypeDescription
AuthorizationrequiredstringAuthentication credentials, e.g. Bearer <token>.

Responses

200The operation completed successfully.
NameTypeDescription
createdAtrequiredstringDate and time the record was created.
idrequiredstringUnique identifier of the resource.
keyPrefixrequiredstringVisible prefix used to identify an API key.
lastUsedAtrequiredstringDate and time the credential was last used.
namerequiredstringDisplay name of the resource.
200 example
401Unauthorized.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
401 example
404Not found.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
404 example

Code samples

cURL