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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
API key identity information
The ID of the API key that authenticated the request.
The ID of the project the API key is scoped to.
Human-readable name of the project.
DNS-friendly project identifier. Used with an endpoint slug as <project_slug>/<endpoint_slug> to form the model value in dedicated endpoint inference calls.
The ID of the organization that owns the project.
Human-readable name of the organization.