Skip to main content
GET
Get API key identity
Check that an API key works, and see which organization its calls draw on. The response names the user who created the key and the organization the key belongs to.

When to use it

Call it once at startup, before your first search or fetch, to catch a mistyped or revoked key early. The call is free. It counts toward your organization’s rate limit like any keyed call.
A 200 means the key works. The response looks like this:
Example response · IDs left out
email, display_name and org_name are null when Keenable has no value for them. A 401 means the key is missing, malformed or unknown, and a 403 means it was revoked. See Authentication → Error responses. This endpoint takes an API key only. A signed-in session token returns 401 with api_key_required. It has no keyless or pay-per-request path.

SDK, CLI and MCP

  • API keys explains how to create and rotate a key.
  • Authentication covers the X-API-Key and Authorization: Bearer headers.

Authorizations

X-API-Key
string
header
required

Your API key, such as keen_.... Create one in the Keenable console. If you send both this header and Authorization, the API uses this one.

Response

The key's user and organization

user_id
string
required

The ID of the user who created the key.

email
string | null
required

That user's email address, or null when it isn't available.

display_name
string | null
required

That user's first and last name, or null when neither is set.

org_id
string
required

The ID of the organization the key belongs to. Calls made with the key draw on this organization's balance and rate limit.

org_name
string | null
required

The organization's name, or null when it isn't available.