JavaScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.keystoneos.xyz/v1/admin/settlements/{settlement_id}/events', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "items": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "settlement_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "sequence": 123, "from_state": "<string>", "to_state": "<string>", "triggered_by": "<string>", "payload": null, "content_hash": "<string>", "created_at": "2023-11-07T05:31:56Z" } ], "total": 123, "limit": 123, "offset": 123 }
Get the full audit trail of state transitions for a settlement. Events are ordered by sequence number.
Auth0 JWT access token. See Authentication for details.
1 <= x <= 250
x >= 0
Successful Response
Show child attributes