Getrequestlogs

以 Markdown 格式查看
RMT list for a time window. **Offset is fixed at 0** in the executor (no paging offset param). **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`; non-UUID `search` → `40033`. **Success `data`:** `{ "rows": [ ... ] }` (no total in atomic list).

请求头

Authorizationstring可选

Optional. Bearer JWT, Virtual Key, or PAT. Server also accepts Cookie alephant_token; not modeled as a header here.

X-Workspace-Idstring可选

Optional in the spec; required for authenticated analytics. Omit for unauthenticated GET /v1/analytics/health.

查询参数

startstring必需

ISO 8601 start (required).

endstring必需

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

limitinteger可选

Page size (default min(50, ANALYTICS_RMT_MAX_LIMIT), capped server-side).

masterKeyIdstring可选

Optional UUID filter; invalid non-empty → 40011.

departmentIdstring可选

Optional UUID; invalid non-empty → 40013.

entityTypestring可选

Filter by RMT entity_type alone, or pair with entityId.

entityIdstring可选

Requires non-empty entityType when set; UUID.

modelstring可选

Exact match on RMT model after trim.

searchstring可选

If non-empty, must be UUID (matches entity_id or user_id).

statusstring可选

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

响应

codeinteger
messagestring
dataany