Hanzo
OpenapiAgents

Returns the public index of every published build, most recently updated first,…

Returns the public index of every published build, most recently updated first, so a gallery can link straight to the story behind each product.

GET /v1/agents/builds

Addresshttps://api.hanzo.ai/v1/agents/builds
MethodGET
Operationget_agents_builds
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the public index of every published build, most recently updated first, so a gallery can link straight to the story behind each product. PUBLIC, no tenancy: publishing is the author's act, and only published root sessions appear here.

Request

1 field.

FieldInTypeRequiredDescription
limitqueryintegerLimit caps the page.

Response

StatusBodyMeaning
200buildListok

200 body — 11 fields.

FieldInTypeAlwaysDescription
buildsbodybuildSummary[]Builds is every published build, most recently updated first.
builds[].agentbodystringAgent is the label the surface that did the work calls itself by.
builds[].endedAtbodystringEndedAt is when it finished, same format.
builds[].orgbodystringOrg and Project are the build's public ADDRESS — the pair the full story is read at, and the pair a visitor sees in the URL bar.
builds[].projectbodystringProject is the product's slug, the second half of that address.
builds[].repobodystringRepo is the repository the work was done in, as the session reported it.
builds[].sessionbodystringSession is the agent session behind the build, and the value its commits name in their Hanzo-Session: trailer.
builds[].startedAtbodystringStartedAt is when the session opened, RFC 3339 in UTC.
builds[].statusbodystringStatus is the session's own: running, paused, done or error — so a card can show a build still being written.
builds[].titlebodystringTitle is the human line for the card.
builds[].turnsbodyintegerTurns is HOW MANY turns the transcript holds — a COUNT, unlike the turn on each turn of the full story, which is that turn's position.

Failure carries the platform error shape — see Errors.

Examples

hanzo agents builds list

Agents API · All Hanzo APIs · Interactive reference

How is this guide?

On this page