Skip to main content
GET
/
me
/
api-keys
/
current
Verify API Key and retrieve the key details
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",
    "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.

key
object
required

Information about the API key.

organization
object
required

The organization associated with the API key