GET
/v2/api-keys/currentGet the current API key information
Retrieves information about the API key used to authenticate the request. Use this endpoint to inspect the key's project, granted scopes, expiration, and last-use details.
200Returns the current API key's project information, description, granted scopes, identifier, and usage and expiration timestamps when available.
branchingEnabledbooleanrequired
Whether branching is enabled and active on this project.
descriptionstringrequired
expiresAtintegeroptional
idintegerrequired
lastUsedAtintegeroptional
permittedLanguageIdsarray<integer>deprecatedoptional
Languages for which user has translate permission.
projectIdintegerrequired
projectNamestringrequired
scopesarray<string>required
userFullNamestringoptional
usernamestringoptional
400Returned when the credential used to authenticate the request is not an API key.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to access the API key information.
codestringrequired
paramsarray<object>optional
404Returned when the requested API key information cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the credential used for the request is not an API key. A 401 is returned when authentication is missing or invalid, a 403 when the authenticated user lacks permission, and a 404 when the requested API key information cannot be found. Authenticate with an API key to retrieve its details.