Getrequestlogs

以 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": { ... } }`.

身份验证

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

请求头

X-Workspace-Idstring可选格式: "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-Idstring可选格式: "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.

查询参数

startdatetime必需

ISO 8601 start (required).

enddatetime必需

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

limitinteger可选>=1默认为 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.

offsetinteger可选0-10000默认为 0

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

masterKeyIdstring可选格式: "uuid"

Optional UUID filter; invalid non-empty → 40011.

departmentIdstring可选格式: "uuid"

Optional UUID; invalid non-empty → 40013.

entityTypestring可选

Filter by RMT entity_type alone, or pair with entityId.

entityIdstring可选格式: "uuid"

Requires non-empty entityType when set; UUID.

modelstring可选

Exact match on RMT model after trim.

searchstring可选

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

statusinteger可选

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

sourceenum可选默认为 all

Request source. all or empty disables the source filter.

允许的值:

响应

codeinteger
messagestring
dataany