Actions33
- Agent Actions
- Appointment Actions
- Call Actions
- Contact Actions
- Conversation Actions
- Dataset Actions
- Listing Actions
- SMS Actions
- Task Actions
- WhatsApp Actions
Agent → Create
AI-generatedSummary
Create a Mihu AI agent by sending its name and configured profile, behavior, training, and settings to the Mihu API. The operation makes one agent creation request for each input item and returns the API response data.
Inputs
- Name (required) — Agent name.
- Agent profile and behavior — Optional description, company name, role, objective, tone, behavior guidelines, company service, topic, language, speed, timezone, status, custom prompt, and custom LLM URL. Empty string fields are omitted; language defaults to en, speed to normal, and status to pending.
- Appointment scheduling — Enable appointment scheduling and optionally enable random scheduling; both default to false and are sent to the API.
- Guidelines and notes — Optional lists of content and order pairs, sent as agent guidelines and notes.
- Training — Optional training items with content and optional intent and response.
- Procedures (JSON) — Optional JSON array of procedures; defaults to []. Nonempty arrays are included in the request. Invalid JSON or a non-array value causes an error.
- Settings (JSON) — Optional JSON object of voice and text settings; defaults to {}. Nonempty objects are included in the request. Invalid JSON causes an error.
Output shape
A list of one item per input item, each containing the API response data as json.
Creates the agent with a POST request. If the API response has a data property, that value is returned; otherwise the full response is returned. With Continue On Fail enabled, failed items return an error field.