v19

latestOpenAPI 3.1.1raw.githubusercontent.com2026-08-017489931.2 KB

Validate current API key

Returns metadata for the current API key, including the subject type and granted public scopes. Use this endpoint to confirm a key is active before making scoped API requests.

Required scope: None

Rate limit category: Read

get/v1/auth/validate

Headers

Lightfield-Version'2026-03-01' required

Required API version header. Requests may error without it.

Response

OK

activeboolean required

Whether the current API key is valid. Always true on successful responses.

tokenType'api_key' required

Credential family, always api_key.

subjectType'user' | 'workspace' required

Whether the API key belongs to a user or workspace.

scopesstring[] required

Granted public scopes for the current API key. Empty when the key has full access.