Log audit entry
Request body
AuditEntrySchema:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique entry ID |
userId | string | Yes | User who invoked the tool |
roleId | string | Yes | Role used for authorization |
toolPath | string | Yes | Tool that was invoked |
args | object | No | Arguments passed to the tool |
resultStatus | string | Yes | One of: success, error, denied, elicited |
elicitTrail | string[] | No | Execution IDs of elicitations triggered |
timestamp | string | Yes | ISO 8601 datetime |
Response (201)
List audit entries
| Parameter | In | Required | Default | Description |
|---|---|---|---|---|
userId | query | No | — | Filter by user |
limit | query | No | 50 | Max entries to return |