Nirmos
SDK reference

Request logs reference

Method signatures, parameters, responses and examples for request logs.

Use a configured server-side nirmos client from the quickstart. See the request logs 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
logs.listControl plane
logs.getControl plane

logs.list

List Logs

Control plane: GET /v1/logs.

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

Required permission: observability:read.

REST endpoint, security and schemas · Related guide

Types: Queries · RequestOptions · Responses

nirmos.logs.list(
  query?: Queries["listLogs"] /* default: {} */,
  options?: RequestOptions | undefined
): Promise<Responses["listLogs"]>
ParameterRequiredType / default
queryNoQueries["listLogs"]; default {}
optionsNoRequestOptions | undefined

Query fields

FieldRequiredType
limitNonumber | undefined
cursorNostring | undefined
modalityNo"image" | "chat" | "embedding" | undefined
providerIdNostring | undefined
modelIdNostring | undefined
applicationIdNostring | undefined
environmentIdNostring | undefined
traceIdNostring | undefined
successNo"true" | "false" | undefined
fromNostring | undefined
toNostring | undefined

Returns: Responses["listLogs"].

Example

const result = await nirmos.logs.list({});

logs.get

Get Log

Control plane: GET /v1/logs/:id.

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

Required permission: observability:read.

REST endpoint, security and schemas · Related guide

Types: RequestOptions · Responses

nirmos.logs.get(
  id: string,
  options?: RequestOptions | undefined
): Promise<Responses["getLog"]>
ParameterRequiredType / default
idYesstring
optionsNoRequestOptions | undefined

Returns: Responses["getLog"].

Example

const result = await nirmos.logs.get("resource-id");

On this page