Browse documentation
Agents
Create an agent
Creates an agent in the API key workspace. Requires agents:write.
This creates configuration only. The agent cannot start a native run
until isActive is true and it satisfies runtime prerequisites.
POST
/agentsAuthorization
AuthorizationBearer <token>Bodyrequired
application/json
object
Additional properties are not allowed.
namestringrequired- minLength
1- maxLength
100
slugstringOptional stable slug for create-only workflows. If omitted, Salambo derives one from name.
- pattern
"^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
descriptionstring | null- maxLength
500
iconstring | null- maxLength
10
commandContentstringisActivebooleanPublic active/inactive switch.
Response
Created agent.
object
idstringrequired- format
"uuid"
public_idstringrequired- pattern
"^agt_[A-Za-z0-9]+$"
objectstringrequired- const
"agent"
namestringrequiredslugstringrequireddescriptionstring | nulliconstring | nullcommand_contentstringis_activebooleanrequiredPublic active/inactive switch. Active agents can appear in the model list.
created_atintegerrequiredupdated_atintegerrequired