cURL
curl --request GET \ --url https://console.gmicloud.ai/api/v1/me/api-keys/current \ --header 'Authorization: Bearer <token>'
{ "key": { "id": "550e8400-e29b-41d4-a716-446655440000", "scope": "ie_model", "owner": { "id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11" }, "type": "ie_model" }, "organization": { "id": "066daf34-08e8-40fe-a384-4248bcff5842" } }
Validate the API key from the Authorization Bearer token and return the key details.
An API key used to authenticate a user and grant access to restricted models. It is issued by api-keys APIs.
Successfully verified the API key and retrieved the key details.
Information about the API key.
Show child attributes
The organization associated with the API key