跳到导航

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", ... } }

身份验证

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.

查询参数

dateFromstring可选

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

dateTostring可选

Calendar end YYYY-MM-DD.

startdatetime可选

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

enddatetime可选

ISO 8601 end; must be after start.

agentIdstring可选格式: "uuid"

Agent UUID; mutually exclusive with memberId.

memberIdstring可选格式: "uuid"

Member UUID; mutually exclusive with agentId.

entityTypeenum可选

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

允许的值:
masterKeyIdstring可选格式: "uuid"
Optional master key UUID.
departmentIdstring可选格式: "uuid"
Optional department UUID.
searchstring可选格式: "uuid"

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

modelstring可选
Exact model filter after trim.
limitinteger可选1-200默认为 20

Page size (default 20, max 200).

offsetinteger可选0-10000默认为 0

0-based offset (alternative to page).

pageinteger可选>=1默认为 1

1-based page index when not using offset.

pageSizeinteger可选1-200

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

statusinteger可选
HTTP status filter. Invalid values are currently ignored.

响应

codeinteger
messagestring
dataany