cURL
curl --request GET \ --url https://capy.ai/api/v1/projects/{projectId}/warm-pool \ --header 'Authorization: Bearer <token>'
{ "allowed": true, "config": { "enabled": true, "targetSize": 123, "maxAgeMinutes": 123, "branch": "<string>", "setupCommands": [ { "name": "<string>", "command": "<string>", "background": true } ], "createdAt": "<string>", "updatedAt": "<string>" }, "status": { "ready": 0, "provisioning": 0, "failed": 0 }, "metadata": { "lastProvisionedAt": "<string>", "lastClaimedAt": "<string>" } }
Get warm pool configuration, pool status counts, and whether warm pool is enabled for the project’s organization.
API token (capy_xxxx). Generate at capy.ai/settings/tokens
Project ID.
Success
Show child attributes
Was this page helpful?