Create AI agent
Create a new AI agent in the current workspace.
Request
- Base URLhttps://api.mentium.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Headers
Request body
Agent name
Agent description
Agent type identifier
Type-specific configuration. Required fields are defined by the agent type registry.
Assigned workspace phone number ID (phone agents only).
LLM model identifier (e.g. gpt-5.5, claude-sonnet-4-6)
System prompt template with {{variables}}
User prompt template with {{variables}}
LLM temperature (0-2)
Maximum output tokens
Reasoning effort level for reasoning models (dynamic, depends on model)
List of tool identifiers the agent can use
Agent-side default inputs per tool identifier (tool_identifier -> {param_key -> value}). Soft defaults that travel with the agent; runtime precedence is agent < node < LLM args.
Whether the agent is active
Response
Successful Response
Agent-side default inputs per tool identifier (tool_identifier -> {param_key -> value}). Soft defaults that travel with the agent; runtime precedence is agent < node < LLM args.
Number of shared HTTP automation tools bound to this agent.
{{variable}} placeholder names found in the agent's prompts (system_prompt_template, user_prompt_template, type_config.first_message). Excludes ElevenLabs system variables (system__*) injected automatically at runtime.
True when the agent has unpublished draft changes.
The revision the agent runs
Staged draft changes that have not been published yet.
Changes
No recorded changes to this operation across all 2 revisions of this API.