cURL
curl --request POST \ --url https://app.agentcloud.dev/{resourceSlug}/forms/agent/add \ --header 'Content-Type: agent.json' \ --data '{ "_id": "<string>", "orgId": "<string>", "teamId": "<string>", "name": "<string>", "role": "<string>", "goal": "<string>", "backstory": "<string>", "modelId": "<string>", "functionModelId": "<string>", "verbose": true, "allowDelegation": true, "toolIds": [ "<string>" ], "icon": {} }'
{ "_id": "<string>", "redirect": "<string>" }
Add a new Agent
The resourceSlug is a url parameter of the teamId associated with the user
An agent object used for tasks or apps
Successful operation, redirect to '/{resourceSlug}/agents'.
Server response after successsfully adding a new object