Getrequestlogs

View as Markdown
RMT list for a time window with offset pagination. **Required:** `start`, `end` — ISO 8601 datetimes parseable by `Date`, with `end` > `start`. **Errors:** window too long → `40004`; invalid UUIDs → `40011`/`40013`/`40014`; `entityId` without `entityType` → `40016`; invalid `source` → `40034`. **Success `data`:** `{ "rows": [ ... ], "meta": { "total", "limit", "offset", "hasMore" }, "summary": { ... } }`.

Authentication

AuthorizationBearer
Bearer credential containing a JWT, Virtual Key, or PAT.

Headers

X-Workspace-IdstringOptionalformat: "uuid"

Required for a normal JWT, Virtual Key, or PAT. A JWT may instead send X-Openmodel-User-Id. Not used by the public health endpoint.

X-Openmodel-User-IdstringOptionalformat: "uuid"

JWT-only alternative to X-Workspace-Id. Must be a UUID equal to the JWT subject; the server uses it as the workspace id. Not valid as the sole workspace header for Virtual Key or PAT authentication.

Query parameters

startdatetimeRequired

ISO 8601 start (required).

enddatetimeRequired

ISO 8601 end (required); must be after start.

limitintegerOptional>=1Defaults to 50

Page size (default min(50, ANALYTICS_RMT_MAX_LIMIT), capped server-side). The deployment default for ANALYTICS_RMT_MAX_LIMIT is 500, but the configured maximum may differ.

offsetintegerOptional0-10000Defaults to 0

0-based paging offset (default 0, max 10000).

masterKeyIdstringOptionalformat: "uuid"

Optional UUID filter; invalid non-empty → 40011.

departmentIdstringOptionalformat: "uuid"

Optional UUID; invalid non-empty → 40013.

entityTypestringOptional

Filter by RMT entity_type alone, or pair with entityId.

entityIdstringOptionalformat: "uuid"

Requires non-empty entityType when set; UUID.

modelstringOptional

Exact match on RMT model after trim.

searchstringOptional

Trimmed non-empty string. Always matches session_id; a UUID also matches entity_id and user_id.

statusintegerOptional

HTTP status code integer (e.g. 200).

sourceenumOptionalDefaults to all

Request source. all or empty disables the source filter.

Allowed values:

Response

codeinteger
messagestring
dataany