Getsaaslogs

以 Markdown 格式查看
Business request-log list with pagination metadata. **Time window — provide one of:** - `dateFrom` + `dateTo` (`YYYY-MM-DD`), or - `start` + `end` (ISO 8601 datetimes). If **both** pairs are present, the **ISO** `start`/`end` pair wins. **Filters:** at most one of `agentId` vs `memberId`; do not combine `entityType` with agent/member ids (`40028`). `entityType` ∈ `agent` | `user` | `member` (`member` maps to user internally). `search` non-empty must be UUID (`40027`). `masterKeyId` / `departmentId` optional UUIDs. **Pagination:** `limit` (default 20, max 200), `offset` **or** `page` + optional `pageSize`. **Success `data`:** `{ "period", "data": [...], "meta": { "total", "hasMore", "limit", "offset", ... } }`

请求头

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.

查询参数

dateFromstring可选

Calendar start YYYY-MM-DD (use with dateTo unless ISO pair used).

dateTostring可选

Calendar end YYYY-MM-DD.

startstring可选

ISO 8601 start (pair with end; overrides calendar pair when both pairs present).

endstring可选

ISO 8601 end; must be after start.

agentIdstring可选

Agent UUID; mutually exclusive with memberId.

memberIdstring可选

Member UUID; mutually exclusive with agentId.

entityTypestring可选

agent | user | member for type-only filter; not with agentId/memberId.

masterKeyIdstring可选
Optional master key UUID.
departmentIdstring可选
Optional department UUID.
searchstring可选

Non-empty must be UUID (entity/user id search).

modelstring可选
Exact model filter after trim.
limitinteger可选

Page size (default 20, max 200).

offsetinteger可选

0-based offset (alternative to page).

pageinteger可选

1-based page index when not using offset.

pageSizeinteger可选

Used with page (capped with limit semantics, max 200).

statusstring可选
HTTP status filter as integer string.

响应

codeinteger
messagestring
dataany