Hanzo AI
OpenapiGit

List pools

Returns the capacity this org has declared and how many daemons have entered each pool.

GET /v1/git/pools

Addresshttps://api.hanzo.ai/v1/git/pools
MethodGET
Operationget_git_pools
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the capacity this org has declared and how many daemons have entered each pool.

Request

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

Response

StatusBodyMeaning
200git.poolListok
defaultproblem-detailsrefused

200 body — 5 fields.

FieldInTypeAlwaysDescription
databodygit.poolView[]Data is the org's declared pools, by name.
data[].createdAtbodyinteger (int64)CreatedAt is when the pool was declared, in unix seconds.
data[].labelsbodystring[]Labels are what a workflow's runs-on: selects this pool by.
data[].namebodystringName is the pool's handle in this org.
data[].runnersbodyinteger (int64)Runners is how many daemons have entered the pool.

Failure carries the platform error shape — see Errors.

Examples

hanzo git pools get

Git API · All Hanzo APIs · Interactive reference

How is this guide?

On this page