---
title: "Verify API Key and retrieve the key details"
method: GET
path: "/me/api-keys/current"
tags: ["me"]
---

# Verify API Key and retrieve the key details

`GET /me/api-keys/current`

Validate the API key from the Authorization Bearer token and return the key details.

## Response `200`

Successfully verified the API key and retrieved the key details.

- VerifyAPIKeyResponse
  - `key` ApiKeyInfo, required — Information about the API key.
    - `id` string, uuid, required — The unique identifier for the API key.
    - `type` 'ie_model' — The API key type. This field is deprecated and will be removed in a future version. Use the `scope` field instead to specify the API key's scope.
    - `scope` 'ie_model' | 'ce_resource', required — The API key scope.
    - `owner` ApiKeyOwnerInfo, required — Information about the user who owns this API key
      - `id` string, uuid, required — The user ID.
  - `organization` ApiKeyOrgInfo, required — The organization associated with the API key
    - `id` string, uuid, required — The organization ID.

## Other responses

- `401` — - [group:**api-key**, code:**200**]: Invalid API key. - [group:**api-key**, code:**201**]: Expired API key.
- `500` — - [group:**api-key**, code:**1201**]: Get API key encountered DB error.

---

[API](https://skmtc.net/gmicloud/apis/cluster-engine-api.md) · [All operations](https://skmtc.net/gmicloud/apis/cluster-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gmicloud/cluster-engine-api/versions/bcbab016469f/schema)
