Hanzo AI
OpenapiAgents

List progress

Returns how far along one run is: the share of its goal that is done, whether it is running, blocked or finished, and a line saying what it is doing right…

GET /v1/agents/sessions/{id}/progress

Addresshttps://api.hanzo.ai/v1/agents/sessions/{id}/progress
MethodGET
Operationget_agents_sessions_by_id_progress
AuthAuthorization: Bearer $HANZO_API_KEY

Returns how far along one run is: the share of its goal that is done, whether it is running, blocked or finished, and a line saying what it is doing right now.

It is a MODEL ESTIMATE read off the run's own transcript, not a measurement — estimated says so on every answer, and a run whose progress cannot be told reports phase "unknown" with no percentage rather than a zero it does not mean. A session that has already finished answers from its own status instead, and is marked not estimated.

The list and detail reads carry the same value; this address is the one that WAITS. Where the stored estimate has gone stale it is remade before answering, so a human deciding whether to step into a run gets a current reading rather than the last poll's — which costs one small completion, charged to the same wallet the session already names, at most once every thirty seconds per run.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the session to act on, from the path.

Response

StatusBodyMeaning
200sessionProgressok

200 body — 5 fields.

FieldInTypeAlwaysDescription
activitybodystringActivity is the one line saying what the run is doing right now ("running the reaper's tests"), up to 120 characters, in the model's words.
atbodystringAt is when this was determined, RFC 3339 in UTC to the second.
estimatedbodybooleanEstimated says a MODEL produced this, from the run's transcript, and it may be wrong.
pctbodyintegerPct is how much of the run is done, 0 to 100.
phasebodystringPhase is what shape the run is in: running, blocked, done, error, or unknown when nothing has estimated it yet.

Failure carries the platform error shape — see Errors.

Examples

hanzo agents sessions progress <id>

Agents API · All Hanzo APIs · Interactive reference

How is this guide?

On this page