---
title: "Get Current Api Key"
method: GET
path: "/v1/api-keys/current"
tags: ["api-keys"]
---

# Get Current Api Key

`GET /v1/api-keys/current`

Validate and describe the workspace API key in ``X-API-Key``.

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- CurrentApiKeyOut
  - `workspace_id` string, uuid, required
  - `name` string, nullable, required
  - `scopes` string[], required
  - `region` string, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
