palbaseDocs

Palbase ai · API

GET/ai/pools

The project's runner pools

Every pool of the project's, with what its machines hold: how many machines, the sessions they take and take now (capacity_total, capacity_used), and how many sessions wait for a place (waiting).

Called by your server, with the project's secret key.

curl
curl -X GET "https://<your-ref>.palbase.studio/ai/pools" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The pools

401No valid credential

403A publishable key or a user's session: everything here is the project's server's, called with the secret key

503The model service or the database did not answer; retry shortly

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListPools of ai's contract.