---
title: "Validate Key"
method: GET
path: "/api/v1/onprem/validate-key"
tags: ["On-Prem"]
---

# Validate Key

`GET /api/v1/onprem/validate-key`

## Headers

- `X-API-Key` string, required

## Response `200`

Successful Response

- ValidateKeyResponse
  - `valid` boolean, required
  - `user_id` string, required
  - `scope` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/versions/93ee959dfa51/schema)
