Create or update agent swarm deployment configuration
POST/agent-swarms/:agentSwarmId/deployment-configs
Create new agent swarm deployment configuration or update an existing one. The configuration of each
agent listed in deploymentConfig (config files, connections, runtime) is replaced by the request.
The agent gateway settings are the exception: an omitted agentGateway, or a field omitted inside it,
keeps the stored value; A2A settings are never changed here.
agentGateway.serviceAccountId takes the UUID or the username of the service account
(GET /service-accounts?usable=true lists the ones the caller may use); it is stored as
the UUID. A service account that cannot be found is rejected with 400.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
agent-swarm-deployment-config-store 200 response
The request is invalid, e.g. the service account in agentGateway.serviceAccountId was not found.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Resource not found.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.