Create an agent
POST/agent-swarms/:agentSwarmId/agents
Creates a new agent in the specified agent swarm. Scaffolding runs asynchronously — the response
carries the initial state, poll GET /agent-swarms/{agentSwarmId}/agents/{agentId} for
the outcome.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
agents-create 200 response
The request was unacceptable, often due to missing a required parameter.
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.