Hanzo
OpenapiAuthor

Returns the AUDIT TRAIL behind the caller's own royalty: every ledger row with…

Returns the AUDIT TRAIL behind the caller's own royalty: every ledger row with the spend it was computed from, the share applied at the time, the…

GET /v1/author/basis

Addresshttps://api.hanzo.ai/v1/author/basis
MethodGET
Operationget_author_basis
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the AUDIT TRAIL behind the caller's own royalty: every ledger row with the spend it was computed from, the share applied at the time, the platform's matching half, whether each row satisfies the formula, and the attribution edges that already existed when the row was written.

It answers ONE OF TWO SHAPES. An org that has never connected gets {"isAuthor": false, "defaultShareBps"} — never a 404, which would answer "is this org an author?" for anyone who asked. An enrolled org gets the basis: isAuthor, id, status, asOf, shareBps, platformShareBps, defaultShareBps, shareSource, settlesTo, method (the formula, the rate card and the sizing), ledger, reconciliation, window, and period when one was requested.

This read NEVER sweeps, and that is the point of it being a separate address from the dashboard: an audit must not move the money it is auditing, so calling it N times leaves the balances and the ledger byte-identical.

Request

1 field.

FieldInTypeRequiredDescription
periodquerystringPeriod is the UTC accrual month, YYYY-MM. Empty means every period; any other shape is refused with 400, because the period is echoed back and used as a SQL…

Response

StatusBodyMeaning
200objectok

200 body — 1 field.

FieldInTypeAlwaysDescription
*bodyobject

Failure carries the platform error shape — see Errors.

Examples

hanzo authors basis

Author API · All Hanzo APIs · Interactive reference

How is this guide?

On this page