GET
/
organizations
/
{orgId}
/
api-keys
List API keys
curl --request GET \
  --url https://console.gmicloud.com/api/v1/organizations/{orgId}/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "keys": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "My Service API Key",
      "type": "ie_model",
      "scope": "ie_model",
      "partialKey": "3D6l27ChEA",
      "createdAt": 1738812775,
      "expiresAt": 1738812775,
      "owner": {
        "id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11",
        "firstName": "john",
        "lastName": "doe"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

An access token used to authenticate a user and grant access to restricted APIs. It is issued by session APIs. For status codes related to this header, refer to the Common Headers Documentation.

Path Parameters

orgId
string<uuid>
required

The organization's ID.

  • Must be a valid UUID.
Example:

"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"

Response

Successfully retrieved the list of API keys.

The response is of type object.