cURL
curl --request PATCH \ --url https://capy.ai/api/v1/projects/{projectId}/warm-pool \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "enabled": true, "targetSize": 10.5, "maxAgeMinutes": 735, "branch": "<string>", "setupCommands": [ { "name": "<string>", "command": "<string>", "background": 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 } }
Update warm pool configuration. Supports partial updates — only include fields to change.
API token (capy_xxxx). Generate at capy.ai/settings/tokens
Project ID.
1 <= x <= 20
30 <= x <= 1440
Show child attributes
Success
Was this page helpful?