Skip to main content
Mihu AI logo
  • Category: ai agents
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 10
  • Triggers: 0
  • Slug: MIHU_AI
  • Version: 00000000_00

Tools

Slug: MIHU_AI_GET_CALL_ANALYTICSReturn authoritative aggregate call counts, duration, outcomes, handling, and cost for a required half-open time window.

Input Parameters

string
Comma-separated call channel tokens, such as call,whatsapp_call.
string
required
Exclusive ISO-8601 end timestamp with a UTC offset.
string
Restrict metrics to this agent UUID.
string
required
Inclusive ISO-8601 start timestamp with a UTC offset.
string
Aggregation granularity; Mihu AI currently supports only total.
boolean
Include metrics for the immediately preceding window of equal length.
string
Restrict metrics to this campaign UUID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_GET_TASKRetrieve one existing asynchronous task when its UUID is already known from another Mihu AI response.

Input Parameters

string
required
UUID of the task to retrieve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_GET_WORKSPACEReturn the connected Mihu AI workspace identity, locale, timezone, and wallet balance.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_LIST_AGENTSList workspace agents, optionally filtered by lifecycle status or searched by text.

Input Parameters

integer
Maximum agents to return in this page (1-100).
string
Continuation cursor returned by a previous call; omit for the first page.
Search agents using provider text matching.
string ("pending" | "ready" | "in_progress" | "paused" | "completed")
Return only agents in this lifecycle status.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_LIST_APPOINTMENTSList appointments filtered by schedule, contact, status, or date range.

Input Parameters

string ("approved" | "pending" | "rejected" | "cancelled")
Return appointments with this status.
string
Include appointments on or before this YYYY-MM-DD date.
string
Include appointments on or after this YYYY-MM-DD date.
string
Return appointments for this contact UUID.
string
Return appointments for this schedule UUID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_LIST_CALLSList calls filtered by agent, call status, or inbound/outbound/web direction.

Input Parameters

integer
Maximum calls to return in this page (1-100).
string
Continuation cursor returned by a previous call; omit for the first page.
string ("in-progress" | "ended" | "missed" | "failed")
Return calls with this status.
string ("Inbound" | "Outbound" | "webCall")
Return calls with this direction.
string
Return calls handled by this agent UUID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_LIST_CAMPAIGNSList one page of campaigns, optionally searched by name or description and filtered by lifecycle status.

Input Parameters

integer
Maximum campaigns to return in this page (1-100).
string
Continuation cursor returned by a previous call; omit for the first page.
string
Search campaign name or description.
string ("Active" | "Draft" | "Completed" | "Archived")
Return campaigns with this lifecycle status.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_LIST_CONTACTSSearch and filter workspace contacts by identity, status, channel, pipeline, campaign, tag, pool, or creation date.

Input Parameters

integer
Maximum contacts to return in this page (1-100).
string
Continuation cursor returned by a previous call; omit for the first page.
string
Search contact name, email, or phone number.
string ("Active" | "Inactive")
Return contacts with this status.
string
Include contacts created on or before this YYYY-MM-DD date.
string
Return contacts carrying this tag UUID.
string
Include contacts created on or after this YYYY-MM-DD date.
string
Return contacts in this pool UUID.
string
Return contacts currently in this pipeline stage UUID.
string
Return contacts whose pool is attached to this campaign UUID.
string ("Call" | "SMS" | "WhatsApp")
Return contacts whose preferred contact channel matches this value.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_LIST_CONVERSATIONSFind conversations by contact, exact or partial phone, agent, campaign, task, channel, status, or label. Returns one page and a continuation cursor.

Input Parameters

string
Return conversations with this label UUID; the label named Open also includes unlabeled conversations.
integer
Maximum conversations to return in this page (1-100).
string
Partially match a contact phone number.
string
Continuation cursor returned by a previous call; omit for the first page.
string ("Active" | "Closed")
Return conversations with this status.
string
Return conversations on this provider channel name, such as whatsapp, sms, or call.
string ("timestamp" | "created_at" | "updated_at")
Field used to sort results; timestamp means last activity.
string ("asc" | "desc")
Sort direction.
string
Return conversations linked through a call to this task UUID.
string
Return conversations handled by this agent UUID.
string
Return conversations for this contact UUID.
string
Exactly match a contact number digit-by-digit; formatting and a leading plus sign are ignored.
string
Return conversations linked through a call to this campaign UUID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIHU_AI_LIST_SESSIONSList one page of conversation sessions filtered by conversation, contact, agent, campaign, task, status, or text/voice type.

Input Parameters

string ("text" | "voice")
Return text or voice sessions.
integer
Maximum sessions to return in this page (1-100).
string
Continuation cursor returned by a previous call; omit for the first page.
string ("active" | "completed" | "timed_out")
Return sessions with this status.
string ("created_at" | "updated_at" | "started_at" | "last_activity_at")
Field used to sort sessions.
string ("asc" | "desc")
Sort direction.
string
Return sessions linked through a call to this task UUID.
string
Return sessions handled by this agent UUID.
string
Return sessions for this contact UUID.
string
Return sessions linked through a call to this campaign UUID.
string
Return sessions in this conversation UUID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not