Skip to content

List evidence events

GET
/v1/loans/{ref}/evidence
curl --request GET \
--url http://localhost:8080/v1/loans/example/evidence

Returns the loan’s hash-chained evidence events in sequence: type, actor, payload, payload hash, previous hash and chain hash. Any staff role or an API key with evidence:read. 404 for an unknown reference.

ref
required
string

OK

Media typeapplication/json
Array<object>
object
id
required
integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
seq
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
eventType
required
string
actorType
required
string
actorId
required
null | string format: uuid
payload
required

A validated JSON document destined for a jsonb / nvarchar(max) ISJSON column. Distinct from string so the persistence layer can bind it with the right provider type on each dialect.

payloadSha256
required
string
prevSha256
required
string
chainSha256
required
string
occurredAt
required
string format: date-time
Examplegenerated
[
{
"id": 1,
"seq": 1,
"eventType": "example",
"actorType": "example",
"actorId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"payload": "example",
"payloadSha256": "example",
"prevSha256": "example",
"chainSha256": "example",
"occurredAt": "2026-04-15T12:00:00Z"
}
]