Getsessions

以 Markdown 格式查看

Session analytics list for the last 7 days. The server currently derives the start window internally and supports app-layer status filtering.

Success data: { "data": [...], "meta": { "total", "page", "pageSize", "hasMore" } }.

请求头

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.

查询参数

pageinteger可选

1-based page index (default 1).

pageSizeinteger可选

Page size (default 20, max 100).

statusstring可选

Optional filter. One of active, completed, intercepted.

agentstring可选
Optional agent id filter.
searchstring可选
Optional search string.
sortstring可选

Optional sort key (cost, duration, steps, efficiency).

orderstring可选

Optional sort order (asc or desc).

响应

codeinteger
messagestring
dataany