v3

OpenAPI 3.1.0MIT2026-07-31192456807.8 KB
Account

Get API key identity

Returns identity information about the authenticated API key. Useful for confirming which project and organization a key is scoped to, and for obtaining the project slug used to compose the model value (<project_slug>/<endpoint_slug>) in dedicated endpoint inference calls. Requires a Bearer API key in the Authorization header. Cookie, session, and SLS JWT credentials are not accepted.

get/whoami

Response

API key identity information

api_key_idstring required

The ID of the API key that authenticated the request.

project_idstring required

The ID of the project the API key is scoped to.

project_namestring required

Human-readable name of the project.

project_slugstring required

DNS-friendly project identifier. Used with an endpoint slug as <project_slug>/<endpoint_slug> to form the model value in dedicated endpoint inference calls.

organization_idstring required

The ID of the organization that owns the project.

organization_namestring required

Human-readable name of the organization.

user_idstring

The ID of the authenticated user, if available.