SET API · SET Close
Recompute a signed week's hash; name every match written since it was signed
GET/v1/close/weeks/{week}/verify
Recomputes a signed week's hash from its matches now and checks the previous week still has the hash this one chained to. valid is true when both hold. Names every match written since the week was signed.
Path parameters
weekstringrequiredYYYY-Www, a real ISO week such as2026-W33. Anything else answers 404not_found.
Notes
- SET Close is switched on per deployment; while it is off every
/v1/close/*call answers 403close_off. CheckGET /v1/capabilities(features.close). - Needs a key with the
readscope. - The week must be signed: 409
week_not_signedotherwise. hashMatches: the hash recomputed from the matches now equals the signed one.priorMatches: the previous week still has the hash this one chained to.validis both.changedSinceSignedlists up to 100 matches written aftersignedAt;changedSinceSignedShownsays how many are listed.countSignedandcountNoware the week's match counts when it was signed and now.finalis true once every month the week cuts is locked.- This example is a recorded run of SET's own code (wallet release
e9b03447) with a sandbox key; ids and times are that run's.
Errors
403 close_off404 not_found409 week_not_signed