Nirmos
SDK reference

Authentication context reference

Method signatures, parameters, responses and examples for authentication context.

Use a configured server-side nirmos client from the quickstart. See the authentication context guide for prerequisites and workflows. Example IDs and configured model names are placeholders; replace them with organization-visible resources before executing. Mutating calls change live resources.

HTTP calls reject with APIError subclasses on unsuccessful HTTP responses and may throw NetworkError, TimeoutError or RequestAbortedError. Signatures describe SDK values after response decoding; they are not raw HTTP envelopes. Backend validation, permissions and feature availability remain authoritative.

MethodTransport
auth.getContextControl plane

auth.getContext

Get Auth Context

Control plane: GET /v1/auth-context.

Credentials: Personal or service API key with the required grants.

REST endpoint, security and schemas · Related guide

Types: RequestOptions · Responses

nirmos.auth.getContext(
  options?: RequestOptions | undefined
): Promise<Responses["getAuthContext"]>
ParameterRequiredType / default
optionsNoRequestOptions | undefined

Returns: Responses["getAuthContext"].

Example

const result = await nirmos.auth.getContext();

On this page