稽核
這一頁從系統實際的 tool 產生。授權項目是權杖要勾的項目;「核可」是 Agent 呼叫之後要不要等人在網站上核可。
audit_log_search
核可:不用
查工作區的稽核紀錄(新的在前):誰、經哪個管道(網站、MCP、系統)、做了什麼。
給 Agent 的原文
Search the audit log of the workspace, newest first: who did what, through which channel (WEB, MCP, SYSTEM).
參數
| 名稱 | 型別 | 必填 | 說明 |
|---|---|---|---|
limit | integer | default: 20 | |
cursor | string(可以是 null) | ||
from | date(可以是 null) | Asia/Taipei date, inclusive | |
to | date(可以是 null) | ||
actor_ids | string[](可以是 null) | Account ids, token ids, or SYSTEM | |
categories | WORKSPACE | ACCESS | QUOTE | BILLING | PAYMENT | REFUND | EINVOICE | MESSAGING | APPROVAL | CUSTOMER | PRODUCT | SUBSCRIPTION | OTHER[](可以是 null) | ||
target | Target(可以是 null) | ||
target.type | string | 必填 | BILL, ORDER, QUOTE, PAYMENT…; BILL also returns the records related to the bill |
target.id | string | 必填 |
授權項目:audit:read