Auth

Verify 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.

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

Response

Key is valid

org_idstring uuid

Org ID associated with the key.

is_paidboolean

Whether the org is on a paid plan.

request_idstring
credits_usedinteger
credits_remaininginteger
fallback_behaviorstring

Example response

{
  "request_id": "req_a1b2c3d4e5f6",
  "fallback_behavior": "none"
}

Changes

No recorded changes to this operation across all 1 revision of this API.