Hanzo AI
OpenapiGit

List runners

Returns the daemons registered into this org's pools, newest first, with when each was last heard from.

GET /v1/git/runners

Addresshttps://api.hanzo.ai/v1/git/runners
MethodGET
Operationget_git_runners
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the daemons registered into this org's pools, newest first, with when each was last heard from.

Request

GET /v1/git/runners takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200git.runnerListok
defaultproblem-detailsrefused

200 body — 8 fields.

FieldInTypeAlwaysDescription
databodygit.runnerView[]Data is the daemons registered into this org's pools, newest first.
data[].ephemeralbodybooleanEphemeral means the daemon takes ONE job and exits, so it is not expected back and its absence is not a fault.
data[].labelsbodystring[]Labels are what the daemon last said it can do.
data[].lastActivebodyinteger (int64)LastActive is when it was last EXECUTING a job, in unix seconds.
data[].lastOnlinebodyinteger (int64)LastOnline is when it last called at all, in unix seconds.
data[].namebodystringName is what the daemon called itself when it registered.
data[].poolbodystringPool is the declared capacity it entered.
data[].versionbodystringVersion is the runner build the daemon last reported.

Failure carries the platform error shape — see Errors.

Examples

hanzo git runners

Git API · All Hanzo APIs · Interactive reference

How is this guide?

On this page