Speak AI
v2.4.1Search recordings, summarize meetings, create clips, and automate workflows from your AI assistant.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_signed_upload_url Get Signed Upload URL
Get a pre-signed URL for sending a file's bytes straight to Speak AI storage. Use it only when you can make an HTTP PUT request with the file's bytes yourself, for example from a terminal on the user's computer. If you cannot send that request, do not call this tool: ask the user for a public link to the file and use upload_and_analyze, or ask them to upload it in the Speak AI app. After the PUT succeeds, call upload_media with the returned URL. Where upload_local_file is available it does all of these steps for you.
| Parameter | Type | Description |
|---|---|---|
filename * | string | Original filename including extension, e.g. "interview.mp4". The extension decides audio vs video and the storage path, so it must match the real file — a video named ".mp3" is stored as audio and c… |
mediaType | string | Type of media: "audio" or "video". It decides the storage path, so it has to match the real file. Send it whenever the user has told you which they want, or when the filename extension does not reflec… |
mimeType | string | MIME type, e.g. "video/mp4". Omit to derive it from the filename extension. |
upload_media Upload Media from URL
Import an audio or video file into Speak AI from a URL and start transcription. Accepts a direct public file URL, a URL returned by get_signed_upload_url, or a page link from a supported platform, which the server resolves to the underlying media. Supported page links: YouTube, TikTok, Instagram, X/Twitter, Facebook, Reddit, SoundCloud, Twitch, Dailymotion, Streamable, Snapchat, Pinterest, Tumblr, Bilibili, VK, OK.ru and Rutube. Vimeo and Loom page links are not supported. Creates a media item. The request fails if the file exceeds the plan's size limit or its duration cannot be read. Returns…
| Parameter | Type | Description |
|---|---|---|
url * | string | Direct public media file URL, a URL returned by get_signed_upload_url, or a page link from a platform listed in this tool's description. Page links are resolved server-side, so pass the URL the user g… |
callbackUrl | string | URL that replaces the workspace webhook's destination for this media's webhook events. It takes effect only when the workspace already has an active webhook for the event; on its own it does not creat… |
description | string | Description of the media file |
fields | array | Custom field values to attach to the media. Field IDs that do not belong to the workspace are ignored without an error. |
folderId | string | ID of the folder to place the media in. If the folder is not found, the media goes to the workspace's first folder. |
mediaType | string | Type of media: "audio" or "video". Send it whenever the user has told you which they want — if they called it an audio file, or asked for audio only, pass "audio"; if they called it a video, pass "v… |
name | string | Display name for the media. Defaults to the file name in the URL, or "Upload" with the date and time when the URL has none. |
sourceLanguage | string | BCP-47 language code for transcription, e.g. "en-US" or "he-IL". Omit to use the default language on the user profile. An unsupported code falls back to automatic detection instead of failing. |
tags | string | Comma-separated tags for the media |
list_media List Media Files
List and search media files in the workspace with filtering, pagination, and sorting. Use filterName for text search, mediaType to filter by audio/video/text, folderId for folder-specific results, and from/to for date ranges. Use the include param to embed additional data (transcripts, speakers, keywords) inline with each result, avoiding N+1 API calls. Returns mediaIds you can pass to get_transcript or get_media_insights. For deep full-text search across transcripts, use search_media instead.
| Parameter | Type | Description |
|---|---|---|
filterMedia | integer | Filter: 0=Uploaded, 1=Assigned, 2=Both (default: 2) |
filterName | string | Filter media by partial name match. Searches names only; use search_media to search transcripts. |
folderId | string | Filter media within a specific folder |
from | string | Start date for date range filter (ISO 8601) |
include | array | Additional data to include with each media item. Without this, only metadata is returned. Use 'transcription' to include full transcripts inline, 'speakers' for speaker details, 'keywords' for extract… |
isFavorites | boolean | Filter to only show favorited media |
mediaType | string | Filter by media type: "audio", "video", or "text" |
page | integer | Page number for pagination (0-based, default: 0) |
pageSize | integer | Number of results per page (default: 25, max: 100). Page through larger sets rather than raising this — with include: ['transcription'] each result carries a full transcript, and an oversized respon… |
sortBy | string | Sort field and direction, e.g. "createdAt:desc" or "name:asc" |
to | string | End date for date range filter (ISO 8601) |
get_media_insights Get Media Insights
Retrieve AI-generated insights for a processed media file — topics, sentiment, keywords, action items, summaries, and more. The media must be in 'processed' state (check with get_media_status first). For a video, data.thumbnail has the thumbnail: url, source (auto or custom), pending while a requested frame is being made, and error if that frame failed.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | The mediaId (12 characters) from list_media, search_media or an upload result. Not the media name and not a database _id. |
get_transcript Get Transcript
Retrieve the full transcript for a media file with speaker labels and timestamps. Works on processed media and also returns the partial, in-progress transcript while a meeting bot is still recording (LIVE_TRANSCRIPT state). To fetch only the new sentences added since your previous call during a live meeting, use get_live_meeting_transcript instead. Use update_transcript_speakers to rename speaker labels after reviewing. For subtitle-formatted output, use get_captions instead.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | The mediaId (12 characters) from list_media, search_media or an upload result. Not the media name and not a database _id. |
update_transcript_speakers Rename Transcript Speakers
Update or rename speaker labels in a single media transcript. Call get_transcript first to read the speaker list — a speaker's label is whatever it was last renamed to, not a fixed value, so ids from an earlier turn may be stale. Renaming a speaker to a name another speaker already has is refused as a collision. Re-sending a rename that has already been applied is a safe no-op, so do not retry a call that reported success.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the media file |
speakers * | array | Speakers to rename. Each entry maps one existing speaker to its new name; speakers not listed are left untouched. |
update_transcription Update Transcription Text
Edit the official transcript text of a single media file by finding and replacing text. Replaces every occurrence of the original text with the replacement (leave replacement empty to delete the text) and reports how many occurrences were replaced. Use update_transcript_speakers to rename speaker labels instead.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the media file |
original * | string | Text to find in the transcript |
replacement * | string | Text to replace it with (empty string deletes the matched text) |
caseSensitive | boolean | Match case exactly when finding the original text |
get_media_status Get Media Status
Check the processing status of a media file. States: pending → transcribing → analyzing → processed (or failed). Poll this after upload_media until state is 'processed', then use get_transcript and get_media_insights to retrieve results. For a video, data.thumbnail has the thumbnail: url, source (auto or custom), pending while a requested frame is being made, and error if that frame failed.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | The mediaId (12 characters) from list_media, search_media or an upload result. Not the media name and not a database _id. |
update_media_metadata Update Media Metadata
Update metadata fields (name, description, tags, status) for an existing media file.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the media file |
name * | string | Display name for the media (required — the server replaces the metadata) |
description | string | Description or notes for the media |
folderId | string | Move media to this folder ID |
manageBy | string | User ID to assign management of this media to |
remark | string | Internal remark or note |
status | string | Media status value |
tags | array | Array of tags to assign to the media |
delete_media Delete Media File
Permanently delete a media file and all associated transcripts and insights.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the media file to delete |
get_captions Get Captions
Get captions for a media file. Captions are separate from full transcripts and are formatted for display/subtitles.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the media file |
list_supported_languages List Supported Languages
List all languages supported for transcription. Use the language codes when uploading media with a specific sourceLanguage.
get_media_statistics Get Media Statistics
Get workspace-level media statistics — total counts, processing status breakdown, storage usage, etc.
toggle_media_favorite Toggle Media Favorite
Mark or unmark media files as favorites for quick access.
| Parameter | Type | Description |
|---|---|---|
isFavorite * | boolean | true to mark as favorite, false to unmark |
mediaIds * | array | Media file IDs to update |
reanalyze_media Re-analyze Media
Re-run AI analysis on a media file using the latest models. Choose which parts to re-run via the flags below. Overwrites the existing results for the selected parts.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the media file to re-analyze |
isEmbeddings | boolean | Re-generate embeddings |
isFillerWords | boolean | Re-run filler-word detection |
isInsights | boolean | Re-run insights analysis |
isSentiment | boolean | Re-run sentiment analysis |
bulk_update_transcript_speakers Bulk Rename Speakers Across Files
Normalise speaker names that are ALREADY correct across multiple media files — for example changing "Frederik S." to "Frederik" everywhere. Applies the same mapping to every specified media file. NOT a way to identify a speaker across a project: neither the numeric id nor a default label such as "Speaker 1" refers to the same person in different files, because speakers are numbered per file in order of appearance. Renaming "Speaker 1" across many files will label a different person in each one. Identify the speakers in each file first (get_transcript, or an identify-speakers automation), the…
| Parameter | Type | Description |
|---|---|---|
mediaIds * | array | Array of media IDs to update speakers for (max 500 per call) |
speakers * | array | Speaker mappings applied to every file in mediaIds. Speakers not listed, and files with no matching speaker, are left untouched. |
bulk_move_media Bulk Move Media Files
Move multiple media files to a folder in a single operation. Use this for batch reorganization instead of updating media one by one.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | Target folder ID to move media into |
mediaIds * | array | Array of media IDs to move |
set_media_thumbnail Set Media Thumbnail
Set a custom thumbnail for a video. Send exactly one of imageUrl, imageBase64 or atSeconds. The image must be JPEG, PNG or WebP and at most 10 MB; the type is judged from the file bytes, not the name. atSeconds uses the video frame at that moment; this tool waits up to 60 seconds for the frame and returns its url, or says it is still processing (check later with get_media_status, which carries the thumbnail field). Each call replaces the current custom thumbnail, and there is no way back to the automatic one. Needs permission to edit the media. Errors: 400 bad input, unsupported image, blocked…
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the video |
atSeconds | number | Use the video frame at this many seconds from the start. Values past the end use the last second. |
imageBase64 | string | The image bytes in base64 (JPEG, PNG or WebP, at most 10 MB once decoded). A data:image/...;base64, prefix is allowed. |
imageUrl | string | A public https link to a JPEG, PNG or WebP image of at most 10 MB. The server downloads it. |
create_text_note Create Text Note
Create a new text note in Speak AI for analysis. The content will be analyzed for insights, topics, and sentiment.
| Parameter | Type | Description |
|---|---|---|
name * | string | Title/name for the text note |
callbackUrl | string | URL that replaces the workspace webhook's destination for this note's webhook events. It takes effect only when the workspace already has an active webhook for the event; on its own it does not create… |
description | string | Description for the text note |
fields | array | Custom field values to attach to the text note |
folderId | string | ID of the folder to place the note in |
tags | string | Comma-separated tags or array of tag strings |
text | string | Full text content to analyze |
get_text_insight Get Text Note Insights
Retrieve AI-generated insights for a text note, including topics, sentiment, summaries, and action items.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the text note |
reanalyze_text Re-analyze Text Note
Trigger a re-analysis of an existing text note to regenerate insights with the latest AI models. Overwrites the note's current insights and sentiment.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the text note to reanalyze |
update_text_note Update Text Note
Update an existing text note's name, content, or metadata. New text replaces the existing text. A note that has not been analyzed yet is analyzed after the update; an already analyzed note is not re-analyzed, so call reanalyze_text afterwards if its insights should reflect the new text.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the text note |
description | string | Updated description |
name | string | New name for the text note |
tags | string | Updated comma-separated tags |
text | string | New text content. Replaces the existing text of the note. |
export_media Export Media Transcript
Export a media file's transcript, insights or labels in various formats (pdf, docx, srt, vtt, txt, csv). Use fileType csv-labels for a labels CSV with one row per labelled passage and label (file name, group, label, times, speaker, excerpt, author, status, confidence, comment count). Generates the file and returns it without saving or sharing anything.
| Parameter | Type | Description |
|---|---|---|
fileType * | string | Desired export format |
mediaId * | string | Unique identifier of the media file |
isInsightVisualized | boolean | Include insight visualizations |
isRedacted | boolean | Apply PII redaction to export |
isSpeakerEmail | boolean | Include speaker emails in export |
isSpeakerNames | boolean | Include speaker names in export |
isTimeStamps | boolean | Include timestamps in export |
redactedCategories | array | Specific categories to redact |
export_multiple_media Export Multiple Media Files
Export multiple media files at once, optionally merged into a single file. With fileType csv-labels you get one labels CSV per file that has labels (files without labels are skipped), or one merged CSV with isMerged; it fails with not found when none of the files has labels.
| Parameter | Type | Description |
|---|---|---|
fileType * | string | Desired export format |
mediaIds * | array | Array of media IDs to export |
folderId | string | Export every media file in this folder instead. Used only when mediaIds is an empty array. |
isInsightVisualized | boolean | Include insight visualizations |
isMerged | boolean | Merge all exports into a single file |
isRedacted | boolean | Apply PII redaction to export |
isSpeakerEmail | boolean | Include speaker emails in export |
isSpeakerNames | boolean | Include speaker names in export |
isTimeStamps | boolean | Include timestamps in export |
get_all_folder_views Get All Folder Views
Retrieve all saved views across all folders.
get_folder_views Get Folder Views
Retrieve all saved views for a specific folder.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | Unique identifier of the folder |
create_folder_view Create Folder View
Create a new saved view for a folder with a custom set of display columns.
| Parameter | Type | Description |
|---|---|---|
columns * | array | Ordered list of columns shown in the view |
folderId * | string | Unique identifier of the folder |
name * | string | Display name for the view |
isDefault | boolean | Whether this view is the folder's default view. Setting true clears the default flag on the folder's other views |
update_folder_view Update Folder View
Update an existing saved view. Replaces the whole view, so `name`, `isDefault` and `columns` must all be supplied.
| Parameter | Type | Description |
|---|---|---|
columns * | array | Ordered list of columns shown in the view |
folderId * | string | Unique identifier of the folder |
isDefault * | boolean | Whether this view is the folder's default view |
name * | string | Display name for the view |
viewId * | string | Unique identifier of the view to update |
clone_folder_view Clone Folder View
Duplicate an existing folder view into a target folder.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the cloned view |
sourceFolderId * | string | Folder that currently holds the view |
targetFolderId * | string | Folder to copy the view into (must differ from sourceFolderId) |
viewId * | string | Unique identifier of the view to clone |
isDefault | boolean | Whether the cloned view becomes the target folder's default. Setting true clears the default flag on the target folder's other views |
list_folders List Folders
List all folders in the workspace with pagination and sorting.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (0-based, default: 0) |
pageSize | integer | Results per page (default: 20, max: 500) |
sortBy | string | Sort field and direction, e.g. "createdAt:desc" |
get_folder_info Get Folder Info
Get detailed information about a specific folder including its contents.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | Unique identifier of the folder |
create_folder Create Folder
Create a new folder in the workspace, optionally assigned to users or user groups.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the new folder |
assignTo | array | Who can access the folder: user IDs, and user group IDs with a " (G)" suffix (e.g. "64b1... (G)"). Get IDs from list_users and list_user_groups. |
description | string | Optional folder description |
clone_folder Clone Folder
Create a new folder copied from an existing folder's name and description. Media in the source folder is not copied. Set isSaveDefaultView to also copy the source folder's default view.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | ID of the folder to clone |
assignTo | array | User IDs to assign the cloned folder to |
description | string | Description for the cloned folder |
isSaveDefaultView | boolean | Whether to copy the source folder's default view |
name | string | Name for the cloned folder |
update_folder Update Folder
Update a folder. `name` must always be supplied (the server replaces the folder config). Pass `assignTo` to replace who can access it; omit it to keep the current assignment.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | Unique identifier of the folder |
name * | string | Display name for the folder |
assignTo | array | Who can access the folder: user IDs, and user group IDs with a " (G)" suffix (e.g. "64b1... (G)"). Get IDs from list_users and list_user_groups. |
description | string | Optional folder description |
delete_folder Delete Folder
Permanently delete a folder. The folder must be empty: the request is refused if it still holds any media or if it is the workspace's last folder, so move or delete its media first.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | Unique identifier of the folder to delete |
check_recorder_status Check Recorder Status
Check whether a recorder/survey is active and accepting submissions.
| Parameter | Type | Description |
|---|---|---|
token * | string | Unique token identifying the recorder |
create_recorder Create Recorder
Create a new recorder or survey for collecting audio/video submissions. The recorder is live as soon as it is created: anyone with its public link can submit. By default each submission emails the recorder owner (if they opted in) and any users in notifyUsers, and emails a confirmation to the respondent when they give an email (see `notification`), and it fires the workspace's embed_recorder.recording_received webhook and recording_received automations. Creating the recorder fires the workspace's embed_recorder.created webhook if one is registered.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the recorder |
clientInformation | object | Respondent info & questions: { name:boolean, email:boolean, questions:[…], consent?:{ isEnabled, title, description, yesButtonLabel, noButtonLabel, isRequired, fieldId? } }. Question shape — Each:… |
description | string | Recorder description |
duration | object | Recording duration: { minDuration, maxDuration } in seconds |
folderId | string | Folder to store recordings in |
isAutoAnalyze | boolean | Whether to auto-analyze submissions |
meta | object | Branding/customization: { primaryColor, backgroundImg, logo, logoDark, fontColor, fontFamily, theme, customCSS, hideWaveform, hideTitle, hideDescription, showDescriptionWhileRecording, hideSubmitButto… |
notification | object | Notification toggles: { upload, client }, both booleans. upload emails the recorder owner (if they opted in to submission emails) and any users in notifyUsers about each new submission; client emails… |
notifyUsers | array | User IDs to notify on new submissions |
options | object | Capture options: { audio, video, screenShare, liveTranscription, upload:{ file, text, multiple, url } } — all booleans |
sourceLanguage | string | Transcription language code (e.g. en-US) |
list_recorders List Recorders
List all recorders/surveys in the workspace.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (0-based, default: 0) |
pageSize | integer | Results per page (default: 20, max: 500) |
sortBy | string | Sort field, e.g. "createdAt:desc" |
clone_recorder Clone Recorder
Duplicate an existing recorder including all its settings and questions. The copy gets its own public link, accepts submissions right away and sends the same submission emails, webhooks and automations as any recorder. Fires the workspace's embed_recorder.created webhook if one is registered.
| Parameter | Type | Description |
|---|---|---|
recorderId * | string | ID of the recorder to clone |
description | string | Description for the cloned recorder |
folderId | string | Folder for the cloned recorder |
name | string | Name for the cloned recorder |
get_recorder_info Get Recorder Info
Get detailed information about a specific recorder including its settings and questions.
| Parameter | Type | Description |
|---|---|---|
recorderId * | string | Unique identifier of the recorder |
get_recorder_recordings Get Recorder Submissions
List all submissions/recordings collected by a specific recorder.
| Parameter | Type | Description |
|---|---|---|
recorderId * | string | Unique identifier of the recorder |
generate_recorder_url Get Recorder Share URL
Retrieve the existing shareable URL and embed iframe code for a recorder/survey. Read-only lookup: returns the recorder's pre-existing share link; it does not create, modify, or publish anything.
| Parameter | Type | Description |
|---|---|---|
recorderId * | string | Unique identifier of the recorder |
update_recorder_settings Update Recorder Settings
Update configuration settings for a recorder (branding, capture options, etc.). Only the supplied settings change, and they apply to the recorder's live public page right away. `name` must always be supplied.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the recorder |
recorderId * | string | Unique identifier of the recorder |
description | string | Recorder description |
duration | object | Recording duration: { minDuration, maxDuration } in seconds |
folderId | string | Folder to store recordings in |
isAutoAnalyze | boolean | Whether to auto-analyze submissions |
meta | object | Branding/customization: { primaryColor, backgroundImg, logo, logoDark, fontColor, fontFamily, theme, customCSS, hideWaveform, hideTitle, hideDescription, showDescriptionWhileRecording, hideSubmitButto… |
notification | object | Notification toggles: { upload, client }, both booleans. upload emails the recorder owner (if they opted in to submission emails) and any users in notifyUsers about each new submission; client emails… |
notifyUsers | array | User IDs to notify on new submissions |
options | object | Capture options: { audio, video, screenShare, liveTranscription, upload:{ file, text, multiple, url } } — all booleans |
sourceLanguage | string | Transcription language code (e.g. en-US) |
update_recorder_questions Update Recorder Questions
Update the survey questions and respondent-info settings for a recorder. The `questions` array replaces the recorder's existing questions, and changes apply to the recorder's live public page right away.
| Parameter | Type | Description |
|---|---|---|
questions * | array | Survey questions. Each: { question, isRequired, answerType, options?, includeOther?, fieldId? }. answerType must be one of: "single", "multiple", "checkbox", "radiobutton", "dropdownlist", "date", "ti… |
recorderId * | string | Unique identifier of the recorder |
consent | object | Consent screen: { isEnabled, title, description, yesButtonLabel, noButtonLabel, isRequired, fieldId? } |
email | boolean | Whether to collect the respondent's email |
name | boolean | Whether to collect the respondent's name |
delete_recorder Delete Recorder
Permanently delete a recorder/survey. Its public link stops accepting submissions. Existing recordings are preserved. Fires the workspace's embed_recorder.deleted webhook if one is registered.
| Parameter | Type | Description |
|---|---|---|
recorderId * | string | Unique identifier of the recorder to delete |
create_embed Create Embed Widget
Create an embeddable player/transcript widget for a media file or a set of folders. Provide `mediaId` for a single-media embed, or `folderIds` for a folder/library embed. If an embed already exists for that media or folder set, it is returned instead. A single-media embed is viewable by anyone with the link while the media's privacy mode is public (the default); a folder embed is created with an auto-generated password. Use update_embed to change privacy or the password, or to show labels and comments (meta isLabels, isComments; off by default), or to brand a shared dashboard (meta logo, logoD…
| Parameter | Type | Description |
|---|---|---|
folderIds | array | Folder IDs to embed (for a folder/library embed) |
mediaId | string | Media file to embed (for a single-media embed) |
update_embed Update Embed Widget
Update an existing embed widget: appearance/feature toggles via `meta`, and privacy. Passing `mediaId` with `privacyMode` sets that privacy mode on the media file itself; a public mode makes the media viewable by anyone with the embed link. Setting `privacyMode` clears any existing password unless a new one is supplied in the same call.
| Parameter | Type | Description |
|---|---|---|
embedId * | string | Unique identifier of the embed |
mediaId | string | Media file whose privacy mode is set to privacyMode. Does not change which media the embed points to. |
meta | object | Embed appearance & feature toggles: { backgroundImg, logo, logoDark, theme, backgroundColor, fontFamily, primaryColor, titleColor, chatWelcomeMessage, assistantTemplateId, isTitle, isDescription, isRe… |
password | string | Password to protect the embed with when privacyMode is private. Only applied when privacyMode is also sent. |
privacyMode | string | Privacy mode for the embed. Changing this clears the existing password unless `password` is also supplied in the same call. |
check_embed Check Embed Exists
Check if an embed exists for a media file and retrieve its configuration.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the media file |
get_embed_iframe_url Get Embed Iframe URL
Get the iframe URL for embedding a media player/transcript on a webpage.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Unique identifier of the media file |
list_embed_sessions List Embed Sessions
Viewing analytics for an embed the user owns: list the visits (sessions) to one embed, newest first by default. Each visit shows when it started and was last active, whether it is still live, total and active time, media opened, time watched, questions asked, traffic source and campaign tags, whether it was a bot, and the viewer's identity if they chose to share it. Returns sessions with totalCount, page and pageSize. Use get_embed_session with a session's _id for its full timeline.
| Parameter | Type | Description |
|---|---|---|
embedId * | string | The embed's _id (24 hex characters), as returned by create_embed or check_embed |
country | string | Exact country name as shown in a session's client.country |
device | string | Filter by device type (default all) |
from | string | Only sessions started on or after this time (ISO 8601 date) |
includeLegacy | boolean | Also include visits recorded before session tracking started (default false) |
includeOwner | boolean | Include sessions from people signed in to your own Speak AI workspace (default false) |
mediaId | string | Only sessions that opened this media file |
page | integer | 0-based page index (default 0) |
pageSize | integer | Sessions per page (default 25, max 100) |
search | string | Match what a viewer shared about themselves (any part) or the start of a visitorId |
sort | string | Sort order (default startedAt:desc) |
to | string | Only sessions started on or before this time (ISO 8601 date) |
traffic | string | people leaves out bots, bots shows only bots (default all) |
viewer | string | identified keeps viewers who chose to identify themselves, anonymous keeps the rest (default all) |
viewerId | string | Only sessions of one identified viewer (viewerId from a session) |
visitorId | string | Only sessions from one browser (visitorId from a session) |
get_embed_session_summary Get Embed Session Summary
Owner analytics for an embed: totals across its visits for a date range. Returns KPIs (sessions, unique and returning visitors, identified viewers, average active time, media opens, time watched, questions and sessions with questions), sessions and visitors per day, top traffic sources, and a paged table of media with opens, unique viewers, plays, time watched, completion rate, questions and downloads.
| Parameter | Type | Description |
|---|---|---|
embedId * | string | The embed's _id (24 hex characters), as returned by create_embed or check_embed |
from | string | Only sessions started on or after this time (ISO 8601 date) |
includeOwner | boolean | Include sessions from people signed in to your own Speak AI workspace (default false) |
mediaPage | integer | 0-based page of the media table (default 0) |
mediaPageSize | integer | Media rows per page (default 25, max 100) |
to | string | Only sessions started on or before this time (ISO 8601 date) |
traffic | string | people leaves out bots, bots shows only bots (default all) |
tz | string | IANA time zone used to group by day, e.g. America/Toronto (default UTC) |
get_embed_session Get Embed Session
Viewing analytics for an embed the user owns: one visit in full. Returns the visit with the media it opened (time watched, plays, seeks, furthest position, completed), the questions asked in chat, and a paged list of its events in time order, plus how many earlier visits the same viewer has made to this embed. Use eventsPage and eventsPageSize to read long timelines.
| Parameter | Type | Description |
|---|---|---|
embedId * | string | The embed's _id (24 hex characters), as returned by create_embed or check_embed |
id * | string | The session's _id (24 hex characters) from list_embed_sessions, not its sessionId |
eventsPage | integer | 0-based page of events (default 0) |
eventsPageSize | integer | Events per page (default 200, max 500) |
ask_ai_chat Ask AI Chat
Ask an AI-powered question about your media using Speak AI's AI Chat. Supports querying a single file, multiple files, entire folders, or your whole account. Pass mediaIds for specific files, folderIds for entire folders, or omit both to search across all media. Use assistantType to get specialized responses (e.g., 'researcher' for academic analysis, 'sales' for deal insights). To continue a conversation, pass the promptId from a previous response. Returns a promptId — save it to continue the conversation with follow-up questions. Set analysisMediaId + analysisInput to have the model listen…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The question or prompt to ask about the media |
analysisInput | string | 'audio' lets the model hear tone, pacing and delivery; 'video' also lets it see what is on screen. Omit for transcript-only, which is the default. 'transcript' is not a valid value here — omitting t… |
analysisMediaId | string | Media to analyse as audio/video rather than transcript. Must also appear in mediaIds, and must be sent together with analysisInput. |
assistantTemplateId | string | Required when assistantType is 'custom'. ID of a custom assistant template. |
assistantType | string | Assistant persona: 'general' (default), 'researcher' (academic), 'marketer' (content), 'sales' (deals), 'recruiter' (hiring). Use 'custom' with assistantTemplateId. |
endDate | string | End date for date range filter (ISO 8601, e.g., '2025-03-31') |
fieldId | string | Scope the prompt to a single custom field |
fieldIds | array | Scope the prompt to multiple custom fields (max 10) |
filters | object | Advanced filter object to scope which media the prompt runs over |
folderId | string | Single folder ID to scope the query to. Use folderIds for multiple folders. |
folderIds | array | Array of folder IDs to scope the query to. Omit along with mediaIds to search across all media. |
isIndividualPrompt | boolean | When true, processes each media file separately instead of combining context. Useful for comparing responses across files. |
mediaIds | array | Array of media IDs to query. Omit along with folderIds to search across all media in your workspace. |
promptId | string | ID of an existing conversation to continue. Pass this to maintain chat context across multiple questions. |
speakers | array | Filter to specific speaker IDs from the transcript |
startDate | string | Start date for date range filter (ISO 8601, e.g., '2025-01-01') |
tags | array | Filter media by tags |
check_analysis_eligibility Get Analysis Quote
Check whether a media file can be analysed as audio or video before running ask_ai_chat with analysisInput. Returns whether the file is eligible and, when it is not, a plain-English reason. An unavailable file is a normal result here, not an error. This is the only check that accounts for both the account's opt-in and the server-wide switch, so call it before an audio or video run.
| Parameter | Type | Description |
|---|---|---|
analysisInput * | string | Which pass to check: 'audio' (tone, pacing, delivery) or 'video' (also on-screen visuals, gestures, slides). Required. |
mediaId * | string | Media file to check |
modelId | string | Optional model id to check against. Omit for the workspace default. |
retry_ai_chat Retry AI Chat
Retry a failed or incomplete AI Chat response. Use when a previous ask_ai_chat call returned an error or incomplete answer. The turn runs again with its original settings and replaces the earlier answer for that message. Like ask_ai_chat, the assistant can call other Speak AI tools and actions in connected third-party apps.
| Parameter | Type | Description |
|---|---|---|
messageId * | string | ID of the specific message to retry |
promptId * | string | ID of the conversation containing the failed message |
get_chat_history Get Chat History
Get a list of recent AI Chat conversations. Returns conversation summaries with promptIds that can be used to retrieve full messages via get_chat_messages.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of recent conversations to return (default: 10) |
get_chat_messages Get Chat Messages
Get full message history for conversations. Can filter by promptId for a specific conversation, by media/folder, or search across all chat messages. Returns questions, answers, references, and metadata.
| Parameter | Type | Description |
|---|---|---|
folderId | string | Filter messages by folder ID |
mediaIds | string | Filter by media IDs (comma-separated) |
page | integer | Page number for pagination (0-based, default: 0) |
pageSize | integer | Results per page (default: 25, max: 500) |
promptId | string | Filter to a specific conversation by its ID |
query | string | Search text in prompts and answers |
delete_chat_conversation Delete Chat Conversation
Delete an entire chat conversation from conversation history, so it and its messages no longer appear. No tool can restore it.
| Parameter | Type | Description |
|---|---|---|
promptId * | string | ID of the conversation (promptId) to delete |
list_prompts List Recent Chat Messages
List recent AI Chat messages across the workspace, newest first, with each prompt, answer, references, and the media or folder it ran on. Returns messages from the 25 most recently updated conversations in the workspace, filtered to those the caller can access, so a member may see fewer.
get_favorite_prompts Get Favorite Prompts
Get all prompts and answers that have been marked as favorites. Useful for finding saved insights and important AI-generated analysis.
toggle_prompt_favorite Toggle Prompt Favorite
Mark or unmark a chat message as a favorite for easy retrieval later.
| Parameter | Type | Description |
|---|---|---|
isFavorite * | boolean | true to mark as favorite, false to remove |
messageId * | string | ID of the specific message to favorite/unfavorite |
promptId * | string | ID of the conversation |
update_chat_title Rename Chat
Update the title of a chat conversation for easier identification in history.
| Parameter | Type | Description |
|---|---|---|
promptId * | string | ID of the conversation to rename |
title * | string | New title for the conversation |
submit_chat_feedback Submit Chat Feedback
Submit feedback on a chat response (thumbs up/down). Replaces any earlier feedback on that message, and the score and reason are shared with the Speak AI team for review.
| Parameter | Type | Description |
|---|---|---|
messageId * | string | ID of the message to rate |
promptId * | string | ID of the conversation |
score * | Feedback score: 1 for thumbs up, -1 for thumbs down | |
reason | string | Optional explanation for the feedback |
get_chat_statistics Get Chat Statistics
Get usage statistics for AI Chat / chat. Returns metrics on prompt usage, optionally filtered by date range.
| Parameter | Type | Description |
|---|---|---|
endDate | string | End date for stats (ISO 8601) |
startDate | string | Start date for stats (ISO 8601) |
export_chat_answer Export Chat Answer
Export a specific AI Chat answer. Useful for saving AI-generated summaries, reports, or analysis results.
| Parameter | Type | Description |
|---|---|---|
fileType * | string | Export file format |
messageId * | string | ID of the specific message/answer to export |
promptId * | string | ID of the conversation to export |
list_meeting_events List Meeting Events
List scheduled or completed meeting assistant events with filtering and pagination.
| Parameter | Type | Description |
|---|---|---|
meetingStatus | string | Filter by status (e.g. scheduled, completed, cancelled) |
page | integer | Page number (0-based, default: 0) |
pageSize | integer | Results per page (default: 20, max: 500) |
platformType | string | Filter by platform. Allowed values: zoom, googleMeet, microsoftTeams, webex. Comma-separate for multiple. Must match these exact strings — server validates strictly. |
schedule_meeting_event Schedule AI Meeting Assistant
Schedule the Speak AI meeting assistant to join and record an online meeting (Zoom, Google Meet, Microsoft Teams, or Webex). The assistant joins as a participant other attendees can see, at meetingDate or right away when meetingDate is omitted.
| Parameter | Type | Description |
|---|---|---|
meetingURL * | string | URL of the meeting to join |
title * | string | Display title for the event |
folderId | string | Folder ID to store the recording in |
meetingDate | string | ISO 8601 datetime for when the meeting starts |
meetingLanguage | string | Transcription language code for the meeting (e.g. en-US) |
remove_assistant_from_meeting Remove Assistant from Meeting
Remove the Speak AI assistant from an active or scheduled meeting.
| Parameter | Type | Description |
|---|---|---|
meetingAssistantEventId * | string | Unique identifier of the meeting assistant event |
delete_scheduled_assistant Cancel Scheduled Meeting Assistant
Cancel and delete a scheduled meeting assistant event.
| Parameter | Type | Description |
|---|---|---|
meetingAssistantEventId * | string | Unique identifier of the meeting assistant event to cancel |
get_live_meeting_transcript Get Live Meeting Transcript
Fetch new sentences from an in-progress or just-ended meeting transcript. Identify the meeting via meetingAssistantEventId (preferred) or mediaId. Pass back the previous response's nextCursor as sinceEndInSec to receive only what's been added since.
| Parameter | Type | Description |
|---|---|---|
mediaId | string | Media id of the live meeting. Either this or meetingAssistantEventId is required. |
meetingAssistantEventId | string | Meeting assistant event id from list_meeting_events. Either this or mediaId is required. |
sinceEndInSec | number | Pass the nextCursor value from your previous response to skip already-seen sentences. Omit on the first call. |
list_fields List Custom Fields
List all custom fields defined in the workspace. Each field returns a `slug` (for example `regulator_comment`) alongside its `id`, `name`, and `type`. Put `{{field.<slug>}}` in the prompt text you send and Speak substitutes that field's value for the media before the model sees it. A slug is unique per company and never changes when the field is renamed, so prefer it over the field name. A field with no slug yet resolves by `id` in the same token. Every other tool that takes a field id wants this `id` (12 characters), never the database `_id`.
create_field Create Custom Field
Create a new custom field for categorizing and tagging media. The response starts with the new field's `id`; use that `id` (not `_id`) wherever a field id is needed.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the field |
type * | string | Field type (text, number, select, etc.) |
allowedValues | array | Allowed values for select/multi-select field types |
allowedValuesMode | string | Whether one or multiple allowed values can be selected |
description | string | Optional description for the field |
notApplicableValues | string | Value(s) treated as not-applicable |
otherValues | boolean | Whether values outside allowedValues are permitted |
privacyMode | string | Privacy mode for the field |
prompt | string | AI prompt used to auto-populate the field |
update_multiple_fields Bulk Update Custom Field Values
Set custom field values across media in a single batch operation, overwriting existing values. Scope the update with `mediaIds`, or with `folderId` to update every media in that folder; when both are given only `mediaIds` is used. Empty values are skipped, so this cannot clear a field. Shared dashboard links cache widget data, so field and media edits can take up to about 5 minutes to show for date ranges that include today (15 at most) and up to about 17 minutes for past ranges (60 at most); any dashboard update refreshes it at once.
| Parameter | Type | Description |
|---|---|---|
fields * | array | Array of field id/value pairs to set |
folderId | string | Apply the field values to all media in this folder |
mediaIds | array | Apply the field values to these specific media files |
update_field Update Custom Field
Update a specific custom field by ID. `name` must always be supplied (the server replaces the field config).
| Parameter | Type | Description |
|---|---|---|
id * | string | Field `id` from list_fields or create_field (12 characters), never the database `_id` |
name * | string | Display name for the field |
allowedValues | array | Allowed values for select/multi-select field types |
allowedValuesMode | string | Whether one or multiple allowed values can be selected |
description | string | Optional description for the field |
notApplicableValues | string | Value(s) treated as not-applicable |
otherValues | boolean | Whether values outside allowedValues are permitted |
privacyMode | string | Privacy mode for the field |
prompt | string | AI prompt used to auto-populate the field |
type | string | Field type |
list_labels List Labels
List the workspace's labels as a tree: groups (isGroup true) carry their labels in `labels`, and ungrouped labels sit at the top level. Each item has labelId, name, description, color, parentId, source (`speak` for Speak label sets), usageCount and isActive. Use the labelIds of non-group labels with apply_label. Anyone in the workspace can read labels.
| Parameter | Type | Description |
|---|---|---|
search | string | Case-insensitive name match; a group is listed when it or any of its labels match |
status | string | Which labels to list (default active) |
create_label Create Label
Create a label, or a label group with isGroup true. Labels are shared by the whole workspace and are applied to transcript words with apply_label. A label can sit in one group (parentId); groups cannot be nested, and a group has no color. Names are unique among active labels under the same parent, ignoring case and extra spaces: 409 means the name is taken. Requires the labels create permission (every member by default). The change is recorded in your Speak Notifications under Label (type label).
| Parameter | Type | Description |
|---|---|---|
name * | string | Label or group name (1 to 80 characters) |
color | string | Label color as #rrggbb (default #0d9488). Not allowed on a group. |
description | string | What the label means (up to 500 characters) |
isGroup | boolean | true to create a group that holds labels |
parentId | string | labelId of an active group to put the label in. Not allowed on a group. |
sortOrder | integer | Position among its siblings (0 to 1000000) |
update_label Update Label
Rename, recolor, describe, move or reorder a label or group. Send only the fields to change. parentId null moves a label to the top level. An archived label cannot be edited (restore_label first), and a group cannot take a color or a parent. 409 means another active label under the same parent already has the name. Requires the labels update permission (every member by default). The change is recorded in your Speak Notifications under Label (type label).
| Parameter | Type | Description |
|---|---|---|
labelId * | string | labelId from list_labels |
color | string | New color as #rrggbb |
description | string | New description (up to 500 characters, empty clears it) |
name | string | New name (1 to 80 characters) |
parentId | labelId of a group to move into, or null for the top level | |
sortOrder | integer | New position among its siblings (0 to 1000000) |
archive_label Archive Label
Archive a label so it can no longer be applied; archiving a group archives its labels too. Labels already applied to transcripts stay where they are, and restore_label undoes this. Safe to repeat. Returns archivedCount. Requires the labels delete permission (owners and admins by default). The change is recorded in your Speak Notifications under Label (type label).
| Parameter | Type | Description |
|---|---|---|
labelId * | string | labelId from list_labels |
restore_label Restore Label
Restore an archived label; restoring a group also restores its archived labels. A label whose name is now used by an active label stays archived and is counted in skippedCount. 409 means the label's own name is taken (rename the active one first); a merged label cannot be restored, and a label cannot be restored while its group is archived. Requires the labels delete permission (owners and admins by default). The change is recorded in your Speak Notifications under Label (type label).
| Parameter | Type | Description |
|---|---|---|
labelId * | string | labelId of an archived label, from list_labels with status archived |
merge_labels Merge Labels
Merge one label into another: every place the source label is applied moves onto the target (a span that had both keeps one), then the source is archived with mergedInto set. This cannot be undone by restore_label. Both must be active, non-group labels and different. Returns movedCount. Requires both the labels update and labels delete permissions; only owners and admins have labels delete by default. The change is recorded in your Speak Notifications under Label (type label).
| Parameter | Type | Description |
|---|---|---|
labelId * | string | The label to merge away (it is archived) |
targetLabelId * | string | The label that receives every use of labelId |
add_speak_label_sets Add Speak Label Sets
Add ready-made label groups from Speak: sales_qa (Unprofessional, Slang, Objection, Great moment, Compliance risk), research (Pain point, Motivation, Quote for report, Surprise, Follow-up), meetings (Decision, Action item, Risk, Open question) and transcript_feedback (Wrong split, Misheard word, Wrong speaker, Bad translation). Safe to repeat: a group or label that already exists with the same name is reused, and a set whose group name is taken by a plain label is skipped (listed in skippedSets). Requires the labels create permission (every member by default). The change is recorded in your Sp…
| Parameter | Type | Description |
|---|---|---|
sets * | array | Which sets to add |
list_media_labels List Media Labels
List the labels applied to a media file's transcript, in transcript order, with the file's current transcriptRevision. Each item has mediaLabelId, labelIds and an anchor: startWord and endWord (inclusive word indices), exact (the labelled words), startInSec, endInSec, speakerIds and status. Status active means the same words; shifted means the transcript was edited and most of the words survived; needs_review means the words changed too much, so anchor holds a suggested range and lastResolved the last confirmed one (confirm or move it with update_media_label). Anyone who can open the file can…
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Media id |
status | string | Only labels with this anchor status |
apply_label Apply Label
Apply one or more labels to a span of words in a media file's transcript. Give the span as quote (words copied from get_transcript; this tool finds their position and the current transcriptRevision for you) or as range plus expectedTranscriptRevision. If the same span already has labels, the new ones are added to it. Check the returned anchor.exact to confirm the right words were labelled. A 409 that says the transcript changed means someone edited it after your revision was read: read the transcript again (get_transcript) and retry with the new range or quote. Nothing was saved. A 400 means t…
| Parameter | Type | Description |
|---|---|---|
labelIds * | array | 1 to 20 distinct ids of active labels (not groups), from list_labels |
mediaId * | string | Media id |
expectedTranscriptRevision | integer | transcriptRevision the range was read at (returned by get_transcript, list_media_labels and list_media_comments). Required with range. Optional with quote: the quote is found in the current transcript… |
occurrence | integer | Which match of quote to use (1 = first) when the quote appears more than once |
quote | string | Words copied from the transcript, used instead of range. Matching ignores case and leading or trailing punctuation, and must cover whole words in order. If the words appear more than once, pass occurr… |
range | object | Exact word range. Needs expectedTranscriptRevision. Prefer quote unless you already hold word indices. Word indices count the words of get_transcript's insight.transcript in order, from 0: for each se… |
update_media_label Update Media Label
Change a labelled span on a transcript. Do exactly one of: labelIds to replace its labels; action keep to confirm its current anchor (after the transcript was edited and its status is shifted or needs_review); or action replace with a new quote or range to move it. A 409 that says the transcript changed means someone edited it after your revision was read: read the transcript again (get_transcript) and retry with the new range or quote. Nothing was saved. Keep also answers 409 when the anchor was built on an older revision: list_media_labels again first. Requires the labels assign permission (…
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Media id |
mediaLabelId * | string | mediaLabelId from list_media_labels |
action | string | keep confirms the current anchor; replace moves the span to quote or range |
expectedTranscriptRevision | integer | transcriptRevision the range was read at (returned by get_transcript, list_media_labels and list_media_comments). Required with range. Optional with quote: the quote is found in the current transcript… |
labelIds | array | 1 to 20 distinct ids of active labels (not groups), from list_labels |
occurrence | integer | Which match of quote to use (1 = first) when the quote appears more than once |
quote | string | Words copied from the transcript, used instead of range. Matching ignores case and leading or trailing punctuation, and must cover whole words in order. If the words appear more than once, pass occurr… |
range | object | Exact word range. Needs expectedTranscriptRevision. Prefer quote unless you already hold word indices. Word indices count the words of get_transcript's insight.transcript in order, from 0: for each se… |
remove_media_label Remove Media Label
Remove a labelled span from a transcript. The label itself stays in the workspace, and comments linked to the span stay without the link. Requires the labels assign permission (every member by default). The change is recorded in your Speak Notifications under Label (type label).
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Media id |
mediaLabelId * | string | mediaLabelId from list_media_labels |
list_media_comments List Media Comments
List the comment threads on a media file, with the file's current transcriptRevision. Each thread is its first comment with `replies` (oldest first). A comment on words carries an anchor (startWord, endWord, exact, times, status as in list_media_labels); a whole-file comment has none. A deleted first comment that has replies stays with an empty body and isDeleted true. Anyone who can open the file can read its comments.
| Parameter | Type | Description |
|---|---|---|
mediaId * | string | Media id |
filter | string | all (default), open or resolved threads, or file for whole-file comments only |
add_comment Add Comment
Add a comment to a media file. Three kinds: on the whole file (no quote or range), on words in the transcript (quote, or range plus expectedTranscriptRevision, exactly as in apply_label), or a reply to a thread (parentId, with no span of its own). Replies go one level deep, so parentId must be a thread's first comment. A reply notifies the thread's starter in Speak, unless the starter wrote the reply. mediaLabelId links the comment to a labelled span on this file. A 409 that says the transcript changed means someone edited it after your revision was read: read the transcript again (get_transcr…
| Parameter | Type | Description |
|---|---|---|
body * | string | Comment text (1 to 5000 characters) |
mediaId * | string | Media id |
expectedTranscriptRevision | integer | transcriptRevision the range was read at (returned by get_transcript, list_media_labels and list_media_comments). Required with range. Optional with quote: the quote is found in the current transcript… |
mediaLabelId | string | mediaLabelId from list_media_labels to link the comment to |
occurrence | integer | Which match of quote to use (1 = first) when the quote appears more than once |
parentId | string | commentId of the thread's first comment, to reply to it |
quote | string | Words copied from the transcript, used instead of range. Matching ignores case and leading or trailing punctuation, and must cover whole words in order. If the words appear more than once, pass occurr… |
range | object | Exact word range. Needs expectedTranscriptRevision. Prefer quote unless you already hold word indices. Word indices count the words of get_transcript's insight.transcript in order, from 0: for each se… |
update_comment Update Comment
Edit the text of a comment. Only the comment's author can edit its text (403 otherwise). To resolve or reopen a thread, use resolve_comment. The change is recorded in your Speak Notifications under Comment (type comment).
| Parameter | Type | Description |
|---|---|---|
body * | string | New comment text (1 to 5000 characters) |
commentId * | string | commentId from list_media_comments |
mediaId * | string | Media id |
resolve_comment Resolve Comment
Resolve a comment thread, or reopen it with resolved false. Only a thread's first comment can be resolved (400 on a reply). Resolving or reopening someone else's thread notifies its starter in Speak. Requires the comments update permission (every member by default). The change is recorded in your Speak Notifications under Comment (type comment).
| Parameter | Type | Description |
|---|---|---|
commentId * | string | commentId of the thread's first comment, from list_media_comments |
mediaId * | string | Media id |
resolved | boolean | true to resolve (default), false to reopen |
delete_comment Delete Comment
Delete a comment. Deleting a thread's first comment keeps its replies visible under an empty placeholder. You can always delete your own comments; deleting someone else's needs the comments delete permission (owners and admins by default), otherwise 403. The change is recorded in your Speak Notifications under Comment (type comment).
| Parameter | Type | Description |
|---|---|---|
commentId * | string | commentId from list_media_comments |
mediaId * | string | Media id |
list_automations List Automations
List automation rules in the workspace, with paging and filters. An automation the server switched off (an app connection expired, or the owner must confirm a teammate's change) carries pausedReason and a pausedNotice in plain words. Linked automations carry linkedAutomation ({ automationId, name, isActive }).
| Parameter | Type | Description |
|---|---|---|
folderIds | string | Comma-separated folder ids to filter by |
isActive | boolean | Filter by active state |
page | integer | 0-based page index |
pageSize | integer | Results per page |
query | string | Free-text search over automation names |
runType | string | Filter by run type |
sortBy | string | Sort expression, e.g. "createdAt:desc" |
list_automation_names List Automation Names
List the names and ids of active automations that contain an AI chat (magic prompt) step. Inactive automations and automations without an AI chat step are not included; use list_automations for the full list.
get_automation Get Automation Details
Get detailed information about a specific automation rule, including its trigger and step graph. A third-party app step shows composio.acknowledged: true when its send, post, share or delete action is confirmed. When the automation is off because a connection expired or the owner must confirm a teammate's change, the reply says so in pausedNotice. A linked automation shows linkedAutomationId and linkedAutomation ({ automationId, name, isActive }).
| Parameter | Type | Description |
|---|---|---|
automationId * | string | Unique identifier of the automation |
get_automation_runs Get Automation Runs
Get the run history (executions) for an automation, with paging and optional status filter.
| Parameter | Type | Description |
|---|---|---|
automationId * | string | Unique identifier of the automation |
page | integer | 0-based page index |
pageSize | integer | Results per page |
status | string | Filter runs by status. "skipped" means a filter did not match, so the run did not go on; it is not a failure. Runs from before the skipped status existed record a filter miss as "killed". |
create_automation Create Automation
Create an automation: a trigger plus ordered steps (V2 graph model). The automation is active by default and then runs on its own every time its trigger fires. Depending on its steps, each run can send email to any address, post to the workspace's Slack, send HTTP requests to any webhook URL, fetch a file from a URL into Speak, run actions in connected third-party apps through Composio. An inbound-webhook trigger creates a public URL that accepts payloads (returned as inboundWebhook.inboundUrl). Connected apps work both ways: an app trigger pulls something into Speak (for example an email atta…
update_automation Update Automation
Update an existing automation rule. This replaces the whole automation (name, trigger, and steps), so fetch the current values with get_automation first and pass them all back with your changes. The saved steps run automatically on later triggers and can send email, post to Slack, call webhook URLs, and run actions in connected third-party apps. Changing a Composio app-event trigger updates the subscription on that third-party account. A step that sends, posts, shares or deletes keeps its confirmation only while it is unchanged: if you change such a step, show the user the new version and list…
toggle_automation_status Toggle Automation Status
Toggle an automation rule between active and inactive. This flips the current state, so call get_automation first if you need to know which way it will flip. An active automation runs on its own every time its trigger fires, and its steps can send email, post to Slack, call webhook URLs, and run actions in connected third-party apps. For a Composio app-event trigger, this also creates or removes the event subscription on the connected third-party account. Turning on an automation that is off for a reason is refused until the reason is fixed: an expired app connection must be reconnected (RECON…
| Parameter | Type | Description |
|---|---|---|
automationId * | string | Unique identifier of the automation |
bulk_update_automation_status Bulk Update Automation Status
Activate or deactivate multiple automations at once. An active automation runs on its own every time its trigger fires, and its steps can send email, post to Slack, call webhook URLs, and run actions in connected third-party apps. For Composio app-event triggers, this also creates or removes the event subscription on the connected third-party account. Automations that cannot be turned on yet come back in failed[] with an errorCode and the next step. An automation turned on while its linked partner stays off is listed in warnings[] ({ automationId, warning }); tell the user.
| Parameter | Type | Description |
|---|---|---|
automationIds * | array | Automation ids to update |
isActive * | boolean | true to activate, false to deactivate, for all listed automations |
bulk_assign_automation_folders Bulk Assign Automation Folders
Set the folder scope for multiple automations at once. Pass an empty folderIds array to remove the folder restriction (run on all folders).
| Parameter | Type | Description |
|---|---|---|
automationIds * | array | Automation ids to update |
folderIds * | array | Folder ids to scope the automations to. Empty array = all folders. |
run_automations Run Automations
Manually run one or more automations against one or more media items now (outside the normal trigger). Only active automations run; inactive or unknown automation ids and unknown media ids are skipped without an error. The runs happen in the background and this returns only an acknowledgement, so check results with get_automation_runs. Every step executes for real: it can send email, post to Slack, call webhook URLs, and run actions in connected third-party apps.
| Parameter | Type | Description |
|---|---|---|
automationIds * | array | Automation ids to run |
mediaIds * | array | Media ids to run the automations against |
delete_automation Delete Automation
Permanently delete an automation rule. If it has an inbound webhook URL, that URL stops accepting payloads, and any event subscription it holds on a connected third-party account through Composio is removed.
| Parameter | Type | Description |
|---|---|---|
automationId * | string | Unique identifier of the automation to delete |
get_automation_run Get Automation Run
Get one automation run in full: every step, in dependency order, with what it produced and why it stopped. Use this after test_automation or to explain a run that went the wrong way. On a branched automation the run's overall status is not the whole story — a filter that stops one leg marks the entire run "skipped" ("killed" on older runs) even when the other leg finished its work — so read the per-step summary this returns, not just the status.
| Parameter | Type | Description |
|---|---|---|
automationId * | string | Unique identifier of the automation |
runId * | string | Run id, from get_automation_runs or test_automation |
get_automation_run_stats Get Automation Run Stats
Aggregate run counts for an automation over a period — how many completed, failed, or were stopped.
| Parameter | Type | Description |
|---|---|---|
automationId * | string | Unique identifier of the automation |
days | integer | How many days back to count, 1-90. The run ledger is kept for 90 days, so that is the whole window. |
test_automation Test Automation
Run one automation once against one media item to see which way it branches. This is a real run, not a dry run, and it works on inactive automations too. Only the run's own status notifications are suppressed and translation steps are skipped. Notify steps still send their email or Slack message, outbound webhooks still fire, and Composio actions still run against the connected third-party account. Confirm with the user before testing an automation that sends anything outside Speak. It needs a mediaId and sends no webhook payload, so on an inbound-webhook automation the payload tokens resolve…
| Parameter | Type | Description |
|---|---|---|
automationId * | string | Unique identifier of the automation to test |
mediaId * | string | Media item to run the automation against |
validate_automation_graph Validate Automation Graph
Check a step graph without saving anything. Reports the same problems create_automation and update_automation would refuse — branch wiring, rules a condition cannot actually read, shapes the Speak web editor could not reopen — plus non-blocking warnings. Use it to iterate on a branched automation instead of discovering the problems one failed save at a time.
describe_automation_graph Describe Automation Graph
Show a saved automation's steps as an indented branch tree instead of a flat list. Worth calling before update_automation, which replaces the whole automation: editing one leg means re-sending every step with its dependsOn intact, and this shows what the shape currently is.
| Parameter | Type | Description |
|---|---|---|
automationId * | string | Unique identifier of the automation |
list_automation_apps List Automation Apps
List the apps in Speak's automation catalog: Speak's built-in apps plus, when enabled, every third-party app available through Composio, with its connection state and connected accounts for this user. Each app says what it brings in (pull: its triggers start an automation and can import files) and what it sends out (push: its actions take Speak's results). Read-only: the list comes from Speak's own catalog and the user's saved connections. Use the app slugs with list_automation_triggers and list_automation_actions. An app that is not connected must be connected in the Speak web app first.
| Parameter | Type | Description |
|---|---|---|
for | string | "trigger" lists only apps that can start an automation (pull), "action" only apps that can take its results (push). Omit for all apps. |
list_automation_triggers List Automation Triggers
List the triggers available in the automation catalog, optionally for one app: Speak's own triggers plus every trigger of the connected third-party apps (pull). Each trigger has a slug, a configSchema for its triggerConfig, outputPaths that later steps can read as {{trigger.payload.<path>}} tokens, and fileBearing when it brings a file to import as a recording. Read-only: listing a trigger does not subscribe to it.
| Parameter | Type | Description |
|---|---|---|
app | string | App slug from list_automation_apps |
list_automation_actions List Automation Actions
List the step types (actions) available in Speak's automation catalog, optionally for one app slug, plus the fields each filter or condition step can test. For a third-party app this includes every action it offers (push), each with a configSchema for the step's argsTemplate, a group, and requiresConfirmation with a riskKind (send, post, share or delete) when the step needs composio.acknowledged: true before it can be saved. Deprecated actions are marked; pick a replacement. An action the flow cannot feed carries needsInput ({ reason, hint, next }): after an email or file trigger, next is crea…
| Parameter | Type | Description |
|---|---|---|
afterTrigger | string | Slug of the trigger the step will follow, so each action's needsInput hint fits what that trigger brings. |
app | string | App slug from list_automation_apps |
q | string | Search action names, descriptions and groups, e.g. "create task". Without app it searches every connected app. |
suggest_automation_templates Suggest Automation Templates
Suggest ready-made automations for a From app (where work starts) and a To app (where results go). Use app slugs from list_automation_apps, or speak for Speak itself. Each suggestion has a status and, when ready, a draft to adapt and save with create_automation; the draft leaves the folder empty for you to fill. An email or file app paired with an app that takes results is two linked automations: draft is the intake (the trigger, then speak-upload into a folder) and linkedDraft acts on it (media analysed in that folder, an AI step, then the action). Put the one folder the user picks in the int…
| Parameter | Type | Description |
|---|---|---|
from | string | App slug where the work starts, or speak |
to | string | App slug where the results go, or speak |
create_webhook Create Webhook
Create an outbound webhook. From then on, Speak automatically POSTs a JSON payload to callbackUrl, an external endpoint, for each subscribed event (event type, ids such as mediaId or folderId, state, and for chat events the prompt and answer text).
| Parameter | Type | Description |
|---|---|---|
callbackUrl * | string | HTTPS endpoint URL to receive webhook payloads |
description | string | Optional description for the webhook |
events | array | Array of event types to subscribe to |
list_webhooks List Webhooks
List all configured webhooks in the workspace.
update_webhook Update Webhook
Update an existing webhook. This is a partial update — only the fields you supply are changed; `callbackUrl` is always required, the rest are left untouched if omitted.
| Parameter | Type | Description |
|---|---|---|
callbackUrl * | string | HTTPS endpoint URL to receive webhook payloads |
webhookId * | string | Unique identifier of the webhook |
description | string | Optional description for the webhook |
events | array | Updated array of event types |
provision_inbound_webhook Provision Inbound Webhook
Provision a standalone inbound webhook and get its public receive URL (inboundUrl) BEFORE creating an automation. Webhook-first flow: provision, send a test payload to the URL (append ?test=1 to only capture a sample without running anything), inspect mappable payload paths with get_inbound_webhook, then pass the webhookId as trigger.webhookId to create_automation.
get_inbound_webhook Get Inbound Webhook
Get an inbound webhook's public receive URL, captured sample payload, and the ready-to-paste {{trigger.payload.*}} tokens for mapping payload values into automation steps (speak-upload name/sourceUrl, fieldsMap custom-field values, notify/outbound-webhook templates). Pass either the webhookId or the automationId of an inbound-webhook automation. If no sample has been captured yet, send a test payload to the inboundUrl first (append ?test=1 to capture without running the automation).
| Parameter | Type | Description |
|---|---|---|
automationId | string | Automation id — resolves the bound webhookId and childKey automatically |
childKey | string | Override the dot-path used to narrow mappable payload paths (defaults to the automation's trigger.childKey) |
webhookId | string | Inbound webhook id (from provision_inbound_webhook or an automation's trigger.webhookId) |
get_webhook_attempts Get Webhook Attempts
Get the delivery log for an inbound webhook: each received request with its HTTP acknowledgement status (200 = sample captured, 202 = accepted and run started, 401/403 = rejected) and the automation run it started. Use get_automation_runs for the run outcomes themselves.
| Parameter | Type | Description |
|---|---|---|
webhookId * | string | Unique identifier of the inbound webhook |
page | integer | 0-based page index |
pageSize | integer | Results per page |
delete_webhook Delete Webhook
Permanently delete an outbound webhook and its delivery attempt history; its endpoint stops receiving notifications. Cannot be undone.
| Parameter | Type | Description |
|---|---|---|
webhookId * | string | Unique identifier of the webhook to delete |
search_media Search Media Library
Deep search across all media transcripts, insights, and metadata. Returns matching media with sentiment data, tags, and content excerpts. Use this to find specific topics, keywords, or themes across your entire library. For filtering by media type, folder, tags, or speakers, use the filterList parameter. Results are scoped by date range — defaults to current year if not specified.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query — searches across transcripts, insights, and metadata |
endDate | string | End date for search range (ISO 8601). Defaults to now. |
filterList | array | Advanced filters for narrowing search results by tags, speakers, media type, sentiment, folder, etc. |
startDate | string | Start date for search range (ISO 8601). Defaults to start of current year. |
create_clip Create Highlight Clip
Create a highlight clip from one or more media files by specifying time ranges. Clips are processed asynchronously (states: queued, processing, completed, failed) — use get_clips to check status. Maximum total clip duration is 30 minutes. Use multiple timeRanges to stitch segments from different media files together.
| Parameter | Type | Description |
|---|---|---|
mediaType * | string | Output media type |
timeRanges * | array | Array of time ranges to include in the clip. Each specifies a source media and start/end times. |
title * | string | Title for the clip |
description | string | Description of the clip |
mergeStrategy | string | How to merge multiple segments (default: CONCATENATE) |
tags | array | Tags for the clip |
get_clips List Clips
List clips, optionally filtered by folder or media files. If clipId is provided, returns a single clip with its download URL (when processed).
| Parameter | Type | Description |
|---|---|---|
clipId | string | Get a specific clip by ID |
folderId | string | Filter clips by folder ID |
mediaIds | array | Filter clips by source media file IDs |
update_clip Update Clip
Update a clip's title, description, or tags.
| Parameter | Type | Description |
|---|---|---|
clipId * | string | ID of the clip to update |
description | string | New description |
tags | array | New tags |
title | string | New title |
delete_clip Delete Clip
Permanently delete a clip and its associated media file.
| Parameter | Type | Description |
|---|---|---|
clipId * | string | ID of the clip to delete |
build_automation Build Automation
High-level automation builder: create (or update) a Speak automation from a friendly spec without knowing the wire format. Accepts folder/custom-field NAMES (resolved to ids; missing folders are auto-created), payload.<path> shorthand for webhook tokens, and simple step types (filter, branch, upload, ai_chat, translate, notify, call_webhook). For inbound-webhook automations the result includes the receive URL and mappable payload tokens. create_automation takes the raw wire format instead. Passing automationId replaces that whole automation. The automation is active by default and then runs on…
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the automation |
steps * | array | Ordered actions. Each step is an object with a `do` key plus its options. String values may be literals, "payload.<path>" shorthand (converted to {{trigger.payload.<path>}} only when it is the ENTIRE… |
trigger * | object | What starts the automation. Object with: - on (required): "media_analyzed" | "inbound_webhook" | "field_updated" - folders: array of folder names or ids (required for media_analyzed; missing folders a… |
automationId | string | Update this existing automation instead of creating a new one (full replace) |
description | string | Optional description |
isActive | boolean | Whether the automation is active (default true) |
linkedAutomationId | string | Link this automation with another one in the account (an empty string unlinks). For email or file intake, build the folder automation that acts on the intake's folder (on: media_analyzed with that fol… |
orTriggers | array | Additional "Or" triggers (same shape as trigger, but inbound_webhook is not allowed here). The automation runs when ANY trigger fires. |
upload_and_analyze Upload and Analyze Media
Upload and transcribe media from a URL — a direct/public file URL, OR a shareable social/video page link, which Speak resolves to the underlying media automatically. Supported page links: YouTube, TikTok, Instagram, X/Twitter, Facebook, Reddit, SoundCloud, Twitch, Dailymotion, Streamable, Snapchat, Pinterest, Tumblr, Bilibili, VK, OK.ru and Rutube. Vimeo and Loom page links are not supported. Each accepted upload creates a media item. Returns media_id immediately; after this returns, poll get_media_status until state is 'processed' (typically 1-3 min for under 60min audio), then call get_med…
| Parameter | Type | Description |
|---|---|---|
url * | string | Direct/public media file URL, or a shareable social/video page link — page links are resolved to the underlying media server-side. See this tool's description for the platforms accepted. Pass the UR… |
folderId | string | Folder ID to place the media in |
mediaType | string | Type of media: "audio" or "video". Send it whenever the user has told you which they want — if they called it an audio file, or asked for audio only, pass "audio"; if they called it a video, pass "v… |
name | string | Display name for the media. Defaults to the file name in the URL, or "Upload" with the date and time when the URL has none. |
sourceLanguage | string | BCP-47 language code (e.g., 'en-US', 'he-IL') |
tags | string | Comma-separated tags |
upload_and_analyze_batch Upload and Analyze Several URLs
Import up to 25 audio or video URLs in one call. Each URL is imported the same way as upload_and_analyze, and transcription starts for each one. At most 5 uploads run at once. Each URL may be a direct public file URL or a page link from a supported platform, which the server resolves to the underlying media. Supported page links: YouTube, TikTok, Instagram, X/Twitter, Facebook, Reddit, SoundCloud, Twitch, Dailymotion, Streamable, Snapchat, Pinterest, Tumblr, Bilibili, VK, OK.ru and Rutube. Vimeo and Loom page links are not supported. Each accepted upload creates a media item. A failed URL does…
| Parameter | Type | Description |
|---|---|---|
urls * | array | The URLs to import, up to 25. Pass each one exactly as the user gave it; page links are resolved server-side. Exact duplicate URLs are sent once. |
concurrency | integer | How many uploads to start at once, 1 to 5. Defaults to 5. Drop it to 1 to import strictly in order. |
folderId | string | Folder ID for every upload in the batch |
mediaType | string | Applies to every URL in the batch. Send it only when the user has said which they want for all of them — "audio" if they asked for audio only, "video" if they called them videos. Otherwise omit it a… |
sourceLanguage | string | BCP-47 language code applied to every upload, e.g. "en-US" |
tags | string | Comma-separated tags applied to every upload |
upload_local_file Upload Local File
Upload a local file to Speak AI for transcription and analysis. Reads the file from disk, gets a pre-signed S3 URL, uploads the file, then creates the media entry. Works with any audio or video file on the local filesystem. Each upload creates a media item. After upload, use get_media_status to poll for completion, then get_transcript and get_media_insights.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the local audio or video file |
folderId | string | Folder ID to place the media in |
mediaType | string | Media type (auto-detected from extension if omitted) |
name | string | Display name (defaults to filename) |
sourceLanguage | string | BCP-47 language code (e.g., 'en-US') |
tags | string | Comma-separated tags |
list_users List Users
List the users (members) in the workspace/company, with their ids, names, emails, and permissions. Use the returned _id values when assigning members to user groups.
| Parameter | Type | Description |
|---|---|---|
filterName | string | Search text. Plain text matches first/last name or email; prefix with "email:" or "name:" to scope, e.g. "email:jane@acme.com". |
page | integer | 0-based page index (default 0) |
pageSize | integer | Results per page (default 50) |
sortBy | string | Sort expression "field:asc" or "field:desc", e.g. "createdAt:desc", "email:asc" |
list_user_groups List User Groups
List all user groups in the company. Each group includes its members (hydrated names/emails) and member ids. Use this to discover group ids and current membership before updating or deleting a group.
create_user_group Create User Group
Create a new user group and assign members. Member ids come from list_users. Fails with a 409 if a group with the same name already exists in the company.
| Parameter | Type | Description |
|---|---|---|
description * | string | Group name |
users | array | User _id strings to add as members (fetch via list_users) |
update_user_group Update User Group
Update a user group's name and member list. NOTE: the users array is a FULL REPLACEMENT, not a delta — any member id you omit is removed from the group. Fetch the current members with list_user_groups first and send the complete list.
| Parameter | Type | Description |
|---|---|---|
_id * | string | Group _id to update (from list_user_groups) |
description * | string | New group name |
users * | array | Full replacement list of member _id strings (omitted users are removed) |
delete_user_group Delete User Group
Permanently delete a user group. The users themselves are not deleted, but members lose any access that was shared with the group (for example dashboards assigned to it).
| Parameter | Type | Description |
|---|---|---|
id * | string | Group _id to delete (from list_user_groups) |
list_dashboards List Dashboards
List all analytics dashboards the caller can access, including share state and each dashboard's current `revision` (needed for update_dashboard).
get_dashboard Get Dashboard
Get a single dashboard's full spec: title, description, source, date range, sections, widgets, and the current `revision` (pass that revision back to update_dashboard). Saved viewer settings, including settings.profiles groups (fieldId, label, imageShape, and entries with id, name, description, link, imageKey, and a signed imageUrl preview that is ignored if sent back), are included when the server returns them.
| Parameter | Type | Description |
|---|---|---|
dashboardId * | string | Dashboard business id (the dashboardId field from list_dashboards, not the Mongo _id) |
list_dashboard_widgets List Dashboard Widgets
Discovery + how-to helper for building and customizing dashboards. Returns every widget type with what it shows and the exact strict `config` shape it accepts, the shared vocabulary (metric grammar, groupBy, per-widget binding, filters, thresholds, sources, date-range presets, sections), design rules for composing a dashboard that reads well, two complete worked example payloads, and tips for managing dashboards. Call this before create_dashboard / update_dashboard.
create_dashboard Create Dashboard
Create an analytics dashboard. Only `title` is required — source defaults to the whole workspace and dateRange to last30days. Add widgets by listing their types (the MCP assigns ids and lays them out automatically), scope with source ({type:"folders",folderIds} | {type:"team"} | {type:"workspace"}) and dateRange ({preset}), and optionally group widgets into sections. Design guidance: lead with a narrative widget as the first widget; group sections by the QUESTION they answer, not by widget type; don't pad — every widget earns its place (aim for 4-16 widgets on a full build); if something c…
update_dashboard Update Dashboard
Update a dashboard. Two modes. (1) Metadata-only: pass just icon/assignTo/filters/isDefault/settings, with no spec fields and no revision, except that saving settings.profiles also needs the `revision` from get_dashboard (a stale one returns a 409). (2) Spec update: pass the FULL spec — title, source, dateRange, sections, widgets — plus `revision`. Widgets and sections are REPLACED, not merged, so call get_dashboard first and resend everything you want to keep. `revision` is the optimistic-concurrency token from get_dashboard/list_dashboards: the server accepts the write only if it still m…
delete_dashboard Delete Dashboard
Soft-delete a dashboard. This also deactivates its public share link.
| Parameter | Type | Description |
|---|---|---|
dashboardId * | string | Dashboard business id to delete |
duplicate_dashboard Duplicate Dashboard
Clone an existing dashboard into a new dashboard owned by the caller. The copy keeps the source's widgets (same widget ids), sections, filters, and viewer settings, gets a "<name> (copy)" title, has no shared users and no public link, and starts at revision 0. Edit it afterwards with update_dashboard.
| Parameter | Type | Description |
|---|---|---|
dashboardId * | string | Source dashboard business id to clone |
get_dashboard_speakers_insight Get Dashboard Speakers Insight
Compute a speakers breakdown for a given folder scope, date range, and field filters. Standalone analytics — does not require a dashboard to exist.
| Parameter | Type | Description |
|---|---|---|
endDate | string | ISO end date |
filterList | array | Field filter rules |
folderScope | array | Folder ids to scope to |
startDate | string | ISO start date |
list_voice_agents List Voice Agents
List the voice agents in the company (newest first). Each agent includes its agentId, name, personality/instructions, and voice/stt/llm/avatar configuration. Use the returned agentId with get_voice_agent or to filter list_voice_conversations.
get_voice_agent Get Voice Agent
Fetch a single voice agent by its agentId. Returns the full agent configuration. A cross-company agentId returns 404.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
list_voice_conversations List Voice Conversations
List the company's voice conversations (newest first). Optionally filter to a single agent. Each conversation includes its conversationId, agentId, status, duration, transcript summary, and usage/costs. Use conversationId with get_voice_conversation for the full record.
| Parameter | Type | Description |
|---|---|---|
agentId | string | Filter conversations to a single agent (from list_voice_agents) |
limit | integer | Results per page (default 50, max 200) |
page | integer | 1-based page index (default 1) |
get_voice_conversation Get Voice Conversation
Fetch a single voice conversation by its conversationId, including transcript, usage, costs, and analysis. A cross-company conversationId returns 404.
| Parameter | Type | Description |
|---|---|---|
conversationId * | string | ID of the conversation (from list_voice_conversations) |
get_agent_analytics Get Voice Agent Analytics
Owner analytics for one voice agent over a date range. Returns the range used; conversation totals with completion rate, average duration and returning callers; conversations per day split into web and phone; where callers are, their devices, browsers and traffic sources; web callers who left without saying anything and the number of open knowledge gaps (questions the agent could not answer); leads captured, handoffs and action items; engagement, sentiment, top topics, end reasons and satisfaction; busiest hours, weekdays and languages; and web versus phone counts. Test calls are left out unle…
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
compare | boolean | Also return the same KPIs for the period just before the range (default false). Needs start. |
end | string | End of the range (ISO 8601 date). Defaults to now. |
includeTests | boolean | Count the agent's test calls in the results (default false). |
start | string | Start of the range (ISO 8601 date). Omit for all time. Must be before end. |
tz | string | IANA time zone used to group by day, hour and weekday, e.g. America/Toronto (default UTC). |
create_voice_agent Create Voice Agent
Create a voice agent. Requires the OWNER or ADMIN role. name, personality, instructions, and voice (provider + voiceId) are required; everything else can be set now or later with update_voice_agent. Call list_voice_avatars or list_voices first to get valid ids.
| Parameter | Type | Description |
|---|---|---|
instructions * | string | Required on create. The agent's system instructions. |
name * | string | Required on create. Trimmed, non-empty. |
personality * | string | Required on create. Free text describing the agent's tone. |
voice * | object | Required on create. |
avatar | object | Set to attach a video avatar; avatarUrl/provider are derived server-side from the catalog row. |
chatSettings | object | Sending this object replaces it whole on the stored agent, the same as voice/llm/avatar below -- fields you omit are not merged, they're dropped. Fetch get_voice_agent first and resend every key you w… |
conversationMode | string | |
enableWebSearch | boolean | Let the agent search the web mid-call, separate from any attached knowledge base. |
folderId | string | Folder to file this agent's conversations under. |
llm | object |
update_voice_agent Update Voice Agent
Update a voice agent. Requires the OWNER or ADMIN role. Send only the top-level fields you want to change; agentId, companyId, and userId are immutable and silently dropped if sent. Object fields (voice, llm, avatar, chatSettings) each replace the stored object whole, not merge -- fetch get_voice_agent first and resend every key of an object field you're not fully replacing.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent to update (from list_voice_agents) |
avatar | object | Set to attach a video avatar; avatarUrl/provider are derived server-side from the catalog row. |
chatSettings | object | Sending this object replaces it whole on the stored agent, the same as voice/llm/avatar below -- fields you omit are not merged, they're dropped. Fetch get_voice_agent first and resend every key you w… |
conversationMode | string | |
enableWebSearch | boolean | Let the agent search the web mid-call, separate from any attached knowledge base. |
folderId | string | Folder to file this agent's conversations under. |
instructions | string | Required on create. The agent's system instructions. |
llm | object | |
name | string | Required on create. Trimmed, non-empty. |
personality | string | Required on create. Free text describing the agent's tone. |
voice | object | Required on create. |
list_voice_avatars List Voice Avatars
List the video avatars available to attach to a voice agent (your company's own uploads plus the shared system catalog). Use the returned avatarId with create_voice_agent or update_voice_agent.
list_voices List Voices
List the text-to-speech voices available to a voice agent. Use the returned provider/voiceId with create_voice_agent or update_voice_agent's voice field. When an agent's llm.model is a Live (speech-to-speech) model, its usable voices are a fixed, smaller set scoped to that model instead of this full catalog.
delete_voice_agent Delete Voice Agent
Delete a voice agent. Requires the OWNER or ADMIN role. The agent is marked deleted and no tool can restore it: it stops appearing in list_voice_agents, and its share link, embedded widget, questions, and test suite stop working. Its stored data is not erased, past conversations stay in list_voice_conversations, and phone numbers assigned to it are not released.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent to delete (from list_voice_agents) |
create_voice_agent_from_prompt Create Voice Agent From Prompt
Create a new voice agent from a plain-English description, via an LLM call. Requires the OWNER or ADMIN role. Saves a draft agent, then generates and saves its name, personality, instructions, chat settings, and default voice, speech-to-text, and LLM settings. Does not assign a phone number. The response includes the new agentId plus either the generated agent, or needsFollowUp: true with a followUpQuestion when the prompt is too vague. In that case the draft agent still exists with placeholder settings; call generate_voice_agent_config on that agentId with more detail.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Plain-English description of the agent to build, e.g. "a friendly front desk agent for a software company that answers product questions and books demos". |
manualInstructions | string | Requirements the generated instructions must include. Generation still runs; when this is sent, no follow-up question is returned even if the prompt is vague. |
name | string | Initial name for the draft agent. Replaced by the generated name when generation succeeds; kept only if the response asks a follow-up question. |
generate_voice_agent_config Generate Voice Agent Config
Run the same prompt-to-config generation as create_voice_agent_from_prompt, but against an existing agent instead of creating a new one. Requires the OWNER or ADMIN role. On success the generated config is saved onto the agent immediately, overwriting its current name, personality, instructions, chat settings, and voice, speech-to-text, and LLM settings. If the prompt is too thin and manualInstructions was not sent, the response has needsFollowUp: true with a follow-up question instead — call this again with more detail.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the existing voice agent to generate config for (from list_voice_agents) |
prompt * | string | Plain-English description of what the agent should do. |
manualInstructions | string | Requirements the generated instructions must include. Generation still runs; when this is sent, no follow-up question is returned even if the prompt is vague. |
get_voice_agent_setup_guide Get Voice Agent Setup Guide
Discovery + how-to helper for building and operating a Speak AI voice agent end to end. Returns the four configuration pieces every agent is built from, which tool covers each one, the recommended build order, and how testing/questions/knowledge-base/intelligence tools chain together after the agent exists. Call this before create_voice_agent or create_voice_agent_from_prompt if you are not already familiar with this tool surface.
get_voice_test_suite Get Voice Test Suite
Get a voice agent's test suite (its scenarios and run settings). Returns null in data.suite if none has been created yet — not a 404.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
update_voice_test_suite Update Voice Test Suite
Create or update a voice agent's test suite. Requires the OWNER or ADMIN role. Upserts. Send the full scenarios array you want to keep — it replaces the stored one, it is not merged.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
autoRunOnInstructionSave | boolean | Run the suite automatically when the agent's instructions, personality or chat settings change. Same grouping, hourly limit and credit charge as autoRunOnKbUpdate. |
autoRunOnKbUpdate | boolean | Run the suite automatically when the agent's knowledge base changes. Changes are grouped into one run that starts about 2 minutes after the last change, at most once an hour. Each run is charged in cr… |
maxCostPerRun | number | |
scenarios | array | |
scheduledCron | string | null | Run the suite on a schedule: a 5-field cron expression in UTC, e.g. '0 9 * * 1-5' for 09:00 UTC on weekdays. At most once an hour. Send null or an empty string to turn the schedule off. Each run is ch… |
generate_voice_test_suite Generate Voice Test Suite
Auto-generate a default test suite for a voice agent from its configuration (name, personality, instructions, welcome message, topics to avoid), via an LLM call. Requires the OWNER or ADMIN role. Overwrites the suite's existing scenarios.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
start_voice_test_run Start Voice Agent Test Run
Start a test run of a voice agent's scripted test suite. The run sends each enabled scenario's user messages to the agent as text, in order, and grades every criterion; it does not place phone calls. Requires the OWNER or ADMIN role. Returns the run in queued status; poll get_active_voice_test_run for progress and results. Returns 404 if the agent or its test suite does not exist, and 409 if the suite has no enabled scenarios or the agent already has a queued, running, or paused run.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
get_active_voice_test_run Get Active Voice Test Run
Get a voice agent's currently active test run (queued, running, or paused). Returns null in data.run if none is active — not a 404.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
pause_voice_test_run Pause Voice Test Run
Pause a voice agent's test run. Requires the OWNER or ADMIN role. Valid only from queued or running. Takes effect after the current scenario finishes.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
runId * | string | ID of the run (from get_active_voice_test_run or list_voice_test_runs) |
resume_voice_test_run Resume Voice Test Run
Resume a paused voice agent test run, transitioning it back to running. Requires the OWNER or ADMIN role. Valid only from paused. The run continues from the next scenario.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
runId * | string | ID of the run (from get_active_voice_test_run or list_voice_test_runs) |
cancel_voice_test_run Cancel Voice Test Run
Cancel a voice agent test run. Requires the OWNER or ADMIN role. Valid from queued, running, or paused. The run stops at its next AI call. Terminal — a cancelled run can never be resumed.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
runId * | string | ID of the run (from get_active_voice_test_run or list_voice_test_runs) |
list_voice_test_runs List Voice Test Runs
List a voice agent's test runs, most recent first. Capped at 100 regardless of limit.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
limit | integer |
get_voice_test_run Get Voice Test Run
Get a test run's full detail, including scenarioResults and recommendations. Scoped to your company; agentId is not used to filter this lookup, only runId.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
runId * | string | ID of the run (from list_voice_test_runs) |
apply_voice_test_recommendation Apply Voice Test Recommendation
Apply a test run recommendation's quick action to the agent (e.g. patch_instructions appends the suggested fix to the agent's instructions). Requires the OWNER or ADMIN role.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
recId * | string | ID of the recommendation within that run's recommendations list |
runId * | string | ID of the run (from get_voice_test_run) |
get_voice_test_baseline Get Voice Test Baseline
Get a voice agent's best-scoring completed test run, used to detect regressions on later runs. Returns null in data.baseline if no run has completed yet.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
get_voice_test_score_history Get Voice Test Score History
Get completed-run score points for a voice agent, most recent first, for charting. Capped at 100 regardless of limit. Only status=completed runs are included.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
limit | integer |
list_voice_questions List Voice Questions
List the questions configured on a voice agent, in the order it asks them. Each is an agent-level instance of a question template with its own required/attempts/no-response settings and optional field mapping.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | Required. Returns 404 if the agent does not exist or does not belong to your company. |
enabledOnly | boolean |
get_voice_question Get Voice Question
Fetch a single voice agent question by its fieldId, scoped to your company.
| Parameter | Type | Description |
|---|---|---|
fieldId * | string | ID of the question (from list_voice_questions) |
create_voice_question Create Voice Question
Attach a question template to a voice agent. Requires the OWNER or ADMIN role. agentId and templateId are both required and must belong to your company (or, for templateId, be a public system template) — 404 if either isn't found. Returns 409 if the agent already has an enabled question whose template has the same name, ignoring case and spacing (they save to the same answer key); disable or delete that question first, or create this one with enabled: false.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
templateId * | string | From list_voice_question_templates. |
customConfig | object | Agent-level override of the template's defaultConfig; only the keys you send are overridden. |
enabled | boolean | |
mappedFieldId | string | null | ID of an existing company Field to write this question's collected answer onto after each call. |
maxPromptAttempts | number | |
noResponseBehavior | string | |
order | number | |
required | boolean | |
triggerCondition | string |
update_voice_question Update Voice Question
Partially update a voice agent question — only the fields you send are changed. Requires the OWNER or ADMIN role. agentId and templateId are fixed after create; sending them is silently dropped. Returns 409 when setting enabled: true on a disabled question while another enabled question on the same agent has a template with the same name, ignoring case and spacing (they save to the same answer key); other edits to an existing duplicate still succeed.
| Parameter | Type | Description |
|---|---|---|
fieldId * | string | ID of the question to update (from list_voice_questions) |
customConfig | object | |
enabled | boolean | |
mappedFieldId | string | null | |
maxPromptAttempts | number | |
noResponseBehavior | string | |
order | number | |
required | boolean | |
triggerCondition | string |
delete_voice_question Delete Voice Question
Permanently remove a question from a voice agent and decrement the underlying template's usageCount. Requires the OWNER or ADMIN role. The template itself is not deleted and can be attached to another agent later.
| Parameter | Type | Description |
|---|---|---|
fieldId * | string | ID of the question to remove (from list_voice_questions) |
reorder_voice_questions Reorder Voice Questions
Set the order a voice agent asks its questions in. Requires the OWNER or ADMIN role. Bulk-writes the order value on each listed question (written directly, not resequenced), then returns the agent's full question list in its new order. Entries whose fieldId doesn't belong to agentId are silently skipped.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
fieldOrders * | array | The new order for some or all of the agent's questions. |
list_voice_question_templates List Voice Question Templates
List the question templates visible to your company: Speak's shared system templates, plus your own company's templates. Use the returned templateId with create_voice_question.
| Parameter | Type | Description |
|---|---|---|
category | string |
create_voice_question_template Create Voice Question Template
Create a company-scoped question template — the "custom question" a user names themselves rather than picking from Speak's shared library. Requires the OWNER or ADMIN role. The server stamps companyId and forces isSystemTemplate to false, so this template is only ever visible to your company.
| Parameter | Type | Description |
|---|---|---|
category * | string | |
defaultConfig * | object | displayLabel and question are both required within this object. |
description * | string | |
fieldType * | string | |
name * | string | |
isPublic | boolean | |
tags | array |
list_voice_kb_gaps List Voice KB Gaps
List a voice agent's pending knowledge-base gaps — questions callers asked that the agent answered with low confidence or an explicit "I don't know," surfaced automatically after calls. Up to the 50 most recent pending gaps, newest first.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
analyze_voice_kb_gaps Analyze Voice KB Gaps
Trigger knowledge-base gap analysis over a voice agent's recent calls. Requires the OWNER or ADMIN role. Runs in the background and returns immediately — new gaps appear in list_voice_kb_gaps once analysis finishes, not synchronously with this response.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
add_voice_kb_gap Add Voice KB Gap
Write a knowledge-base gap's answer into the voice agent's attached knowledge base as a new document, and mark the gap added. Requires the OWNER or ADMIN role. Fails with 409 if the gap was already added or dismissed, or if the agent has no knowledge base collection to write into.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
gapId * | string | ID of the gap (from list_voice_kb_gaps) |
answer | string | Overrides the gap's suggested answer. |
title | string | Overrides the gap's suggested title. |
dismiss_voice_kb_gap Dismiss Voice KB Gap
Mark a voice agent's knowledge-base gap dismissed without writing anything to the knowledge base. Requires the OWNER or ADMIN role.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
gapId * | string | ID of the gap (from list_voice_kb_gaps) |
list_voice_faq_suggestions List Voice FAQ Suggestions
List a voice agent's pending FAQ suggestions — questions multiple callers asked in similar form, clustered and drafted into a reusable question/answer pair. Up to the 20 largest clusters, largest first.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
generate_voice_faq_suggestions Generate Voice FAQ Suggestions
Trigger FAQ clustering over a voice agent's recent calls. Requires the OWNER or ADMIN role. Runs in the background and returns immediately — new suggestions appear in list_voice_faq_suggestions once generation finishes, not synchronously with this response.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
add_voice_faq_suggestion Add Voice FAQ Suggestion
Write an FAQ suggestion's question/answer into the voice agent's attached knowledge base as a new document, and mark the suggestion added. Requires the OWNER or ADMIN role. Fails with 409 if the suggestion was already added or dismissed, or if the agent has no knowledge base collection to write into.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
suggestionId * | string | ID of the suggestion (from list_voice_faq_suggestions) |
answer | string | Overrides the suggested answer. |
question | string | Overrides the suggested question. |
update_voice_faq_suggestion Update Voice FAQ Suggestion
Edit a still-pending FAQ suggestion's question and/or answer before adding it. Requires the OWNER or ADMIN role. Fails with 400 if the suggestion was already added or dismissed.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
suggestionId * | string | ID of the suggestion (from list_voice_faq_suggestions) |
answer | string | |
question | string |
dismiss_voice_faq_suggestion Dismiss Voice FAQ Suggestion
Mark a voice agent's FAQ suggestion dismissed without writing anything to the knowledge base. Requires the OWNER or ADMIN role.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
suggestionId * | string | ID of the suggestion (from list_voice_faq_suggestions) |
list_voice_agent_resources List Voice Agent Resources
List the knowledge documents/links a voice agent searches during calls — separate from KB gaps and FAQ suggestions, which are the self-improvement layer that surfaces what an agent is missing, not the content itself.
| Parameter | Type | Description |
|---|---|---|
agentId | string | |
limit | integer | |
page | integer | |
search | string | Search by title/description. |
create_voice_agent_resource Create Voice Agent Resource
Add one document/link to a voice agent's knowledge base. Requires the OWNER or ADMIN role. The server does not fetch the URL; it embeds the title, description, and URL slug so the agent can retrieve the link during live calls.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
agentId * | string | |
description * | string | |
title * | string | |
url * | string | |
contentType | string |
bulk_create_voice_agent_resources Bulk Create Voice Agent Resources
Add up to 100 documents/links to a voice agent's knowledge base in one call. Requires the OWNER or ADMIN role. The URLs are not fetched; each entry's title, description, and URL slug is embedded independently. Use this instead of calling create_voice_agent_resource in a loop.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | |
resources * | array | 1 to 100 entries, each shaped like create_voice_agent_resource's body minus agentId. |
update_voice_agent_resource Update Voice Agent Resource
Partially update a voice agent resource — send at least one field. Requires the OWNER or ADMIN role. agentId cannot be changed. Changing url, title, or description re-triggers embedding.
| Parameter | Type | Description |
|---|---|---|
resourceId * | string | ID of the resource to update (from list_voice_agent_resources) |
action | string | |
contentType | string | |
description | string | |
title | string | |
url | string |
delete_voice_agent_resource Delete Voice Agent Resource
Soft-delete a voice agent resource — it stops appearing in lists and the agent stops searching it, but the document is not physically removed. Requires the OWNER or ADMIN role.
| Parameter | Type | Description |
|---|---|---|
resourceId * | string | ID of the resource to delete (from list_voice_agent_resources) |
analyze_voice_instruction_gaps Analyze Voice Instruction Gaps
Advisory only — compares a voice agent's current instructions against anchors/original intent/recent call summaries you supply and suggests up to 3 patches. Requires the OWNER or ADMIN role. Nothing is written; pass a suggestion's suggestedPatch to apply_voice_instruction_gap to actually apply it.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
anchors | array | Specific requirements the instructions must cover, at most 20 of up to 500 characters each. Defaults to empty. |
conversationSummaries | array | Recent call summaries, to ground suggestions in what actually came up, at most 20 of up to 2000 characters each. Defaults to empty. |
originalPrompt | string | The original generation prompt, for context. Only the first 2000 characters are used. |
apply_voice_instruction_gap Apply Voice Instruction Gap
Insert a suggested instruction patch into a voice agent's instructions and persist the result. Requires the OWNER or ADMIN role. suggestedPatch is typically taken directly from analyze_voice_instruction_gaps.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | ID of the voice agent (from list_voice_agents) |
suggestedPatch * | string | |
insertAfterSection | string | null | Insert after this named section heading; omit or null to append at the end. |
get_billing_status Get Billing Status
Show the account's billing status: plan (free_trial, pay_as_you_go, pro or custom), creditsRemaining, renewsAt, trialEndsAt, pendingPayment and canManageBilling. Read-only and free to call. Use it to tell the user before an upload, analysis or chat would run past the remaining credits, or after a tool reports that the account cannot cover the work. Retry a blocked tool only after the user confirms their account has credits.
submit_feedback Submit Feedback
Send the person's feedback about Speak AI (a bug, something confusing, a missing feature, or praise) straight to the Speak AI team. When to offer it: when the person is frustrated with Speak AI, hits a bug or a limit, asks for something Speak AI cannot do, or says what they like or dislike about it. Offer once in a conversation, in one short sentence, and do not repeat the offer if they decline. Rules: send only with the person's clear yes. Write it in their words, show them the exact text first, and leave out recording or transcript content and anyone else's personal details unless they ask y…
| Parameter | Type | Description |
|---|---|---|
text * | string | The feedback in the person's own words, as they approved it. 10 to 4000 characters. |
area | string | The Speak AI feature or tool the feedback is about, for example "transcripts", "meeting assistant" or "upload_and_analyze". |