Create an agent
Agents
Create an agent
Creates an agent in the API key workspace. Requires agents:write.
This creates configuration only. The agent will not be callable by the Responses API until isActive is true and it satisfies runtime prerequisites.
POST
Create an agent
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 100Optional 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])?$Maximum string length:
500Maximum string length:
10Public active/inactive switch.
Response
Created agent.
Allowed value:
"agent"Public active/inactive switch. Active agents can appear in the model list.