GET
/
me
/
api-keys
/
current
Verify API Key and retrieve the key details
curl --request GET \
  --url https://console.gmicloud.com/api/v1/me/api-keys/current \
  --header 'Authorization: Bearer <token>'
{
  "key": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "type": "ie_model",
    "scope": "ie_model",
    "owner": {
      "id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"
    }
  },
  "organization": {
    "id": "066daf34-08e8-40fe-a384-4248bcff5842"
  }
}

Authorizations

Authorization
string
header
required

An API key used to authenticate a user and grant access to restricted models. It is issued by api-keys APIs.

Response

Successfully verified the API key and retrieved the key details.

The response is of type object.