Create a new agent
Changed onCreate a new agent by passing the agent name in the request body.
New agents have versioning enabled by default. To set the prompt, firstMessage, tools, or any runtime config, fork a draft from the auto-created initial version, edit it, publish, and activate — see the Versioning Lifecycle guide for the full flow.
The legacy PATCH /workflow/{workflowId} endpoint writes directly to the underlying workflow document and bypasses the version lifecycle; edits made that way are not captured as a version and may not propagate to live calls. Use the drafts flow above.
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent
- AuthHTTP bearer
Request body
Response
Agent created successfully
Example response
{
"status": true,
"data": "60d0fe4f5311236168a109ca"
}Changes
- info
added the new
gpt-5.2-azureenum value to the request property - info
added the new
multi_agentsenum value to the request property
- info
- info
added the new
deenum value to the request property/ - info
added the new
deenum value to the request property// - info
added the new
frenum value to the request property/ - info
added the new
frenum value to the request property// - info
added the new
itenum value to the request property/ - info
added the new
itenum value to the request property// - info
added the new
knenum value to the request property/ - info
added the new
knenum value to the request property// - info
added the new
mlenum value to the request property/ - info
added the new
mlenum value to the request property// - info
added the new
nlenum value to the request property/ - info
added the new
nlenum value to the request property// - info
added the new
ptenum value to the request property/ - info
added the new
ptenum value to the request property// - info
added the new
ruenum value to the request property/ - info
added the new
ruenum value to the request property// - info
added the new
teenum value to the request property/ - info
added the new
teenum value to the request property//
- info