GET /api/v1/entities/{name}/{guid}/audit
Read Audit
Audit trail for one row, projected from lifecycle_log.
Latest first. A multi-field edit is expanded into one event per field.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/entities/<name>/<guid>/audit" \ -H "Authorization: Bearer <token>"Response 200
Section titled “Response 200”The contract carries no example for this response; schema: array of AuditEvent. Field-level shape: interactive explorer.
Returns
Section titled “Returns”array of AuditEvent — Successful Response
| Field | Type | Description |
|---|---|---|
action | string | |
actor | string | |
field_changed | string | null (opt.) | |
lcstep | integer | null (opt.) | |
new_value | object (opt.) | |
old_value | object (opt.) | |
timestamp | string |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
name | path | yes | string | — | — | |
guid | path | yes | integer | — | — | |
limit | query | no | integer | 50 | min 1; max 500 |
Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.