---
title: "Verify API key"
method: GET
path: "/api/keys/verify"
tags: ["Auth"]
---

# Verify API key

`GET /api/keys/verify`

## Request

- Base URL: `https://plith.ai`
- URL: `https://plith.ai/api/keys/verify`
- Auth: API key in header `x-api-key`

Confirms that the provided API key is valid and returns the associated org context. Free — no credit deduction. Middleware validates the key before this handler runs.

## Response `200`

Key is valid

- object
  - `org_id` string, uuid: Org ID associated with the key.
  - `is_paid` boolean: Whether the org is on a paid plan.
  - `request_id` string
  - `credits_used` integer
  - `credits_remaining` integer
  - `fallback_behavior` string

## Other responses

- `401`: Invalid or missing API key

---

[API](https://skmtc.dev/plith/apis/plith-api.md) · [All operations](https://skmtc.dev/plith/apis/plith-api/llms.txt) · [OpenAPI document](https://skmtc.dev/plith/apis/plith-api/revisions/4a03164b0d75?raw)
