Change how many agents may run at once.
POST/api/v1/crews/{id}/resize
Scopecrews
No query parameters.
Path parameters.
idstringrequired
The crew's id.
Headers.
Idempotency-Keystring
Makes a retry safe: the same key with the same request returns the first answer and does nothing else.
Body.
maxAgents1–100required
The most agents the crew runs at once. Shrinking releases queued agents beyond it, newest first.
Response.
200 OK: a CrewView. The example has placeholder values.
- 422 validation_failed
- The body does not match its schema; each problem is in
details.