Archive Custody Replay

Reconcile archive handoff offers with receiver acknowledgments and flag disputes and items awaiting acceptance.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

Lumière PayCheck verified paid delivery on Base. View the signed test receipt.

POST a JSON request to /archive-custody-replay/v1/check with an x402 V2 client.

Worked example

Request

{
  "holdings": [
    {
      "item": "folio",
      "custodian": "archive"
    }
  ],
  "entries": [
    {
      "action": "offer",
      "event": "T1",
      "item": "folio",
      "from": "archive",
      "to": "studio"
    },
    {
      "action": "accept",
      "event": "T2",
      "offer": "T1",
      "by": "photo"
    },
    {
      "action": "accept",
      "event": "T3",
      "offer": "T1",
      "by": "studio"
    },
    {
      "action": "offer",
      "event": "T4",
      "item": "folio",
      "from": "studio",
      "to": "vault"
    }
  ]
}

Result

{
  "holdings": [
    {
      "item": "folio",
      "custodian": "studio"
    }
  ],
  "accepted": [
    {
      "offer": "T1",
      "acknowledgment": "T3"
    }
  ],
  "pending": [
    {
      "offer": "T4",
      "item": "folio",
      "from": "studio",
      "to": "vault"
    }
  ],
  "issues": [
    {
      "event": "T2",
      "reason": "unexpected_actor",
      "expected_actor": "studio"
    }
  ]
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter