FruxonDocs
AgentsApprovals

Lists immutable human-approval audit events for an agent, newest-first.

This is the operator/compliance review surface for HITL decisions on a single agent. It returns request, response, cancellation, and expiry events across approval requests. Use `eventType` to narrow the ledger to one lifecycle transition.

GET
/v1/tenants/{tenant}/agents/{agent}/pendingApprovals/auditEvents
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

The unique identifier of the agent.

tenant*string

The tenant identifier

Query Parameters

eventType?string

Optional lifecycle-event filter.

Value in"UNSPECIFIED" | "REQUESTED" | "RESPONDED" | "CANCELLED" | "EXPIRED"
PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/pendingApprovals/auditEvents"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "approvalRequestId": "00000000-0000-0000-0000-000000000000",
      "agentId": "string",
      "sessionId": "string",
      "taskQueueId": 0,
      "toolKey": "string",
      "gateType": "TOOL_FLOW_STEP",
      "eventType": "REQUESTED",
      "channel": "WEB",
      "actor": "string",
      "decision": "APPROVE",
      "responseText": "string",
      "proposedParameters": {},
      "detail": "string",
      "correlationId": "string",
      "createdAt": 0
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}