Explain a receipt
curl --request GET \
--url https://api.getlurk.com/v1/activity/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/activity/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/activity/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"activity": {
"id": "act_01m6jxa1q0eq98wwe0n7sr9cb0",
"at": "2026-11-04T09:12:44.000Z",
"user": {
"id": "usr_01m2ayvr9gf8e89t8f5cbx71b0",
"external_id": "ana@example.com"
},
"by": "rule:order-points",
"via": "api",
"agent": null,
"event": {
"id": "evt_01m6jxa1q0f6z881kx3gx5hwg0",
"name": "order.paid"
},
"lines": [
{
"unit": "points",
"change": 49,
"balance": 169,
"rule": "order-points"
}
],
"reverses": null,
"reversed_by": null,
"note": null,
"cause": null,
"reference": null,
"transfer": null
},
"checks": [
{
"rule": "order-points",
"check": "when",
"ok": true,
"detail": "heard order.paid"
},
{
"rule": "order-points",
"check": "property",
"ok": true,
"detail": "currency = \"USD\""
},
{
"rule": "order-points",
"check": "limit",
"ok": true,
"detail": "0 of 5 per day used"
},
{
"rule": "order-points",
"check": "amount",
"ok": true,
"detail": "total_cents 4900 per 100 is 49"
}
],
"traced": true
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Receipts
Explain a receipt
The receipt and the checks the engine made for it, in order, from the trace stored with it: never reconstructed afterwards. A receipt written before traces were kept has none (traced: false).
GET
/
v1
/
activity
/
{id}
Explain a receipt
curl --request GET \
--url https://api.getlurk.com/v1/activity/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/activity/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/activity/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"activity": {
"id": "act_01m6jxa1q0eq98wwe0n7sr9cb0",
"at": "2026-11-04T09:12:44.000Z",
"user": {
"id": "usr_01m2ayvr9gf8e89t8f5cbx71b0",
"external_id": "ana@example.com"
},
"by": "rule:order-points",
"via": "api",
"agent": null,
"event": {
"id": "evt_01m6jxa1q0f6z881kx3gx5hwg0",
"name": "order.paid"
},
"lines": [
{
"unit": "points",
"change": 49,
"balance": 169,
"rule": "order-points"
}
],
"reverses": null,
"reversed_by": null,
"note": null,
"cause": null,
"reference": null,
"transfer": null
},
"checks": [
{
"rule": "order-points",
"check": "when",
"ok": true,
"detail": "heard order.paid"
},
{
"rule": "order-points",
"check": "property",
"ok": true,
"detail": "currency = \"USD\""
},
{
"rule": "order-points",
"check": "limit",
"ok": true,
"detail": "0 of 5 per day used"
},
{
"rule": "order-points",
"check": "amount",
"ok": true,
"detail": "total_cents 4900 per 100 is 49"
}
],
"traced": true
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Authorizations
Response
Explain a receipt