AgentConnect
Computers

List computer audit entries

Lists the calls a Computer’s desktop daemon served, newest first: the agent and session, the tool, its outcome, how it was approved, and its arguments with typed text recorded only as textLength. Only the registrant of a self-hosted Computer, or an editor of a managed one, may read it. Pass a page’s nextCursor back as cursor for older entries; filter by agentId or sessionId. Entries are kept for 90 days.

GET
/v1/orgs/{orgId}/computers/{id}/audit

授权

bearerAuth
授权Bearer <token>

位置: header

路径参数

orgId*string
id*string

查询参数

limit?integer
范围1 <= value <= 200
默认50
cursor?string
长度1 <= length <= 200
agentId?string
匹配^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
格式uuid
sessionId?string
长度1 <= length <= 256

响应主体

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/computers/string/audit"
{  "entries": [    {      "id": "string",      "at": "string",      "tool": "string",      "client": "string",      "agentId": "string",      "sessionId": "string",      "outcome": "ok",      "code": "string",      "approval": "not_required",      "args": {        "property1": null,        "property2": null      },      "textLength": -9007199254740991,      "ms": -9007199254740991,      "screenshotRef": "string",      "desktop": "string"    }  ],  "nextCursor": "string"}