Audit
Query the immutable audit log. The audit endpoint provides flexible filtering over all operation records within your organization.
Query Audit Records
POST
/v1/audit/query
Search and filter operation records with flexible query parameters.
Auth: compliance_auditor
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| agentId | string | No | Filter by agent identifier |
| operationType | string | No | Filter by operation type (e.g. loan.approve) |
| startTime | string | No | ISO 8601 start of time range |
| endTime | string | No | ISO 8601 end of time range |
| subject | string | No | Filter by operation subject |
| cursor | string | No | Pagination cursor |
| limit | number | No | Results per page (default 50, max 200) |
Example Request
bash
curl -X POST https://api.elydora.com/v1/audit/query \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"agentId": "agent_underwriter",
"operationType": "loan.approve",
"startTime": "2026-02-01T00:00:00Z",
"endTime": "2026-02-28T23:59:59Z",
"limit": 20
}'Response
json
{
"data": [
{
"operation_id": "550e8400-e29b-41d4-a716-446655440000",
"agent_id": "agent_underwriter",
"operation_type": "loan.approve",
"subject": "LN-2026-001",
"action": "approve",
"issued_at": "2026-02-28T14:00:00Z",
"seq_no": 42
}
],
"nextCursor": "eyJpZCI6NDJ9",
"hasMore": true
}