# Build AI agents with Voiceflow
Source: https://www.voiceflow.com/docs
Build, test, deploy, and monitor AI agents for customer experience.
## Get started
Build your first agent visually, then connect it to your website, phone, or app.
Connect Claude Code, Codex, or Cursor to build and manage your Voiceflow agents in plain language.
Build and manage agents, run conversations, and publish releases through Voiceflow’s REST APIs.
## Connect your AI coding agent
Connect your assistant to Voiceflow with the setup prompt. It handles your connection, documentation access, and skills where supported. Choose your coding agent or **CLI** for manual connection instructions.
Paste this prompt into your AI assistant:
```text Setup prompt wrap
Set up Voiceflow by following https://www.voiceflow.com/agents/setup
```
Your assistant will reuse existing connections or set up CLI or MCP access, connect Voiceflow's documentation, and install the Voiceflow skills where your client supports them. Complete browser sign-in when prompted; your assistant will verify the connection before finishing.
Run this command in your terminal:
```bash
claude mcp add --transport http voiceflow https://mcp.voiceflow.com/mcp
```
Open Claude Code, run `/mcp`, select **voiceflow**, and choose **Authenticate**. Sign in to Voiceflow in your browser and approve the connection.
Connecting grants your client access to read and change the projects your account can access. [MCP authentication](/docs/mcp/authentication) explains the permissions.
Ask Claude Code:
```text
List my Voiceflow projects.
```
A project list confirms the connection is working.
Run this command in your terminal:
```bash
codex mcp add voiceflow --url https://mcp.voiceflow.com/mcp
```
If adding the server already completed sign-in, continue to the next step. Otherwise, run:
```bash
codex mcp login voiceflow
```
Sign in to Voiceflow in your browser and approve the connection.
Connecting grants your client access to read and change the projects your account can access. [MCP authentication](/docs/mcp/authentication) explains the permissions.
Ask Codex:
```text
List my Voiceflow projects.
```
A project list confirms the connection is working.
Add this configuration to `.cursor/mcp.json` in your project, or merge the `voiceflow` entry into your existing `mcpServers`:
```json
{
"mcpServers": {
"voiceflow": {
"url": "https://mcp.voiceflow.com/mcp"
}
}
}
```
When Cursor prompts you to authenticate, sign in to Voiceflow in your browser and approve the connection.
Connecting grants your client access to read and change the projects your account can access. [MCP authentication](/docs/mcp/authentication) explains the permissions.
Ask Cursor:
```text
List my Voiceflow projects.
```
A project list confirms the connection is working.
Run these commands yourself in your local terminal.
On macOS or Linux:
```bash
curl -fsSL https://raw.githubusercontent.com/voiceflow/cli/master/scripts/install.sh | bash
```
On Windows, use PowerShell:
```powershell
iwr -useb https://raw.githubusercontent.com/voiceflow/cli/master/scripts/install.ps1 | iex
```
```bash
vf auth login
```
Follow the sign-in instructions in your terminal.
```bash
vf workspace list --output-format json
```
A workspace list confirms the connection is working. If you use a personal or service key, access depends on that key's permissions; see [CLI authentication](/docs/cli/authentication).
## Get started by use case
Choose the kind of agent you want to build, then start with the first guide.
Start with an FAQ agent grounded in your knowledge base.
Let your agent take action through an external service.
Give customers a way to reach your support team.
Embed the chat widget so customers can talk to your agent.
Check how your agent handles customer requests.
Review transcripts to find what to improve.
Define what your agent should do and how it should behave.
Learn to ground answers in your knowledge base.
Connect a number to your agent.
Learn how inbound calls reach your agent.
Learn to store and reuse details shared during a conversation.
Check how your agent handles the requests you expect.
Define what your agent should do and how it should behave.
Learn to ground answers in your knowledge base.
Store and reuse details shared during a conversation.
Let your agent take action through an external service.
Learn to run a conversation in your own application.
Check how your agent handles the requests you expect.
Define what your agent should do and how it should behave.
Use a playbook to guide a goal-based conversation.
Learn to store and reuse the details a visitor shares.
Use the HubSpot tool to connect your agent to your CRM.
Embed the chat widget so visitors can talk to your agent.
Check the conversations you expect visitors to have.
Learn how instructions, playbooks, workflows, knowledge, and tools fit together.
Use a playbook to guide a goal-based conversation.
Build a defined conversation flow with steps and an embedded playbook.
Let your agent take action through an external service.
Learn to run your agent in your own application.
Check how your agent handles the requests you expect.
## Get started by integration
Bring Voiceflow into the tools your team already uses. Choose a category to find the right connection guide.
Create and update tickets, look up users, and add comments from a conversation.
Build a custom handoff connection so your team can reply from Intercom.
Build a custom handoff connection between your agent and Gorgias tickets.
Connect your Twilio phone number to let your agent handle calls.
Connect your Vonage phone number to let your agent handle calls.
Connect your Telnyx phone number to let your agent handle calls.
Capture contacts, create leads, and open tickets in your CRM.
Create leads, update contacts, and log support cases during a conversation.
Look up products and orders, update orders, and handle cancellations in your store.
Trigger a Make scenario to connect your agent to your existing automations.
Connect a hosted Zapier MCP server to make its tools available to your agent.
Look up information, log leads, and update records in your bases.
Read spreadsheet data and save information collected by your agent.
Fetch information and send data to your own services with an API tool.
## Get started by channel
Choose where people will talk to your agent, then follow the guides to connect and launch it.
Embed the Voiceflow chat widget so visitors can talk to your agent.
Customize the chat widget’s appearance to fit your website.
Add custom interactions to your chat widget with extensions.
Choose a Voiceflow number or connect Twilio, Vonage, or Telnyx.
Let callers reach your agent through your connected phone number.
Start a phone conversation with your agent through an outbound call.
Connect a Twilio number and configure its SMS routing.
Let people text your number and receive replies from your agent. SMS is in beta.
Send the first text to start a conversation with your agent.
Set up authentication for requests to the Voiceflow APIs.
Launch your agent and send a message from your own code.
Use conversation events and state to power a custom experience.
## Explore the Voiceflow platform
Design agents visually with playbooks, workflows, and a knowledge base.
Launch your AI agent across chat, voice, or any other channel where your users are.
Monitor performance with transcripts, call recordings, evals, tests, and analytics.
### Build
- [Agent instructions](/docs/documentation/build/global-prompt)
- [Playbooks](/docs/documentation/build/playbooks)
- [Workflows](/docs/documentation/build/workflows)
- [Knowledge base](/docs/documentation/build/importing-data-sources)
- [Tools and integrations](/docs/documentation/build/tools/api-tool)
### Deploy
- [Environments and publishing](/docs/documentation/deploy/environments/publishing)
- [Chat widget](/docs/documentation/deploy/widget/embedding-the-chat-widget)
- [Phone numbers](/docs/documentation/deploy/phone/connect-a-phone-number)
- [SMS](/docs/documentation/deploy/sms/inbound)
- [Custom interfaces](/docs/api-reference/sections/running-agents)
### Measure
- [Transcripts and recordings](/docs/documentation/measure/transcripts)
- [Evaluations](/docs/documentation/measure/evaluations)
- [Analytics](/docs/documentation/measure/analytics)
- [Tests](/docs/documentation/measure/tests)
## Resources
### Developer reference
- [Developer overview](/docs/developers/overview)
- [API reference](/docs/api-reference/api-overview)
- [Authentication](/docs/api-reference/authentication)
- [CLI commands](/docs/cli/commands/overview)
- [MCP server](/docs/mcp/overview)
### Guides and help
- [Cookbook](/docs/cookbook/overview)
- [How agents work](/docs/documentation/build/how-agents-work)
- [Human handoff](/docs/documentation/handoff/setup)
- [Changelog](/docs/changelog/changelog)
- [Contact support](mailto:support@voiceflow.com)
# Add agent tool message
Source: https://www.voiceflow.com/docs/api-reference/agent/add-agent-tool-message
/specs-prettified/realtime/openapi.stable.json post /v1/stable/agent/tool-message
Gives one of the agent's tools a message in a slot that has none yet, either generative (examples the model writes from) or scripted (an existing response said verbatim). Address a built-in tool with `nativeTool` or an attached tool with `toolID`, and compile the environment afterward.
# Delete agent tool message
Source: https://www.voiceflow.com/docs/api-reference/agent/delete-agent-tool-message
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/agent/tool-message
Clears one message slot on one of the agent's tools, discarding its examples and unlinking its scripted response. The response carries only a confirmation message, so refetch the agent's tool to see its remaining messages.
# Get agent
Source: https://www.voiceflow.com/docs/api-reference/agent/get-agent
/specs-prettified/realtime/openapi.stable.json get /v2/stable/agent
Returns the environment's agent: the global prompt, the instructions that route a turn, and the settings wrapping both. The prompt and instructions are plain Markdown strings, and each entry in the agent's playbook and workflow lists can carry a condition.
# Get initialization workflow
Source: https://www.voiceflow.com/docs/api-reference/agent/get-initialization-workflow
/specs-prettified/realtime/openapi.stable.json get /v1/stable/agent/initialization-workflow
Returns the agent's initialization workflow, the workflow set in Behaviour settings that runs at launch, before the user says anything. The name is null when the ID points at a workflow that no longer exists.
# Patch agent instructions
Source: https://www.voiceflow.com/docs/api-reference/agent/patch-agent-instructions
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/agent/instructions
Replaces one exact string in the main agent's routing instructions with another, matching literally on whitespace, punctuation and case. Quote `oldString` from a read or search result; with `replaceAll` off, more than one match is an error rather than a guess.
# Patch pronunciation dictionary
Source: https://www.voiceflow.com/docs/api-reference/agent/patch-pronunciation-dictionary
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/agent/pronunciation
Edits single entries of the voice pronunciation dictionary, a list of written words and how the voice says them. `set` adds words or replaces the entry for a word already stored, `remove` deletes every entry for a word, and words match ignoring letter case.
# Patch the global prompt
Source: https://www.voiceflow.com/docs/api-reference/agent/patch-the-global-prompt
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/agent/prompt
Replaces one exact string in the global prompt with another, matching literally on whitespace, punctuation and case. Quote `oldString` from a read or search result; with `replaceAll` off, more than one match is an error rather than a guess.
# Patch voices
Source: https://www.voiceflow.com/docs/api-reference/agent/patch-voices
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/agent/voices
Set the agent's default voice, or add, change or remove one language voice, from the voice catalog.
# Read agent instructions
Source: https://www.voiceflow.com/docs/api-reference/agent/read-agent-instructions
/specs-prettified/realtime/openapi.stable.json get /v2/stable/agent/instructions
Returns one page of the main agent's routing instructions, each line prefixed with its 1-based number, so a later patch can quote text exactly as it appears. `offset` and `limit` pick the page; the totals in the response cover the whole document.
# Read the global prompt
Source: https://www.voiceflow.com/docs/api-reference/agent/read-the-global-prompt
/specs-prettified/realtime/openapi.stable.json get /v2/stable/agent/prompt
Returns one page of the global prompt, each line prefixed with its 1-based number, so a later patch can quote text exactly as it appears. `offset` and `limit` pick the page; the totals in the response cover the whole prompt.
# Search agent instructions
Source: https://www.voiceflow.com/docs/api-reference/agent/search-agent-instructions
/specs-prettified/realtime/openapi.stable.json post /v2/stable/agent/instructions/search
Searches the main agent's routing instructions line by line with a JavaScript regular expression and returns one page of matching lines with surrounding context, up to `limit`; the match totals count the whole document.
# Search the global prompt
Source: https://www.voiceflow.com/docs/api-reference/agent/search-the-global-prompt
/specs-prettified/realtime/openapi.stable.json post /v2/stable/agent/prompt/search
Searches the global prompt line by line with a JavaScript regular expression and returns one page of matching lines with surrounding context, up to `limit`; the match totals count the whole prompt.
# Search voices
Source: https://www.voiceflow.com/docs/api-reference/agent/search-voices
/specs-prettified/realtime/openapi.stable.json get /v1/stable/agent/voice-catalog
Search the ElevenLabs and Cartesia voice catalog.
# Set initialization workflow
Source: https://www.voiceflow.com/docs/api-reference/agent/set-initialization-workflow
/specs-prettified/realtime/openapi.stable.json put /v1/stable/agent/initialization-workflow
Sets which workflow the agent runs at launch, replacing the one set before, or clears the setting when `workflowID` is null. Only a workflow ID from the workflow list is accepted, and compiling the environment is what makes a test conversation use it.
# Update agent
Source: https://www.voiceflow.com/docs/api-reference/agent/update-agent
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/agent
Changes the agent that shapes every turn - its global prompt, its routing instructions, or its settings - in the environment named by the request. The prompt and instructions are sent as plain Markdown strings.
# Update agent tool message
Source: https://www.voiceflow.com/docs/api-reference/agent/update-agent-tool-message
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/agent/tool-message
Replaces the message in a slot that already has one, with the full set of examples or the response to say instead. Switching between generative and scripted keeps the stored text of the form you switched away from, switched off.
# Query API tool usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-api-tool-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/api-tool-usage/project/{projectID}
Reports how often each API tool was called, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query call count
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-call-count
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/call-count/project/{projectID}
Reports how many voice calls were placed, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query call duration
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-call-duration
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/call-duration/project/{projectID}
Reports how much time was spent on voice calls, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query category token usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-category-token-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/category-token-usage/project/{projectID}
Reports how many tokens each category consumed, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query daily token usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-daily-token-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/daily-token-usage/organization/{organizationID}
Reports how many tokens were consumed, bucketed by day, for one organization over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query entity token usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-entity-token-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/entity-token-usage/organization/{organizationID}
Reports how many tokens each entity consumed, for one organization over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query function usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-function-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/function-usage/project/{projectID}
Reports how often each function ran, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query hourly organization token usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-hourly-organization-token-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/hourly-token-usage/organization/{organizationID}
Reports how many tokens were consumed, bucketed by hour, for one organization over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query hourly project token usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-hourly-project-token-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/hourly-token-usage/project/{projectID}
Reports how many tokens were consumed, bucketed by hour, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query integration usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-integration-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/integration-usage/project/{projectID}
Reports how often each integration ran, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query intent usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-intent-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/intent-usage/project/{projectID}
Reports how often each intent matched, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query knowledge base document usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-knowledge-base-document-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/knowledge-base-document-usage/project/{projectID}
Reports how often each knowledge base document was retrieved, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query MCP tool usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-mcp-tool-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/mcp-tool-usage/project/{projectID}
Reports how often each MCP tool was called, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query objective metrics
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-objective-metrics
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/objective-metrics/project/{projectID}
Reports how sessions performed against the agent's configured objective, conversion or resolution, for one project over a date range. The request body takes `startDate` and `endDate`, with optional timezone, channel and environment filters.
# Query organization token usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-organization-token-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/organization/{organizationID}
Reports how many tokens were consumed, for one organization over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query playbook usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-playbook-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/playbook-usage/project/{projectID}
Reports how often each playbook ran, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query project interaction count
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-project-interaction-count
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/interaction-count/project/{projectID}
Reports how many interactions were exchanged, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query project token usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-project-token-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/project/{projectID}
Reports how many tokens were consumed, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query project transcript count
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-project-transcript-count
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-count/project/{projectID}
Reports how many conversations were recorded, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query prompt usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-prompt-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/prompt-usage/project/{projectID}
Reports how often each prompt was used, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query transcript cost
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-transcript-cost
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-cost/project/{projectID}
Reports what those conversations cost in model spend, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query unique user count
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-unique-user-count
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/unique-user-count/project/{projectID}
Reports how many distinct users held a conversation, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query workflow usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-workflow-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/workflow-usage/project/{projectID}
Reports how often each workflow ran, for one project over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query workspace interaction count
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-workspace-interaction-count
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/interaction-count/workspace/{workspaceID}
Reports how many interactions were exchanged, for one workspace over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query workspace token usage
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-workspace-token-usage
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/workspace/{workspaceID}
Reports how many tokens were consumed, for one workspace over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# Query workspace transcript count
Source: https://www.voiceflow.com/docs/api-reference/analytics/query-workspace-transcript-count
/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-count/workspace/{workspaceID}
Reports how many conversations were recorded, for one workspace over a date range. The request body takes `startDate`, `endDate` and an `interval`, the same shape the other analytics measures take.
# What the REST API covers
Source: https://www.voiceflow.com/docs/api-reference/api-overview
Everything the Voiceflow REST API can do, grouped by the job you came to do: build an agent, run a conversation, publish it, and measure it.
The Voiceflow REST API covers the whole lifecycle of an agent. You can build
one from parts, run conversations against it, publish it through environments,
and read back what happened, all without opening the Studio.
Every request carries a [personal access token](/docs/api-reference/authentication).
One credential authenticates the REST API, the `vf` CLI, and the MCP server.
```bash
curl "https://realtime-api.voiceflow.com/v1/stable/workspace" \
-H "Authorization: Bearer $VF_PAT"
```
New to the API? [Quickstart](/docs/api-reference/quickstart) gets you a first
response in a few minutes.
## Build and run
Create and manage the pieces an agent is built from: playbooks, functions, tools, API tools, MCP servers, variables and knowledge base documents.
Run conversations against an agent over HTTP. Send what a user would say, read the traces that come back, and inspect or reset the state between turns.
Ship changes with environments. Edit a draft, publish it live, clone one to work in isolation, merge it back, and split traffic between versions.
Create and administer the containers your agents live in: workspaces that group projects and people, and projects that each own a single agent.
## Measure and improve
Read the conversations your agent actually had. Search transcripts, fetch a single one, and attach your own properties to record what happened.
Score conversations against criteria you define, so agent quality becomes a number you can track over time instead of a sample you skim.
Replay scripted conversations against your agent and assert what it does, so a change that breaks a scenario fails loudly instead of silently.
Query usage and cost: tokens, calls, conversations and unique users, plus the spend attributed to individual functions, playbooks and tools.
## Webhooks
Receive events whenever conversations start or end, on both chat and voice.
Receive events when projects are created, published, or deleted.
# Create many variables
Source: https://www.voiceflow.com/docs/api-reference/api-tool-variable/create-many-variables
/specs-prettified/realtime/openapi.stable.json post /v2/stable/api-tool-variable/batch
Adds several API tool variables to its API tool in one request, each taking the fields the single-create call takes. The response carries the created API tool variables in the same shape the list call returns.
# Create variable
Source: https://www.voiceflow.com/docs/api-reference/api-tool-variable/create-variable
/specs-prettified/realtime/openapi.stable.json post /v2/stable/api-tool-variable
Adds an API tool variable to its API tool, an input an API tool substitutes into its request. The response carries the ID that later calls address it by.
# Delete variable
Source: https://www.voiceflow.com/docs/api-reference/api-tool-variable/delete-variable
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/api-tool-variable/{variableID}
Deletes a single API tool variable by ID. An API tool variable is an input an API tool substitutes into its request. The response carries only a confirmation message, so refetch the API tool variables to see what is left.
# Get variable
Source: https://www.voiceflow.com/docs/api-reference/api-tool-variable/get-variable
/specs-prettified/realtime/openapi.stable.json get /v2/stable/api-tool-variable/{variableID}
Returns a single API tool variable by ID, with the fields that define it. An API tool variable is an input an API tool substitutes into its request.
# List variables
Source: https://www.voiceflow.com/docs/api-reference/api-tool-variable/list-variables
/specs-prettified/realtime/openapi.stable.json get /v2/stable/api-tool-variable
Returns every API tool variable in its API tool. An API tool variable is an input an API tool substitutes into its request. The call takes no paging parameters, so one request yields the whole set.
# Update variable
Source: https://www.voiceflow.com/docs/api-reference/api-tool-variable/update-variable
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/api-tool-variable/{variableID}
Changes an existing API tool variable in place. The response carries only a confirmation message, so refetch the API tool variable to read its new values.
# Create API tool
Source: https://www.voiceflow.com/docs/api-reference/api-tool/create-api-tool
/specs-prettified/realtime/openapi.stable.json post /v2/stable/api-tool
Adds an API tool to the environment, a saved HTTP request an agent can make. The URL, header values, and query parameter values are plain strings that reference the tool's inputs as {input_name}, and the response carries the ID that later calls address it by.
# Create many API tools
Source: https://www.voiceflow.com/docs/api-reference/api-tool/create-many-api-tools
/specs-prettified/realtime/openapi.stable.json post /v2/stable/api-tool/batch
Adds several API tools to the environment in one request, each taking the fields the single-create call takes, with URL and header values as plain strings. The response carries the created API tools in the same shape the list call returns.
# Delete API tool
Source: https://www.voiceflow.com/docs/api-reference/api-tool/delete-api-tool
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/api-tool/{toolID}
Deletes a single API tool by ID. An API tool is a saved HTTP request an agent can make. The response carries only a confirmation message, so refetch the API tools to see what is left.
# Execute API tool
Source: https://www.voiceflow.com/docs/api-reference/api-tool/execute-api-tool
/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool/{toolID}/execute
Sends an API tool's saved request once, filling its input placeholders from the inputs in the body. The call stops at the tool's timeout or 18 seconds, whichever is shorter, and nothing is saved.
# Get API tool
Source: https://www.voiceflow.com/docs/api-reference/api-tool/get-api-tool
/specs-prettified/realtime/openapi.stable.json get /v2/stable/api-tool/{toolID}
Returns a single API tool by ID, with the fields that define it. An API tool is a saved HTTP request an agent can make; its URL, header values, and query parameter values come back as plain strings.
# Get API tool schema
Source: https://www.voiceflow.com/docs/api-reference/api-tool/get-api-tool-schema
/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool/{toolID}/schema
Returns the input variables an API tool declares, which are the names the execute call needs a value for. Call it before executing so the request body has every input.
# List API tools
Source: https://www.voiceflow.com/docs/api-reference/api-tool/list-api-tools
/specs-prettified/realtime/openapi.stable.json get /v2/stable/api-tool
Returns every API tool in the environment. An API tool is a saved HTTP request an agent can make; its URL, header values, and query parameter values are plain strings that reference the tool's inputs as {input_name}. The call takes no paging parameters, so one request yields the whole set.
# Update API tool
Source: https://www.voiceflow.com/docs/api-reference/api-tool/update-api-tool
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/api-tool/{toolID}
Changes an existing API tool in place, taking URL and header values as plain strings that reference the tool's inputs as {input_name}. The response lists any references that did not resolve; read the API tool again to see its new values.
# Authentication
Source: https://www.voiceflow.com/docs/api-reference/authentication
Choose a credential for API development, automation, or connecting a supported MCP client.
## Authenticate to Voiceflow
Use a [client key](/docs/developers/authentication/client-keys) to authorize the widget on your website. Authenticate API and CLI requests with a personal or service key. To connect a supported AI client to Voiceflow MCP, use its OAuth sign-in flow. The right choice depends on who the integration acts for and where it runs.
This section covers access to Voiceflow from your application or development tools. Signing your team into Voiceflow and connecting an agent to third-party services are separate tasks.
## Choose a credential
| Your goal | Use | Why |
| --- | --- | --- |
| Authorize the widget on your website | [Client key](/docs/developers/authentication/client-keys) | Project-scoped credential intended for website installation code |
| Develop or run commands as yourself | [Personal key](/docs/developers/authentication/personal-keys) | Acts on behalf of your user account, subject to its access and the key’s scopes |
| Run ongoing server-side automation | [Service key](/docs/developers/authentication/service-keys) | Uses a separate service-account identity with selected access |
| Connect a supported AI client to Voiceflow | [MCP authentication](/docs/mcp/authentication) | The client handles the supported sign-in flow |
### Supported surfaces
| Credential | REST management API | CLI | Voiceflow MCP |
| --- | --- | --- | --- |
| Personal key | Supported, subject to endpoint permissions | Supported | Accepted by the server; the client must support supplying a Bearer token |
| Service key | Supported, subject to endpoint permissions | Supported | Use the supported OAuth setup instead |
Keep personal and service keys on your server or in local development secrets. Do not embed them in website JavaScript. For a website interface, start with the [web widget](/docs/documentation/deploy/widget/embedding-the-chat-widget) and its generated installation instructions.
## Set up access
- [Find and use a client key](/docs/developers/authentication/client-keys)
- [Create and use a personal key](/docs/developers/authentication/personal-keys)
- [Create and use a service key](/docs/developers/authentication/service-keys)
- [Understand permissions and scopes](/docs/developers/authentication/permissions)
- [Migrate an existing project API key](/docs/developers/authentication/migrate-project-keys)
- [Authenticate the CLI](/docs/cli/authentication)
- [Connect Voiceflow MCP](/docs/mcp/authentication)
## Make your first request
Continue with the [API quickstart](/docs/api-reference/quickstart) or [run a tool without a conversation](/docs/developers/tools/execute).
# Delete state
Source: https://www.voiceflow.com/docs/api-reference/conversation-state/delete-state
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/conversation-state/{userID}
Discards the stored state for one conversation, so the next turn on that `userID` begins from the start. The response carries only a confirmation message.
# Get state
Source: https://www.voiceflow.com/docs/api-reference/conversation-state/get-state
/specs-prettified/realtime/openapi.stable.json get /v1/stable/conversation-state/{userID}
Returns the stored state for one conversation - where it stands and what its variables hold - addressed by the same `userID` used to run it.
# Update state
Source: https://www.voiceflow.com/docs/api-reference/conversation-state/update-state
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/conversation-state/{userID}
Changes the stored state of a live conversation, which is how a caller seeds or corrects variables between turns without replaying the conversation.
# Update variables
Source: https://www.voiceflow.com/docs/api-reference/conversation-state/update-variables
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/conversation-state/{userID}/variables
Updates variables in the conversation state by merging with the properties in the request body.
# Run script
Source: https://www.voiceflow.com/docs/api-reference/conversation/run-script
/specs-prettified/realtime/openapi.stable.json post /v1/stable/conversation/script
Starts a fresh conversation against the agent, sends up to 10 messages in sequence, and condenses every turn into a short digest instead of full traces. Compile the environment first after an edit, because the script runs against the last compiled version.
# Send
Source: https://www.voiceflow.com/docs/api-reference/conversation/send
/specs-prettified/realtime/openapi.stable.json put /v1/stable/conversation/{userID}
Advances a conversation by one turn: the body carries the action to apply, and the response carries the traces the agent produced in reply.
# WebSocket
Source: https://www.voiceflow.com/docs/api-reference/conversations-api/interact-socket
Hold a persistent socket.io connection to the Voiceflow runtime for real-time conversations, and read the events it emits over that channel.
The Voiceflow WebSocket runtime uses [socket.io](https://socket.io/) to establish persistent, bidirectional connections for real-time conversational AI interactions.
This is a different transport from the [conversation
endpoints](/docs/api-reference/conversation/send), not a different version of
them. Those take one turn per request and return when the turn is done. A
socket stays open, pushes traces as they are produced, and yields a
`sessionKey` that server-side event endpoints need in order to target a
running session.
Find the [socket.io client](https://github.com/socketio) in your respective development language. This documentation will use javascript, but the fundamentals remain the same.
## Connection configuration
```js
import { io } from 'socket.io-client';
const socket = io('https://general-runtime.voiceflow.com', {
path: '/v4/interact/socket',
timeout: 10000,
transports: ['websocket', 'polling', 'webtransport'], // optional fallbacks
reconnection: true,
tryAllTransports: true,
reconnectionDelay: 1000,
reconnectionAttempts: 5,
reconnectionDelayMax: 5000,
});
```
[socket.io](http://socket.io) allows for fallback transports if the end-client does not allow the websocket protocol (wss://), common in many firewalls and enterprise settings.
## Lifecycle
A session is not the same as the socket.io connection. You can disconnect/reconnect multiple times and still continue the same conversation session.
For more information on socket.io lifecycle management, reference [documentation](https://socket.io/docs/v4/client-api/).
### Initialization sequence
1. Wait for `connect`. This is a socket.io level connection established.
2. Send `client.start`. Send voiceflow project metadata/config \+ optional `sessionKey`.
3. Wait for `client.started`. Client handshake, confirms configuration.
4. If `client.started` specifies `newSessionRequired`:
1. Send `session.create`.
2. Wait for `session.created`. Save returned `sessionKey` for future use.
5. Agent is now ready for interactions
```ts
// save sessionKey on client side for future reconnections
let sessionKey: string | undefined;
// socket.io level connection
socket.on('connect', () => {
// voiceflow client handshake
socket.emit('client.start', { sessionKey, ...metadata });
socket.once('client.started', (payload: { newSessionRequired: boolean }) => {
if (payload.newSessionRequired === false) {
return ready();
}
// session create handshake
socket.emit('session.create', {});
socket.once('session.created', (payload: { sessionKey: string }) => {
sessionKey = payload.sessionKey;
ready();
});
});
})
```
### Action Lifecycle
Once the session is ready, you can now send actions to the agent and get responses back.
1. send new action with `action.send`, i.e. `{ type: 'text', payload: 'hello' }`
2. get back a status `action.status` either `status: 'accepted' | 'rejected'`
3. if `status: accepted`:
1. get back agent responses with `action.trace`, display to user
2. get `action.status` with `status: 'completed'`
This represents the back and forth conversation with the agent.
Try to not send a new action while an existing action is running. While this is supported, it can make it harder to debug user state and lead to certain race conditions.
Instead wait for `status: 'completed'` or `status: 'rejected'` after sending an action.
### Conversation Lifecycle
#### Start
To start the conversation from the beginning, your first action should be:
```ts
socket.emit('action.send', {
action: { type: 'launch', payload: {} }
});
```
It is also possible to launch from specific points in the conversation with [events](/docs/api-reference/session/emit-session-event):
```ts
socket.emit('action.send', {
action: { type: 'event', payload: { event: { name: 'event_name' } } }
});
```
#### End
The session ending also signals that the conversation has ended. This can also occur because of timeouts.
```ts
socket.on('session.ended', () => {
// cleanup code
})
```
## Client events
### `client.start`
Initial Voiceflow metadata and configuration to validate and set up the client. This is aways the first message that the client should send to the server after socket.io successfully connects. Server will respond with `client.started`.
#### Payload
`?:` denotes optional properties.
```ts
interface ClientStartPayload {
userID: string; // primary user identifier
projectID: string; // voiceflow projectID
// alias of the environment to use. Omit to route the session via the project's
// traffic split (hashed by userID, so a given userID routes consistently).
environmentID?: string;
// session to reconnect to, ignore if new session
sessionKey?: string | null;
// voiceflow project API Key (under settings), do not set for public facing clients
authorization?: string;
config?: {
// break up LLM responses into live chunks [default: false]
completionEvents: boolean;
// timezone in IANA (tz database) for the vf_user_timezone variable
userTimezone?: string;
audioEvents: boolean; // enable TTS audio chunk responses
audioEncoding?: 'audio/x-mulaw' | 'audio/pcm'; // audio response format
};
}
```
#### Example Call
```ts
socket.emit('client.start', {
userID: 'test@test.com',
projectID: '6939bedf69c7ce5ee7a108ed',
authorization: 'VF.DM...',
config: {
completionEvents: true
};
});
```
### `session.create`
Creates a new session for the user. Should be sent after `client.started` indicates `newSessionRequired: true`. Server will respond with `session.created`.
#### Example Call
```ts
socket.emit('session.create', {});
```
### `action.send`
Sends a user action to the server. A valid session must already exist. Server will respond with `action.status` and `action.trace` events.
[See possible action types in the `action` body of interaction requests.](/docs/api-reference/conversation/send).
#### Payload
```ts
interface ActionSendPayload {
action: {
// request type: "text" | "intent" | "launch" | "event" | "action" | etc.
type: string;
// action-specific payload
payload?: string | object;
};
}
```
#### Example Call
```ts
socket.emit('action.send', {
action: {
type: 'text',
payload: 'Hello, how are you?'
}
});
```
## Server events
### `client.started`
Server ack to `client.start`, informs if a new session needs to be created
#### Payload
```ts
interface ClientStartedPayload {
newSessionRequired: boolean
}
```
#### Example
```ts
socket.on('client.started', (payload: ClientStartedPayload) => {
if (payload.newSessionRequired) {
socket.emit('session.create', {});
} else {
// session is now ready for interactions
}
});
```
### `session.created`
Confirms that a new session has been created. Client should store the `sessionKey` for future reconnections.
#### Payload
```ts
interface SessionCreatedPayload {
sessionKey: string; // JWT session key to store and use for reconnections
}
```
#### Example
```ts
socket.on('session.created', (payload: SessionCreatedPayload) => {
localStorage.setItem('sessionKey', payload.sessionKey);
// session is now ready for interactions
});
```
### `session.ended`
Indicates that the conversation session has ended. Client should close the session and optionally display a workflow to create a new one.
#### Payload
```ts
interface SessionEndedPayload {
// reason for session ending (e.g., "end_of_diagram", "inactivity_timeout", etc.)
reason: string;
}
```
### `action.trace`
Represents agent responses and debugging information for an action. [See possible trace types](/docs/api-reference/trace-types).
#### Payload
```ts
type ActionTracePayload = {
// trace object containing agent response data (speak, text, audio, etc.)
trace: Trace;
// message identifier matching the action.send messageID
messageID: string;
}
```
#### Example
```ts
socket.on('action.trace', (payload: ActionTracePayload) => {
// Handle trace data (speech, text, audio chunks, etc.)
console.log('Trace received:', payload.trace);
});
```
### `action.status`
Indicates the status of an action that was sent via `action.send`. This event is sent when an action is accepted, rejected, or completed.
#### Payload
```ts
interface ActionStatusPayload {
status: 'accepted' | 'rejected' | 'completed'; // action status
messageID: string; // message identifier matching the action.send messageID
reason?: string; // optional reason for rejection or completion
}
```
### `server.restart`
Server is gracefully shutting down and informing the client to reconnect to a different server instance.
#### Payload
```ts
interface ServerRestartPayload {
action?: {
type: string;
payload?: string | object;
diagramID?: string;
time?: number;
}; // optional action to replay after reconnection
}
```
### `error`
General error message from the server. May occur at any point during the connection.
#### Payload
```ts
interface ErrorPayload {
code?: string; // optional error code
error: string; // error message
}
```
# Create document folder
Source: https://www.voiceflow.com/docs/api-reference/document-folder/create-document-folder
/specs-prettified/realtime/openapi.stable.json post /v1/stable/document-folder
Adds a folder to the knowledge base, at the top level or nested under another folder. Folders only organize documents; retrieval searches every document regardless of its folder.
# Delete document folder
Source: https://www.voiceflow.com/docs/api-reference/document-folder/delete-document-folder
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/document-folder/{folderID}
Deletes a knowledge base folder together with its subfolders and every document inside them. The response carries only a confirmation message, so refetch the folders and documents to see what is left.
# List document folders
Source: https://www.voiceflow.com/docs/api-reference/document-folder/list-document-folders
/specs-prettified/realtime/openapi.stable.json get /v1/stable/document-folder
Returns every folder that organizes the knowledge base's documents in one response; `parentID` nests a folder inside another and is null at the top level. Use a folder's `id` as `folderID` to file a document under it.
# Update document folder
Source: https://www.voiceflow.com/docs/api-reference/document-folder/update-document-folder
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/document-folder/{folderID}
Renames a knowledge base folder, moves it under another folder, or moves it to the top level. A moved folder takes its documents and subfolders with it, and a folder cannot be moved into itself or one of its own subfolders. The response carries only a confirmation message, so refetch the folders to read the new values.
# Create documents from sitemap
Source: https://www.voiceflow.com/docs/api-reference/document/create-documents-from-sitemap
/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/sitemap
Reads a sitemap and creates one URL document for each page it lists, applying the same `refreshRate`, metadata, and folder to every document. These documents do not re-read the sitemap afterward; create a managed sitemap for a site that should stay current.
# Create managed sitemap
Source: https://www.voiceflow.com/docs/api-reference/document/create-managed-sitemap
/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/managed-sitemap
Creates one sitemap document that imports the pages its sitemap lists as URL documents and re-syncs them on `refreshRate`, adding newly listed pages and removing dropped ones. The response is the sitemap document with status `PENDING`; fetch it by ID to read its status and, on `ERROR`, `data.sync.failure.message`.
# Create table document
Source: https://www.voiceflow.com/docs/api-reference/document/create-table-document
/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/table
Adds a document to the knowledge base, a source the knowledge base retrieves from. The response carries the ID that later calls address it by.
# Create text document
Source: https://www.voiceflow.com/docs/api-reference/document/create-text-document
/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/text
Adds a document to the knowledge base, a source the knowledge base retrieves from. The response carries the ID that later calls address it by.
# Create URL document
Source: https://www.voiceflow.com/docs/api-reference/document/create-url-document
/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/url
Adds a document to the knowledge base, a source the knowledge base retrieves from. The response carries the ID that later calls address it by.
# Delete document
Source: https://www.voiceflow.com/docs/api-reference/document/delete-document
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/document/{documentID}
Deletes a single document by ID. A document is a source the knowledge base retrieves from. The response carries only a confirmation message, so refetch the documents to see what is left.
# Get document
Source: https://www.voiceflow.com/docs/api-reference/document/get-document
/specs-prettified/realtime/openapi.stable.json get /v1/stable/document/{documentID}
Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.
# List documents
Source: https://www.voiceflow.com/docs/api-reference/document/list-documents
/specs-prettified/realtime/openapi.stable.json get /v1/stable/document
Returns every document in the knowledge base. A document is a source the knowledge base retrieves from. The call takes no paging parameters, so one request yields the whole set.
# Preview sitemap URLs
Source: https://www.voiceflow.com/docs/api-reference/document/preview-sitemap-urls
/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/sitemap/preview
Reads a sitemap and returns the page URLs an import would turn into documents, without creating anything. Call it before creating from the sitemap to see the set, the plan's per-import limit, and whether the list was truncated.
# Update document
Source: https://www.voiceflow.com/docs/api-reference/document/update-document
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/document/{documentID}
Replaces a text or markdown document's content or metadata tags, or moves it into another knowledge base folder (`folderID` null for the top level). New content replaces the whole text and is processed again under the same ID, so fetch the document until its status is SUCCESS.
# Update managed sitemap
Source: https://www.voiceflow.com/docs/api-reference/document/update-managed-sitemap
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/document/managed-sitemap/{documentID}
Changes the import settings of an existing managed sitemap: its include and exclude patterns, its refresh rate, and its smart chunking. A new set of patterns replaces the stored set whole and applies from the sitemap's next sync.
# Audit environment wiring
Source: https://www.voiceflow.com/docs/api-reference/environment/audit-environment-wiring
/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment/{environmentAlias}/audit-wiring
Check how tools, functions and variables connect.
# Clone environment
Source: https://www.voiceflow.com/docs/api-reference/environment/clone-environment
/specs-prettified/realtime/openapi.stable.json post /v1/stable/environment/{environmentAlias}/clone
Copies an environment into a new one under an alias you choose, giving somewhere to change the agent without touching the environment being cloned.
# Compile environment
Source: https://www.voiceflow.com/docs/api-reference/environment/compile-environment
/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/{environmentAlias}/compile
Rebuilds the environment’s runtime form from its current definition, which is what a conversation actually executes against.
# Delete environment
Source: https://www.voiceflow.com/docs/api-reference/environment/delete-environment
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/environment/{environmentAlias}
Deletes a single environment by ID. An environment is one draft-and-published copy of the agent. The response carries only a confirmation message, so refetch the environments to see what is left.
# Diff environment
Source: https://www.voiceflow.com/docs/api-reference/environment/diff-environment
/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment/{environmentAlias}/diff
Compare an environment's draft with its last publish.
# Export environment
Source: https://www.voiceflow.com/docs/api-reference/environment/export-environment
/specs-prettified/realtime/openapi.stable.json get /v2/stable/environment/{environmentAlias}/export
Serializes the whole environment - its agent, playbooks, tools and knowledge base - into a single document you can archive or move to another project. Rich text comes back as plain strings with `{name}` references.
# Get environment
Source: https://www.voiceflow.com/docs/api-reference/environment/get-environment
/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment/{environmentAlias}
Returns a single environment by ID, with the fields that define it. An environment is one draft-and-published copy of the agent.
# List environments
Source: https://www.voiceflow.com/docs/api-reference/environment/list-environments
/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment
Returns every environment in the project. An environment is one draft-and-published copy of the agent. The call takes no paging parameters, so one request yields the whole set.
# Merge environments
Source: https://www.voiceflow.com/docs/api-reference/environment/merge-environments
/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/merge
Folds the contents of one environment into another, so work done in a clone can be brought back to the environment it was cloned from.
# Publish environment
Source: https://www.voiceflow.com/docs/api-reference/environment/publish-environment
/specs-prettified/realtime/openapi.stable.json post /v1/stable/environment/{environmentAlias}/publish
Promotes the environment’s draft to its published version, which is the copy real traffic reaches. The request names the release so it can be told apart in the history.
# Search project text
Source: https://www.voiceflow.com/docs/api-reference/environment/search-project-text
/specs-prettified/realtime/openapi.stable.json post /v1/stable/environment/{environmentAlias}/search
Finds a word, phrase, ID or regular expression across the text of the whole environment and returns where each match is. Results are paged with limit and offset: pass the previous response's nextOffset as offset to get the next page.
# Update environment
Source: https://www.voiceflow.com/docs/api-reference/environment/update-environment
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/environment/{environmentAlias}
Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.
# Update traffic split
Source: https://www.voiceflow.com/docs/api-reference/environment/update-traffic-split
/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/update-traffic-split
Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.
# Create evaluation
Source: https://www.voiceflow.com/docs/api-reference/evaluation/create-evaluation
/specs-prettified/realtime/openapi.stable.json post /v1/stable/evaluation
Adds a evaluation to the project, a criterion a model scores past conversations against. The response carries the ID that later calls address it by.
# Delete evaluation
Source: https://www.voiceflow.com/docs/api-reference/evaluation/delete-evaluation
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/evaluation/{evaluationID}
Deletes a single evaluation by ID. An evaluation is a criterion a model scores past conversations against. The response carries only a confirmation message, so refetch the evaluations to see what is left.
# Get evaluation
Source: https://www.voiceflow.com/docs/api-reference/evaluation/get-evaluation
/specs-prettified/realtime/openapi.stable.json get /v1/stable/evaluation/{evaluationID}
Returns a single evaluation by ID, with the fields that define it. An evaluation is a criterion a model scores past conversations against.
# List evaluations
Source: https://www.voiceflow.com/docs/api-reference/evaluation/list-evaluations
/specs-prettified/realtime/openapi.stable.json get /v2/stable/evaluation
List all evaluations by project ID, without their judge prompts.
# Queue evaluation runs
Source: https://www.voiceflow.com/docs/api-reference/evaluation/queue-evaluation-runs
/specs-prettified/realtime/openapi.stable.json post /v1/stable/evaluation/queue-runs
Queue evaluations against transcripts.
# Run evaluation
Source: https://www.voiceflow.com/docs/api-reference/evaluation/run-evaluation
/specs-prettified/realtime/openapi.stable.json post /v1/stable/evaluation/{evaluationID}/run
Scores one finished conversation against an evaluation. The response carries the verdict together with the reasoning behind it, so a low score says why.
# Update evaluation
Source: https://www.voiceflow.com/docs/api-reference/evaluation/update-evaluation
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/evaluation/{evaluationID}
Changes an existing evaluation in place. The response carries only a confirmation message, so refetch the evaluation to read its new values.
# Create many paths
Source: https://www.voiceflow.com/docs/api-reference/function-path/create-many-paths
/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-path/batch
Adds several function paths to its function in one request, each taking the fields the single-create call takes. The response carries the created function paths in the same shape the list call returns.
# Create path
Source: https://www.voiceflow.com/docs/api-reference/function-path/create-path
/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-path
Adds a function path to its function, one of the named exits a function can return through. The response carries the ID that later calls address it by.
# Delete path
Source: https://www.voiceflow.com/docs/api-reference/function-path/delete-path
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function-path/{pathID}
Deletes a single function path by ID. A function path is one of the named exits a function can return through. The response carries only a confirmation message, so refetch the function paths to see what is left.
# Get path
Source: https://www.voiceflow.com/docs/api-reference/function-path/get-path
/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-path/{pathID}
Returns a single function path by ID, with the fields that define it. A function path is one of the named exits a function can return through.
# List paths
Source: https://www.voiceflow.com/docs/api-reference/function-path/list-paths
/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-path
Returns every function path in its function. A function path is one of the named exits a function can return through. The call takes no paging parameters, so one request yields the whole set.
# Update path
Source: https://www.voiceflow.com/docs/api-reference/function-path/update-path
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function-path/{pathID}
Changes an existing function path in place. The response carries only a confirmation message, so refetch the function path to read its new values.
# Create many variables
Source: https://www.voiceflow.com/docs/api-reference/function-variable/create-many-variables
/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-variable/batch
Adds several function variables to its function in one request, each taking the fields the single-create call takes. The response carries the created function variables in the same shape the list call returns.
# Create variable
Source: https://www.voiceflow.com/docs/api-reference/function-variable/create-variable
/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-variable
Adds a function variable to its function, an input or output a function declares. The response carries the ID that later calls address it by.
# Delete variable
Source: https://www.voiceflow.com/docs/api-reference/function-variable/delete-variable
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function-variable/{variableID}
Deletes a single function variable by ID. A function variable is an input or output a function declares. The response carries only a confirmation message, so refetch the function variables to see what is left.
# Get variable
Source: https://www.voiceflow.com/docs/api-reference/function-variable/get-variable
/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-variable/{variableID}
Returns a single function variable by ID, with the fields that define it. A function variable is an input or output a function declares.
# List variables
Source: https://www.voiceflow.com/docs/api-reference/function-variable/list-variables
/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-variable
Returns every function variable in its function. A function variable is an input or output a function declares. The call takes no paging parameters, so one request yields the whole set.
# Update variable
Source: https://www.voiceflow.com/docs/api-reference/function-variable/update-variable
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function-variable/{variableID}
Changes an existing function variable in place. The response carries only a confirmation message, so refetch the function variable to read its new values.
# Check function
Source: https://www.voiceflow.com/docs/api-reference/function/check-function
/specs-prettified/realtime/openapi.stable.json post /v1/stable/function/{functionID}/check
Run a function's saved code on test cases and compare the results.
# Create function
Source: https://www.voiceflow.com/docs/api-reference/function/create-function
/specs-prettified/realtime/openapi.stable.json post /v1/stable/function
Adds a function to the environment, custom JavaScript that runs in Voiceflow’s sandbox and returns through a named path. The response carries the ID that later calls address it by.
# Create many functions
Source: https://www.voiceflow.com/docs/api-reference/function/create-many-functions
/specs-prettified/realtime/openapi.stable.json post /v1/stable/function/batch
Adds several functions to the environment in one request, each taking the fields the single-create call takes. The response carries the created functions in the same shape the list call returns.
# Delete function
Source: https://www.voiceflow.com/docs/api-reference/function/delete-function
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function/{functionID}
Deletes a single function by ID. A function is custom JavaScript that runs in Voiceflow’s sandbox and returns through a named path. The response carries only a confirmation message, so refetch the functions to see what is left.
# Execute function
Source: https://www.voiceflow.com/docs/api-reference/function/execute-function
/specs-prettified/realtime/openapi.stable.json post /v1/stable/function/{functionID}/execute
Runs the saved draft of a function once with the inputs in the body, without compiling the agent or starting a conversation. The run stops at the function's timeout or 18 seconds, whichever is shorter, and nothing is saved.
# Get function
Source: https://www.voiceflow.com/docs/api-reference/function/get-function
/specs-prettified/realtime/openapi.stable.json get /v1/stable/function/{functionID}
Returns a single function by ID, with the fields that define it. A function is custom JavaScript that runs in Voiceflow’s sandbox and returns through a named path.
# Get function schema
Source: https://www.voiceflow.com/docs/api-reference/function/get-function-schema
/specs-prettified/realtime/openapi.stable.json get /v1/stable/function/{functionID}/schema
Returns what a function takes and gives back: its input variables, its output variables, and its exit paths, read from the environment's draft. Call it before executing to learn the input names.
# List functions
Source: https://www.voiceflow.com/docs/api-reference/function/list-functions
/specs-prettified/realtime/openapi.stable.json get /v1/stable/function
Returns every function in the environment. A function is custom JavaScript that runs in Voiceflow’s sandbox and returns through a named path. The call takes no paging parameters, so one request yields the whole set.
# Update function
Source: https://www.voiceflow.com/docs/api-reference/function/update-function
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function/{functionID}
Changes an existing function in place. The response carries only a confirmation message, so refetch the function to read its new values.
# Add integration tool
Source: https://www.voiceflow.com/docs/api-reference/integration/add-integration-tool
/specs-prettified/realtime/openapi.stable.json post /v1/stable/integration/{integration}/tool
Adds one of an integration's catalog tools to the environment's draft and returns the `integrationToolID` that the tool create operation attaches. Adding a tool connects nothing, so the integration still has to be connected before the tool can run.
# Connect integration
Source: https://www.voiceflow.com/docs/api-reference/integration/connect-integration
/specs-prettified/realtime/openapi.stable.json post /v1/stable/integration/{integration}
Stores the credentials for one `api-key` integration on the project, in the shape that integration expects; `oauth` and `app` integrations connect through the Voiceflow UI instead. The response carries only a confirmation message, so refetch the integration list to see the connection.
# Disconnect integration
Source: https://www.voiceflow.com/docs/api-reference/integration/disconnect-integration
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/integration/{integration}
Clears the stored credentials for one integration on the project, every slot it owns. The response carries only a confirmation message, so refetch the integration list to see it disconnected.
# Execute integration tool
Source: https://www.voiceflow.com/docs/api-reference/integration/execute-integration-tool
/specs-prettified/realtime/openapi.stable.json post /v1/stable/integration/{integration}/execute
Runs one tool from an integration once, using the project's stored connection and without starting a conversation. The tool acts on the real connected account, so a tool that writes to an external system changes that system.
# Get integration tool schemas
Source: https://www.voiceflow.com/docs/api-reference/integration/get-integration-tool-schemas
/specs-prettified/realtime/openapi.stable.json get /v1/stable/integration/{integration}/schema
Returns the tools one integration offers, each with its inputs and the ID it has in this environment once it has been added. Use it to find the `toolName` that execute and add-tool take.
# List integrations
Source: https://www.voiceflow.com/docs/api-reference/integration/list-integrations
/specs-prettified/realtime/openapi.stable.json get /v1/stable/integration
Returns the integrations a project can use and whether each is connected. `connectionType` says how credentials arrive: `api-key` ones connect through this API, `oauth` and `app` ones only through the Voiceflow UI. The call is unpaginated: it takes no paging parameters, so one request yields the whole set.
# Query knowledge base
Source: https://www.voiceflow.com/docs/api-reference/knowledge-base/query-knowledge-base
/specs-prettified/realtime/openapi.stable.json post /v1/stable/knowledge-base/query
Searches the knowledge base and returns the passages a retrieval would surface, which is how to see what an agent will be grounded on before it answers.
# Create MCP server
Source: https://www.voiceflow.com/docs/api-reference/mcp-server/create-mcp-server
/specs-prettified/realtime/openapi.stable.json post /v2/stable/mcp-server
Adds an MCP server to the environment, a registered Model Context Protocol server whose tools an agent can call. The URL and header values are plain strings that can reference a project secret as {secret_name}, and the response carries the ID that later calls address it by.
# Delete MCP server
Source: https://www.voiceflow.com/docs/api-reference/mcp-server/delete-mcp-server
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/mcp-server/{serverID}
Deletes a single MCP server by ID. A MCP server is a registered Model Context Protocol server whose tools an agent can call. The response carries only a confirmation message, so refetch the MCP servers to see what is left.
# Get MCP server
Source: https://www.voiceflow.com/docs/api-reference/mcp-server/get-mcp-server
/specs-prettified/realtime/openapi.stable.json get /v2/stable/mcp-server/{serverID}
Returns a single MCP server by ID, with the fields that define it. An MCP server is a registered Model Context Protocol server whose tools an agent can call; its header values read back as [redacted].
# List MCP servers
Source: https://www.voiceflow.com/docs/api-reference/mcp-server/list-mcp-servers
/specs-prettified/realtime/openapi.stable.json get /v2/stable/mcp-server
Returns every MCP server in the environment. An MCP server is a registered Model Context Protocol server whose tools an agent can call; header values read back as [redacted]. The call takes no paging parameters, so one request yields the whole set.
# Sync MCP server
Source: https://www.voiceflow.com/docs/api-reference/mcp-server/sync-mcp-server
/specs-prettified/realtime/openapi.stable.json put /v1/stable/mcp-server/{serverID}/sync
Refreshes the stored list of tools an MCP server advertises, which is how MCP tools come to exist rather than being created by hand.
# Update MCP server
Source: https://www.voiceflow.com/docs/api-reference/mcp-server/update-mcp-server
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/mcp-server/{serverID}
Changes an existing MCP server in place, taking URL and header values as plain strings that can reference a project secret as {secret_name}. The response lists any references that did not resolve; read the server again to see its new values.
# Execute MCP tool
Source: https://www.voiceflow.com/docs/api-reference/mcp-tool/execute-mcp-tool
/specs-prettified/realtime/openapi.stable.json post /v1/stable/mcp-tool/{toolID}/execute
Calls one MCP tool on its server with the arguments in the body, using the server's saved URL, headers, and authorization. No conversation is involved.
# Get MCP tool
Source: https://www.voiceflow.com/docs/api-reference/mcp-tool/get-mcp-tool
/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-tool/{toolID}
Returns a single MCP tool by ID, with the fields that define it. A MCP tool is a tool an MCP server advertises, populated by syncing the server rather than by hand.
# Get MCP tool schema
Source: https://www.voiceflow.com/docs/api-reference/mcp-tool/get-mcp-tool-schema
/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-tool/{toolID}/schema
Returns the arguments an MCP tool takes, both as a flat list of its top-level arguments and as its full JSON Schema. Call it before executing so the arguments match the tool's types.
# List MCP tools
Source: https://www.voiceflow.com/docs/api-reference/mcp-tool/list-mcp-tools
/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-tool
Returns every MCP tool in its server. A MCP tool is a tool an MCP server advertises, populated by syncing the server rather than by hand. The call takes no paging parameters, so one request yields the whole set.
# Add message variant
Source: https://www.voiceflow.com/docs/api-reference/message/add-message-variant
/specs-prettified/realtime/openapi.stable.json post /v1/stable/message/{messageID}/variant
Adds another alternative text to an existing message, placed after the variants it already has. The runtime says one variant of a message, not all of them in turn.
# Create many messages
Source: https://www.voiceflow.com/docs/api-reference/message/create-many-messages
/specs-prettified/realtime/openapi.stable.json post /v1/stable/message/batch
Creates several messages in one call, each with its own variants. None of them belongs to anything until a tool slot, workflow step, or reprompt holds its ID.
# Create message
Source: https://www.voiceflow.com/docs/api-reference/message/create-message
/specs-prettified/realtime/openapi.stable.json post /v1/stable/message
Creates a message, which is a set of variants that say the same thing in different words, and returns it with its ID. The message belongs to nothing until a tool slot, workflow step, or reprompt holds its ID.
# Delete message
Source: https://www.voiceflow.com/docs/api-reference/message/delete-message
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/message/{messageID}
Deletes a message and its variants. The call does not check which tool slot, step or reprompt holds the ID, so clear those owners first. The response carries only a confirmation message, so refetch the messages to see what is left.
# Delete message variant
Source: https://www.voiceflow.com/docs/api-reference/message/delete-message-variant
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/message/{messageID}/variant/{variantID}
Removes one variant from a message; a message needs at least one, so delete the message to drop the last. The response is a confirmation message, so refetch the message to see its variants.
# Get many messages
Source: https://www.voiceflow.com/docs/api-reference/message/get-many-messages
/specs-prettified/realtime/openapi.stable.json post /v1/stable/message/get-many
Reads several messages by ID in one call. An ID that matches no message in the environment is reported instead of failing the request.
# Get message
Source: https://www.voiceflow.com/docs/api-reference/message/get-message
/specs-prettified/realtime/openapi.stable.json get /v1/stable/message/{messageID}
Returns one message with all of its variants. A message is a set of alternative texts for one slot, and the runtime says one of them.
# Reorder message variants
Source: https://www.voiceflow.com/docs/api-reference/message/reorder-message-variants
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/message/{messageID}
Changes the sequence of a message's variants without touching their text. The request must name every variant ID of the message exactly once.
# Update message variant
Source: https://www.voiceflow.com/docs/api-reference/message/update-message-variant
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/message/{messageID}/variant/{variantID}
Edits one variant of a message in place, so the message keeps its ID and its owner. Send only the text, delay, or condition you want to change; `condition: null` removes the condition.
# Create persona
Source: https://www.voiceflow.com/docs/api-reference/persona/create-persona
/specs-prettified/realtime/openapi.stable.json post /v1/stable/persona
Create a new persona.
# Delete persona
Source: https://www.voiceflow.com/docs/api-reference/persona/delete-persona
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/persona/{personaID}
Delete a persona by ID.
# Get persona
Source: https://www.voiceflow.com/docs/api-reference/persona/get-persona
/specs-prettified/realtime/openapi.stable.json get /v1/stable/persona/{personaID}
Get a persona by ID.
# List personas
Source: https://www.voiceflow.com/docs/api-reference/persona/list-personas
/specs-prettified/realtime/openapi.stable.json get /v1/stable/persona
List all personas by project ID.
# Update persona
Source: https://www.voiceflow.com/docs/api-reference/persona/update-persona
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/persona/{personaID}
Update a persona by ID.
# Assign phone number
Source: https://www.voiceflow.com/docs/api-reference/phone-number/assign-phone-number
/specs-prettified/realtime/openapi.stable.json put /v1/stable/phone-number/{phoneNumberID}/assign
Points the voice side or the SMS side of a phone number at a project, optionally pinning an environment and a version. Only the side named by `target` changes, so moving a number that uses both sides takes one call per side.
# Create phone number
Source: https://www.voiceflow.com/docs/api-reference/phone-number/create-phone-number
/specs-prettified/realtime/openapi.stable.json post /v1/stable/phone-number
Adds a phone number to a workspace, either by buying one through Voiceflow or by connecting a number you already own with its provider credentials. A new number is assigned to nothing and answers nothing until you assign it.
# Delete phone number
Source: https://www.voiceflow.com/docs/api-reference/phone-number/delete-phone-number
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/phone-number/{phoneNumberID}
Removes a phone number from the workspace, so it stops answering calls and messages; unassign it instead to keep the number. The response carries only a confirmation message, so refetch the phone numbers to see what is left.
# Get phone number
Source: https://www.voiceflow.com/docs/api-reference/phone-number/get-phone-number
/specs-prettified/realtime/openapi.stable.json get /v1/stable/phone-number/{phoneNumberID}
Returns one phone number with its provider and the targets each side answers as. The `phoneNumberID` is the ID Voiceflow gives the number, not the number itself.
# List phone numbers
Source: https://www.voiceflow.com/docs/api-reference/phone-number/list-phone-numbers
/specs-prettified/realtime/openapi.stable.json get /v1/stable/phone-number
Returns every phone number of one workspace in one response, or only those assigned to one project, each with the `voice` and `sms` targets it answers as.
# Unassign phone number
Source: https://www.voiceflow.com/docs/api-reference/phone-number/unassign-phone-number
/specs-prettified/realtime/openapi.stable.json put /v1/stable/phone-number/{phoneNumberID}/unassign
Clears the assignment of a phone number so it stops reaching an agent, while the number stays on the workspace. Naming a `target` clears that side, and leaving it out clears both.
# Update phone number
Source: https://www.voiceflow.com/docs/api-reference/phone-number/update-phone-number
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/phone-number/{phoneNumberID}
Renames a phone number. The name is a label shown in the workspace; it does not change the number, its provider, or where it routes.
# Create exit path
Source: https://www.voiceflow.com/docs/api-reference/playbook-path/create-exit-path
/specs-prettified/realtime/openapi.stable.json post /v1/stable/playbook-path
Adds an exit path to a playbook; the model leaves the playbook through it when the path's description holds. Exit paths take effect when the playbook runs from a Playbook or Operator step in a workflow, where the new path appears as a port with no link.
# Delete exit path
Source: https://www.voiceflow.com/docs/api-reference/playbook-path/delete-exit-path
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/playbook-path/{pathID}
Deletes one exit path from a playbook, together with its required variables. The response carries only a confirmation message, so refetch the playbook's paths to see what is left.
# List exit paths
Source: https://www.voiceflow.com/docs/api-reference/playbook-path/list-exit-paths
/specs-prettified/realtime/openapi.stable.json get /v1/stable/playbook-path
Returns every exit path of one playbook in one response. An exit path is a named way out of a playbook that the model takes when its exit condition holds, and workflows use its ID to link the path's port.
# Update exit path
Source: https://www.voiceflow.com/docs/api-reference/playbook-path/update-exit-path
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/playbook-path/{pathID}
Changes the name, the exit condition, or both on an exit path. Workflow ports follow the path by ID, so links made on it stay in place.
# Add playbook tool message
Source: https://www.voiceflow.com/docs/api-reference/playbook/add-playbook-tool-message
/specs-prettified/realtime/openapi.stable.json post /v1/stable/playbook/{playbookID}/tool-message
Gives one of the playbook's tools a message in a slot that has none yet, either generative (examples the model writes from) or scripted (an existing response said verbatim). Address a built-in tool with `nativeTool` or an attached tool with `toolID`, and compile the environment afterward.
# Create many playbooks
Source: https://www.voiceflow.com/docs/api-reference/playbook/create-many-playbooks
/specs-prettified/realtime/openapi.stable.json post /v2/stable/playbook/batch
Adds several playbooks to the environment in one request, each taking the fields the single-create call takes. The response carries the created playbooks in the same shape the list call returns.
# Create playbook
Source: https://www.voiceflow.com/docs/api-reference/playbook/create-playbook
/specs-prettified/realtime/openapi.stable.json post /v2/stable/playbook
Adds a playbook to the environment, a set of instructions that drives an agent toward a goal, calling tools as it needs them. The instructions are sent as a plain Markdown string, and the response carries the ID that later calls address the playbook by.
# Delete playbook
Source: https://www.voiceflow.com/docs/api-reference/playbook/delete-playbook
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/playbook/{playbookID}
Deletes a single playbook by ID. A playbook is a set of instructions that drives an agent toward a goal, calling tools as it needs them. The response carries only a confirmation message, so refetch the playbooks to see what is left.
# Delete playbook tool message
Source: https://www.voiceflow.com/docs/api-reference/playbook/delete-playbook-tool-message
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/playbook/{playbookID}/tool-message
Clears one message slot on one of the playbook's tools, discarding its examples and unlinking its scripted response. The response carries only a confirmation message, so refetch the playbook's tool to see its remaining messages.
# Duplicate playbook
Source: https://www.voiceflow.com/docs/api-reference/playbook/duplicate-playbook
/specs-prettified/realtime/openapi.stable.json post /v1/stable/playbook/{playbookID}/duplicate
Copy a playbook with its exit paths, messages and every tool but a workflow tool.
# Get playbook
Source: https://www.voiceflow.com/docs/api-reference/playbook/get-playbook
/specs-prettified/realtime/openapi.stable.json get /v2/stable/playbook/{playbookID}
Returns a single playbook by ID, with the fields that define it. A playbook is a set of instructions that drives an agent toward a goal, calling tools as it needs them, and its instructions come back as a plain Markdown string.
# List playbooks
Source: https://www.voiceflow.com/docs/api-reference/playbook/list-playbooks
/specs-prettified/realtime/openapi.stable.json get /v2/stable/playbook
Returns every playbook in the environment. A playbook is a set of instructions that drives an agent toward a goal, calling tools as it needs them. The call takes no paging parameters, so one request yields the whole set, with each playbook's instructions as a plain Markdown string.
# Patch playbook instructions
Source: https://www.voiceflow.com/docs/api-reference/playbook/patch-playbook-instructions
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/playbook/{playbookID}/instructions
Replaces one exact string in a playbook's instructions with another, matching literally on whitespace, punctuation and case. Quote `oldString` from a read or search result; with `replaceAll` off, more than one match is an error rather than a guess.
# Read playbook instructions
Source: https://www.voiceflow.com/docs/api-reference/playbook/read-playbook-instructions
/specs-prettified/realtime/openapi.stable.json get /v2/stable/playbook/{playbookID}/instructions
Returns one page of a playbook's instructions, each line prefixed with its 1-based number, so a later patch can quote text exactly as it appears. `offset` and `limit` pick the page; the totals in the response cover the whole document.
# Search playbook instructions
Source: https://www.voiceflow.com/docs/api-reference/playbook/search-playbook-instructions
/specs-prettified/realtime/openapi.stable.json post /v2/stable/playbook/{playbookID}/instructions/search
Searches a playbook's instructions line by line with a JavaScript regular expression and returns one page of matching lines with surrounding context, up to `limit`; the match totals count the whole document.
# Update playbook
Source: https://www.voiceflow.com/docs/api-reference/playbook/update-playbook
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/playbook/{playbookID}
Changes an existing playbook in place, with its instructions sent as a plain Markdown string. The response lists any references or mentions that did not resolve; read the playbook again to see its new values.
# Update playbook tool message
Source: https://www.voiceflow.com/docs/api-reference/playbook/update-playbook-tool-message
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/playbook/{playbookID}/tool-message
Replaces the message in a slot that already has one, with the full set of examples or the response to say instead. Switching between generative and scripted keeps the stored text of the form you switched away from, switched off.
# Create project
Source: https://www.voiceflow.com/docs/api-reference/project/create-project
/specs-prettified/realtime/openapi.stable.json post /v1/stable/project
Adds a project to the workspace, the container that owns exactly one agent. The response carries the ID that later calls address it by.
# Delete project
Source: https://www.voiceflow.com/docs/api-reference/project/delete-project
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/project/{projectID}
Deletes a single project by ID. A project is the container that owns exactly one agent. The response carries only a confirmation message, so refetch the projects to see what is left.
# Get project
Source: https://www.voiceflow.com/docs/api-reference/project/get-project
/specs-prettified/realtime/openapi.stable.json get /v1/stable/project/{projectID}
Returns a single project by ID, with the fields that define it. A project is the container that owns exactly one agent.
# List projects
Source: https://www.voiceflow.com/docs/api-reference/project/list-projects
/specs-prettified/realtime/openapi.stable.json get /v1/stable/project
Returns every project in the workspace. A project is the container that owns exactly one agent. The call takes no paging parameters, so one request yields the whole set.
# Update project
Source: https://www.voiceflow.com/docs/api-reference/project/update-project
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/project/{projectID}
Changes an existing project in place. The response carries only a confirmation message, so refetch the project to read its new values.
# Create prompt
Source: https://www.voiceflow.com/docs/api-reference/prompt/create-prompt
/specs-prettified/realtime/openapi.stable.json post /v1/stable/prompt
Creates a prompt, which is a system message plus optional model settings that a workflow step in prompt mode sends to the model. The prompt belongs to nothing until a step holds its ID.
# Delete prompt
Source: https://www.voiceflow.com/docs/api-reference/prompt/delete-prompt
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/prompt/{promptID}
Deletes a prompt and the messages it holds. The call does not check which workflow step or condition holds the ID, so confirm nothing uses it first. The response carries only a confirmation message, so refetch the prompts to see what is left.
# Get many prompts
Source: https://www.voiceflow.com/docs/api-reference/prompt/get-many-prompts
/specs-prettified/realtime/openapi.stable.json post /v1/stable/prompt/get-many
Reads several prompts by ID in one call. An ID that matches no prompt in the environment is reported instead of failing the request.
# Get prompt
Source: https://www.voiceflow.com/docs/api-reference/prompt/get-prompt
/specs-prettified/realtime/openapi.stable.json get /v1/stable/prompt/{promptID}
Returns one prompt by ID. A prompt is the system text and model settings a workflow step in prompt mode sends to the model.
# Update prompt
Source: https://www.voiceflow.com/docs/api-reference/prompt/update-prompt
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/prompt/{promptID}
Changes a prompt's name, its system text, or its whole settings object, and edits it in place so the step that uses it keeps pointing at the same ID. The `settings` value you send replaces the stored one, and an empty object returns it to the project defaults.
# Update prompt settings
Source: https://www.voiceflow.com/docs/api-reference/prompt/update-prompt-settings
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/prompt/{promptID}/settings
Changes individual model settings of a prompt, such as the model or the temperature, without resending the whole settings object. A key set to null is rejected, so clearing a key goes through the prompt update call.
# Your first API request
Source: https://www.voiceflow.com/docs/api-reference/quickstart
Run a real conversation turn against your agent in three curl calls: start a session, launch the conversation, and send a message.
Running a conversation over the API takes two calls: launch the agent, then
send what the user said. A conversation is identified by the `userID` in the
path, so there is no session to create and nothing to thread between calls.
## The recipe
```bash main.sh
#!/usr/bin/env bash
# Recipe: first-conversation-turn
#
# Runs a real conversation against a Voiceflow agent over the REST API: launch
# it, then send a user message, reading the traces returned at each step.
#
# Required environment:
# VF_PAT personal access token (Settings -> Access tokens), vfp_..._...
# VF_PROJECT_ID the project ID (Settings -> General -> Metadata)
set -euo pipefail
: "${VF_PAT:?set VF_PAT to a personal access token from Settings -> Access tokens}"
: "${VF_PROJECT_ID:?set VF_PROJECT_ID to the project ID}"
BASE="https://realtime-api.voiceflow.com/v1/stable"
ENVIRONMENT="${VF_ENVIRONMENT:-main}"
# A conversation is identified by the userID in the path. There is no separate
# session to create: the first call starts one, and later calls with the same
# userID continue it.
USER_ID="cookbook-$(date +%s)"
# The runtime can emit raw control characters inside trace payload strings,
# which strict JSON parsers reject. Strip them before jq.
json() { tr -d '\000-\037'; }
# The runner keys on this prefix to tell a product change (exit 20) from a
# broken script (exit 30). Always route step failures through it.
fail() { echo "FAIL at $1" >&2; exit 1; }
send() {
curl -sf -X PUT "$BASE/conversation/$USER_ID?projectID=$VF_PROJECT_ID&environmentAlias=$ENVIRONMENT" \
-H "Authorization: Bearer $VF_PAT" \
-H "Content-Type: application/json" \
-d "$1"
}
# 1. Launch the conversation. `version` selects the draft or the published
# build of the environment, so the same call can exercise either.
LAUNCH=$(send '{ "action": { "type": "launch" }, "version": "published" }') \
|| fail "launch the conversation (a 401 here means the token is wrong or expired; a 400 saying 'invalid environment tag' means the environmentAlias does not exist on this project)"
printf '%s' "$LAUNCH" | json | jq -e '.traces | length > 0' > /dev/null \
|| fail "launch returned no traces"
# 2. Send a user message to the SAME userID. The agent picks up where the
# launch left off - nothing needs to be threaded through by hand.
REPLY=$(send '{ "action": { "type": "text", "payload": "What can you help me with?" }, "version": "published" }') \
|| fail "send a user message"
printf '%s' "$REPLY" | json | jq -e '.traces | length > 0' > /dev/null \
|| fail "reply returned no traces"
# 3. The agent's words arrive as `text` traces. Assert one came back, so the
# recipe proves a real answer rather than just a 200.
printf '%s' "$REPLY" | json | jq -e '[.traces[] | select(.type == "text")] | length > 0' > /dev/null \
|| fail "reply contained no text trace (a voice agent answers with speak instead)"
echo "ok: launch returned $(printf '%s' "$LAUNCH" | json | jq '.traces | length') trace(s), reply returned $(printf '%s' "$REPLY" | json | jq '.traces | length') trace(s), types: $(printf '%s' "$REPLY" | json | jq -c '[.traces[].type] | unique')"
```
## How it works
- The `userID` in the path IS the conversation. Call the same path again and
the agent picks up where it left off; call it with a new `userID` and you get
a fresh conversation.
- `action` is what the user did. `launch` starts the agent from its entry
point, `text` sends something they typed. The full set is in the
[trace reference](/docs/api-reference/trace-types).
- `version` chooses which build answers: `published` runs the live version of
the environment, `draft` runs what you are currently editing. A project that
has never been published has no published build yet, so use `draft` until
the first publish.
- The response is an array of [traces](/docs/api-reference/trace-types) describing
what the agent did. `text` carries the words a chat agent said; a voice agent
answers with `speak` instead.
- `environmentAlias` names the environment to run. New projects start with
`main`.
## When it fails
| Symptom | Cause | Fix |
| --- | --- | --- |
| `401` | The token is missing, wrong, or expired | Personal access tokens expire, up to a maximum of a year. Create a new one under **Settings** → **Access tokens** |
| `400 invalid environment tag` | The `environmentAlias` does not exist on this project | List the real ones with `GET /v1/stable/environment?projectID=...`. New projects use `main`, not `production` |
| Launch fails or returns nothing on a brand new project | The environment has never been published, so there is no published build to run | Send `"version": "draft"`, which runs what you are editing and works on a fresh project |
| `jq` reports invalid JSON | The runtime emits raw control characters inside trace payload strings | Strip them before parsing, as this recipe does with `tr -d '\000-\037'` |
| Traces come back but none is `text` | The agent replied with audio | A voice agent answers with `speak`; assert on that instead |
# Create secret
Source: https://www.voiceflow.com/docs/api-reference/secret/create-secret
/specs-prettified/realtime/openapi.stable.json post /v2/stable/secret
Creates a project secret, optionally with a value written to the `main` environment's published version and never read back. Names take letters, digits and underscores, because a `{secret_name}` token binds by name. Omit the value to leave a placeholder; MCP clients must.
# Delete secret
Source: https://www.voiceflow.com/docs/api-reference/secret/delete-secret
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/secret/{secretID}
Deletes a secret by ID, taking every value stored for it, on every version of every environment, with it. The response carries only a confirmation message, so refetch the secret list to see what is left.
# List secret overrides
Source: https://www.voiceflow.com/docs/api-reference/secret/list-secret-overrides
/specs-prettified/realtime/openapi.stable.json get /v1/stable/secret/override
Returns which environment versions hold a value of their own for each secret, as secret IDs grouped by environment alias and `draft` or `published` variant; values are never included. The call is unpaginated: it takes no paging parameters, so one request yields the whole set.
# List secrets
Source: https://www.voiceflow.com/docs/api-reference/secret/list-secrets
/specs-prettified/realtime/openapi.stable.json get /v2/stable/secret
Returns every secret on the project in one response, with its name, visibility and whether a value is stored, never the value. A tool field binds a secret by name in a `{secret_name}` token.
# Set secret value
Source: https://www.voiceflow.com/docs/api-reference/secret/set-secret-value
/specs-prettified/realtime/openapi.stable.json put /v1/stable/secret/{secretID}/value
Sets a secret's value on one environment version. Without `environmentAlias` it writes `main`'s published version, or its draft when `versionVariant` is `draft`; with it, `versionVariant` names the version. The value is never read back; MCP clients cannot call this.
# Analytics overview
Source: https://www.voiceflow.com/docs/api-reference/sections/analytics
Query usage and cost: tokens, calls, conversations and unique users, plus the spend attributed to individual functions, playbooks and tools.
Every conversation an agent handles spends tokens, costs money, and exercises
some subset of its playbooks, functions and tools. Analytics turns that into
numbers you can query: scoped to an organization, a workspace or a single
project, and broken down by the component that caused the spend.
## Endpoints
### Analytics query
| Endpoint | Description |
| --- | --- |
| POST [Query call count](/docs/api-reference/analytics/query-call-count) | Query call count for a project. |
| POST [Query call duration](/docs/api-reference/analytics/query-call-duration) | Query real call duration (talk time) for a project. |
| POST [Query workspace transcript count](/docs/api-reference/analytics/query-workspace-transcript-count) | Query transcript count for a workspace. |
| POST [Query project transcript count](/docs/api-reference/analytics/query-project-transcript-count) | Query transcript count for a project. |
| POST [Query transcript cost](/docs/api-reference/analytics/query-transcript-cost) | Query per-interval cost and transcript count for a project. |
| POST [Query workspace interaction count](/docs/api-reference/analytics/query-workspace-interaction-count) | Query interaction count for a workspace. |
| POST [Query project interaction count](/docs/api-reference/analytics/query-project-interaction-count) | Query interaction count for a project. |
| POST [Query organization token usage](/docs/api-reference/analytics/query-organization-token-usage) | Query token usage for an organization. |
| POST [Query workspace token usage](/docs/api-reference/analytics/query-workspace-token-usage) | Query token usage for a workspace. |
| POST [Query project token usage](/docs/api-reference/analytics/query-project-token-usage) | Query token usage for a project. |
| POST [Query hourly organization token usage](/docs/api-reference/analytics/query-hourly-organization-token-usage) | Query hourly token usage for an organization with optional workspace/project filters. |
| POST [Query hourly project token usage](/docs/api-reference/analytics/query-hourly-project-token-usage) | Query timezone-aware hourly token usage for a project. |
| POST [Query daily token usage](/docs/api-reference/analytics/query-daily-token-usage) | Daily breakdown of organization token usage grouped by class and category within a date range. |
| POST [Query entity token usage](/docs/api-reference/analytics/query-entity-token-usage) | Token totals grouped per project and per workspace for an organization. |
| POST [Query category token usage](/docs/api-reference/analytics/query-category-token-usage) | Query timezone-aware hourly token usage for a project grouped by usage category. |
| POST [Query playbook usage](/docs/api-reference/analytics/query-playbook-usage) | Query playbook usage for a project. |
| POST [Query workflow usage](/docs/api-reference/analytics/query-workflow-usage) | Query workflow usage for a project. |
| POST [Query prompt usage](/docs/api-reference/analytics/query-prompt-usage) | Query prompt usage for a project. |
| POST [Query intent usage](/docs/api-reference/analytics/query-intent-usage) | Query intent usage for a project. |
| POST [Query function usage](/docs/api-reference/analytics/query-function-usage) | Query function usage for a project. |
| POST [Query API tool usage](/docs/api-reference/analytics/query-api-tool-usage) | Query API tool usage for a project. |
| POST [Query MCP tool usage](/docs/api-reference/analytics/query-mcp-tool-usage) | Query MCP tool usage for a project. |
| POST [Query knowledge base document usage](/docs/api-reference/analytics/query-knowledge-base-document-usage) | Query knowledge base document usage for a project. |
| POST [Query integration usage](/docs/api-reference/analytics/query-integration-usage) | Query integration usage for a project. |
| POST [Query unique user count](/docs/api-reference/analytics/query-unique-user-count) | Query unique users for a project. |
| POST [Query objective metrics](/docs/api-reference/analytics/query-objective-metrics) | Query the metric for the assistant's configured objective over a date range. |
## Every query has a scope
Analytics endpoints end in the level they measure, and the level is part of the
path:
```text
/v1/stable/analytics/query/token-usage/organization/{organizationID}
/v1/stable/analytics/query/token-usage/workspace/{workspaceID}
/v1/stable/analytics/query/token-usage/project/{projectID}
```
Not every metric exists at every level, which is itself informative: interaction
counts are project and workspace, entity token usage is organization only.
## What you can measure
- **Spend** - token usage overall, by hour, by day, by category, and by entity;
plus transcript cost.
- **Volume** - interactions, transcripts, unique users, call count and call
duration.
- **Where it goes** - usage attributed to functions, playbooks, workflows,
intents, prompts, integrations, API tools, MCP tools and knowledge base
documents.
That last group is the one most people skip. It answers which parts of an agent
are actually costing money, rather than what the agent cost in total.
## Sending a query
Each query takes a request body describing the window and grouping you want, so
they are `POST` rather than `GET` despite being reads.
## What analytics does not return
Analytics returns numbers about conversations, never the conversations
themselves. To read what was actually said, use
[Observe](/docs/api-reference/sections/observe).
# Build overview
Source: https://www.voiceflow.com/docs/api-reference/sections/build
Create and manage the pieces an agent is built from: playbooks, functions, tools, API tools, MCP servers, variables and knowledge base documents.
An agent is assembled from parts: a playbook and the tools it can call, a
function with its branches and variables, an API tool, an MCP server, the
project's variables, and the documents its knowledge base retrieves from.
All of them can be created and changed from outside the Studio, which is what
makes generating agents from a template, importing them from another system, or
keeping a set of projects consistent with each other possible.
## Endpoints
### Agent
| Endpoint | Description |
| --- | --- |
| GET [Get agent](/docs/api-reference/agent/get-agent) | Get agent configuration. |
| PATCH [Update agent](/docs/api-reference/agent/update-agent) | Update agent configuration. |
| GET [Read agent instructions](/docs/api-reference/agent/read-agent-instructions) | Read a page of the main agent's routing instructions as numbered lines. |
| PATCH [Patch agent instructions](/docs/api-reference/agent/patch-agent-instructions) | Replace an exact string in the main agent's instructions. |
| POST [Search agent instructions](/docs/api-reference/agent/search-agent-instructions) | Search the main agent's instructions with a regular expression. |
| GET [Read the global prompt](/docs/api-reference/agent/read-the-global-prompt) | Read a page of the global prompt as numbered lines. |
| PATCH [Patch the global prompt](/docs/api-reference/agent/patch-the-global-prompt) | Replace an exact string in the global prompt. |
| POST [Search the global prompt](/docs/api-reference/agent/search-the-global-prompt) | Search the global prompt with a regular expression. |
| GET [Get agent](/docs/api-reference/agent/get-agent) | Get agent configuration. |
| PATCH [Update agent](/docs/api-reference/agent/update-agent) | Update agent configuration. |
| GET [Read agent instructions](/docs/api-reference/agent/read-agent-instructions) | Read a page of the main agent's routing instructions as numbered lines. |
| PATCH [Patch agent instructions](/docs/api-reference/agent/patch-agent-instructions) | Replace an exact string in the main agent's instructions. |
| POST [Search agent instructions](/docs/api-reference/agent/search-agent-instructions) | Search the main agent's instructions with a regular expression. |
| GET [Read the global prompt](/docs/api-reference/agent/read-the-global-prompt) | Read a page of the global prompt as numbered lines. |
| PATCH [Patch the global prompt](/docs/api-reference/agent/patch-the-global-prompt) | Replace an exact string in the global prompt. |
| POST [Search the global prompt](/docs/api-reference/agent/search-the-global-prompt) | Search the global prompt with a regular expression. |
| POST [Add agent tool message](/docs/api-reference/agent/add-agent-tool-message) | Set a message on one of the agent's tools. |
| PATCH [Update agent tool message](/docs/api-reference/agent/update-agent-tool-message) | Replace a message on one of the agent's tools. |
| DELETE [Delete agent tool message](/docs/api-reference/agent/delete-agent-tool-message) | Remove a message from one of the agent's tools, in whichever form it is stored. |
| PATCH [Patch pronunciation dictionary](/docs/api-reference/agent/patch-pronunciation-dictionary) | Add, change or remove single entries of the agent's pronunciation dictionary. |
| GET [Get initialization workflow](/docs/api-reference/agent/get-initialization-workflow) | Read which workflow runs before the user's first turn. |
| PUT [Set initialization workflow](/docs/api-reference/agent/set-initialization-workflow) | Choose the workflow that runs before the user's first turn, or clear it. |
| GET [Search voices](/docs/api-reference/agent/search-voices) | Search the ElevenLabs and Cartesia voice catalog. |
| PATCH [Patch voices](/docs/api-reference/agent/patch-voices) | Set the agent's default voice, or add, change or remove one language voice, from the voice catalog. |
### Playbook
| Endpoint | Description |
| --- | --- |
| GET [List playbooks](/docs/api-reference/playbook/list-playbooks) | List all playbooks by project ID. |
| POST [Create playbook](/docs/api-reference/playbook/create-playbook) | Create a new playbook. |
| POST [Create many playbooks](/docs/api-reference/playbook/create-many-playbooks) | Create multiple new playbooks. |
| GET [Get playbook](/docs/api-reference/playbook/get-playbook) | Get a playbook by ID. |
| PATCH [Update playbook](/docs/api-reference/playbook/update-playbook) | Update a playbook by ID. |
| DELETE [Delete playbook](/docs/api-reference/playbook/delete-playbook) | Delete a playbook by ID. |
| GET [Read playbook instructions](/docs/api-reference/playbook/read-playbook-instructions) | Read a page of a playbook's instructions as numbered lines. |
| PATCH [Patch playbook instructions](/docs/api-reference/playbook/patch-playbook-instructions) | Replace an exact string in a playbook's instructions. |
| POST [Search playbook instructions](/docs/api-reference/playbook/search-playbook-instructions) | Search a playbook's instructions with a regular expression. |
| GET [List playbooks](/docs/api-reference/playbook/list-playbooks) | List all playbooks by project ID. |
| POST [Create playbook](/docs/api-reference/playbook/create-playbook) | Create a new playbook. |
| POST [Create many playbooks](/docs/api-reference/playbook/create-many-playbooks) | Create multiple new playbooks. |
| GET [Get playbook](/docs/api-reference/playbook/get-playbook) | Get a playbook by ID. |
| PATCH [Update playbook](/docs/api-reference/playbook/update-playbook) | Update a playbook by ID. |
| GET [Read playbook instructions](/docs/api-reference/playbook/read-playbook-instructions) | Read a page of a playbook's instructions as numbered lines. |
| PATCH [Patch playbook instructions](/docs/api-reference/playbook/patch-playbook-instructions) | Replace an exact string in a playbook's instructions. |
| POST [Search playbook instructions](/docs/api-reference/playbook/search-playbook-instructions) | Search a playbook's instructions with a regular expression. |
| POST [Add playbook tool message](/docs/api-reference/playbook/add-playbook-tool-message) | Set a message on one of the playbook's tools. |
| PATCH [Update playbook tool message](/docs/api-reference/playbook/update-playbook-tool-message) | Replace a message on one of the playbook's tools. |
| DELETE [Delete playbook tool message](/docs/api-reference/playbook/delete-playbook-tool-message) | Remove a message from one of the playbook's tools, in whichever form it is stored. |
| POST [Duplicate playbook](/docs/api-reference/playbook/duplicate-playbook) | Copy a playbook with its exit paths, messages and every tool but a workflow tool. |
### Function
| Endpoint | Description |
| --- | --- |
| GET [List functions](/docs/api-reference/function/list-functions) | List all functions by project ID. |
| POST [Create function](/docs/api-reference/function/create-function) | Create a new function. |
| POST [Create many functions](/docs/api-reference/function/create-many-functions) | Create multiple new functions. |
| GET [Get function](/docs/api-reference/function/get-function) | Get a function by ID. |
| PATCH [Update function](/docs/api-reference/function/update-function) | Update a function by ID. |
| DELETE [Delete function](/docs/api-reference/function/delete-function) | Delete a function by ID. |
| GET [Get function schema](/docs/api-reference/function/get-function-schema) | List the inputs, output variables and exit paths of a function, as execute takes and returns them. |
| POST [Execute function](/docs/api-reference/function/execute-function) | Run a function once with the given inputs, without a conversation. |
| POST [Check function](/docs/api-reference/function/check-function) | Run a function's saved code on test cases and compare the results. |
### Function path
| Endpoint | Description |
| --- | --- |
| GET [List paths](/docs/api-reference/function-path/list-paths) | List all paths by function ID. |
| POST [Create path](/docs/api-reference/function-path/create-path) | Create a new path. |
| POST [Create many paths](/docs/api-reference/function-path/create-many-paths) | Create multiple new paths. |
| GET [Get path](/docs/api-reference/function-path/get-path) | Get a path by ID. |
| PATCH [Update path](/docs/api-reference/function-path/update-path) | Update a path by ID. |
| DELETE [Delete path](/docs/api-reference/function-path/delete-path) | Delete a path by ID. |
### Function variable
| Endpoint | Description |
| --- | --- |
| GET [List variables](/docs/api-reference/function-variable/list-variables) | List all variables by function ID. |
| POST [Create variable](/docs/api-reference/function-variable/create-variable) | Create a new variable. |
| POST [Create many variables](/docs/api-reference/function-variable/create-many-variables) | Create multiple new variables. |
| GET [Get variable](/docs/api-reference/function-variable/get-variable) | Get a variable by ID. |
| PATCH [Update variable](/docs/api-reference/function-variable/update-variable) | Update a variable by ID. |
| DELETE [Delete variable](/docs/api-reference/function-variable/delete-variable) | Delete a variable by ID. |
### Tool
| Endpoint | Description |
| --- | --- |
| GET [List tools](/docs/api-reference/tool/list-tools) | List all tools for the agent or a specific playbook. |
| POST [Create tool](/docs/api-reference/tool/create-tool) | Create a new tool. |
| POST [Create many tools](/docs/api-reference/tool/create-many-tools) | Create multiple new tools. |
| GET [Get tool](/docs/api-reference/tool/get-tool) | Get a tool by ID. |
| PATCH [Update tool](/docs/api-reference/tool/update-tool) | Update a tool by ID. |
| DELETE [Delete tool](/docs/api-reference/tool/delete-tool) | Delete a tool by ID. |
| POST [Move tool](/docs/api-reference/tool/move-tool) | Move a tool attachment to the agent or to a playbook. |
| GET [List tools](/docs/api-reference/tool/list-tools) | List all tools for the agent or a specific playbook, including workflow tools. |
| POST [Create tool](/docs/api-reference/tool/create-tool) | Create a new tool, or give the agent a workflow tool. |
| POST [Create many tools](/docs/api-reference/tool/create-many-tools) | Create multiple new tools. |
| GET [Get tool](/docs/api-reference/tool/get-tool) | Get a tool by ID, including a workflow tool. |
| PATCH [Update tool](/docs/api-reference/tool/update-tool) | Update a tool by ID. |
| DELETE [Delete tool](/docs/api-reference/tool/delete-tool) | Delete a tool by ID, including a workflow tool. |
### API tool
| Endpoint | Description |
| --- | --- |
| GET [List API tools](/docs/api-reference/api-tool/list-api-tools) | List all API tools by project ID. |
| POST [Create API tool](/docs/api-reference/api-tool/create-api-tool) | Create a new API tool. |
| POST [Create many API tools](/docs/api-reference/api-tool/create-many-api-tools) | Create multiple new API tools. |
| GET [Get API tool](/docs/api-reference/api-tool/get-api-tool) | Get an API tool by ID. |
| PATCH [Update API tool](/docs/api-reference/api-tool/update-api-tool) | Update an API tool by ID. |
| DELETE [Delete API tool](/docs/api-reference/api-tool/delete-api-tool) | Delete an API tool by ID. |
| GET [List API tools](/docs/api-reference/api-tool/list-api-tools) | List all API tools by project ID. |
| POST [Create API tool](/docs/api-reference/api-tool/create-api-tool) | Create a new API tool. |
| POST [Create many API tools](/docs/api-reference/api-tool/create-many-api-tools) | Create multiple new API tools. |
| GET [Get API tool](/docs/api-reference/api-tool/get-api-tool) | Get an API tool by ID. |
| PATCH [Update API tool](/docs/api-reference/api-tool/update-api-tool) | Update an API tool by ID. |
| GET [Get API tool schema](/docs/api-reference/api-tool/get-api-tool-schema) | List the inputs an API tool takes, as execute takes them. |
| POST [Execute API tool](/docs/api-reference/api-tool/execute-api-tool) | Send the saved request of an API tool once with the given inputs, without a conversation. |
### API tool variable
| Endpoint | Description |
| --- | --- |
| GET [List variables](/docs/api-reference/api-tool-variable/list-variables) | List all variables by API tool ID. |
| POST [Create variable](/docs/api-reference/api-tool-variable/create-variable) | Create a new variable. |
| POST [Create many variables](/docs/api-reference/api-tool-variable/create-many-variables) | Create multiple new variables. |
| GET [Get variable](/docs/api-reference/api-tool-variable/get-variable) | Get a variable by ID. |
| PATCH [Update variable](/docs/api-reference/api-tool-variable/update-variable) | Update a variable by ID. |
| DELETE [Delete variable](/docs/api-reference/api-tool-variable/delete-variable) | Delete a variable by ID. |
| GET [List variables](/docs/api-reference/api-tool-variable/list-variables) | List all variables by API tool ID. |
| POST [Create variable](/docs/api-reference/api-tool-variable/create-variable) | Create a new variable. |
| POST [Create many variables](/docs/api-reference/api-tool-variable/create-many-variables) | Create multiple new variables. |
| GET [Get variable](/docs/api-reference/api-tool-variable/get-variable) | Get a variable by ID. |
| PATCH [Update variable](/docs/api-reference/api-tool-variable/update-variable) | Update a variable by ID. |
### Variable
| Endpoint | Description |
| --- | --- |
| GET [List variables](/docs/api-reference/variable/list-variables) | List all variables by project ID. |
| POST [Create variable](/docs/api-reference/variable/create-variable) | Create a new variable. |
| POST [Create many variables](/docs/api-reference/variable/create-many-variables) | Create multiple new variables. |
| GET [Get variable](/docs/api-reference/variable/get-variable) | Get a variable by ID. |
| PATCH [Update variable](/docs/api-reference/variable/update-variable) | Update a variable by ID. |
| DELETE [Delete variable](/docs/api-reference/variable/delete-variable) | Delete a variable by ID. |
| GET [List variables](/docs/api-reference/variable/list-variables) | List all variables by project ID. |
| POST [Create variable](/docs/api-reference/variable/create-variable) | Create a new variable. |
| POST [Create many variables](/docs/api-reference/variable/create-many-variables) | Create multiple new variables. |
| GET [Get variable](/docs/api-reference/variable/get-variable) | Get a variable by ID. |
| PATCH [Update variable](/docs/api-reference/variable/update-variable) | Update a variable by ID. |
### MCP server
| Endpoint | Description |
| --- | --- |
| GET [List MCP servers](/docs/api-reference/mcp-server/list-mcp-servers) | List all MCP servers by project ID. |
| POST [Create MCP server](/docs/api-reference/mcp-server/create-mcp-server) | Create a new MCP server. |
| GET [Get MCP server](/docs/api-reference/mcp-server/get-mcp-server) | Get an MCP server by ID. |
| PATCH [Update MCP server](/docs/api-reference/mcp-server/update-mcp-server) | Update an MCP server by ID. |
| DELETE [Delete MCP server](/docs/api-reference/mcp-server/delete-mcp-server) | Delete an MCP server by ID. |
| PUT [Sync MCP server](/docs/api-reference/mcp-server/sync-mcp-server) | Sync tool changes for an MCP server by ID. |
| GET [List MCP servers](/docs/api-reference/mcp-server/list-mcp-servers) | List all MCP servers by project ID. |
| POST [Create MCP server](/docs/api-reference/mcp-server/create-mcp-server) | Create a new MCP server. |
| GET [Get MCP server](/docs/api-reference/mcp-server/get-mcp-server) | Get an MCP server by ID. |
| PATCH [Update MCP server](/docs/api-reference/mcp-server/update-mcp-server) | Update an MCP server by ID. |
### MCP tool
| Endpoint | Description |
| --- | --- |
| GET [List MCP tools](/docs/api-reference/mcp-tool/list-mcp-tools) | List all MCP tools by project ID. |
| GET [Get MCP tool](/docs/api-reference/mcp-tool/get-mcp-tool) | Get an MCP tool by ID. |
| GET [Get MCP tool schema](/docs/api-reference/mcp-tool/get-mcp-tool-schema) | List the arguments an MCP tool takes, as a flat list and as its JSON Schema. |
| POST [Execute MCP tool](/docs/api-reference/mcp-tool/execute-mcp-tool) | Call one MCP tool once on its server with the given arguments, without a conversation. |
### Secret
| Endpoint | Description |
| --- | --- |
| GET [List secrets](/docs/api-reference/secret/list-secrets) | List all secrets by project ID. |
| POST [Create secret](/docs/api-reference/secret/create-secret) | Create a new secret. |
| GET [List secret overrides](/docs/api-reference/secret/list-secret-overrides) | List which secrets are overridden per environment version. |
| DELETE [Delete secret](/docs/api-reference/secret/delete-secret) | Delete a secret by ID, along with every value stored for it, on every version of every environment. |
| PUT [Set secret value](/docs/api-reference/secret/set-secret-value) | Set a secret's value on one version of an environment. |
| GET [List secrets](/docs/api-reference/secret/list-secrets) | List all secrets by project ID. |
| POST [Create secret](/docs/api-reference/secret/create-secret) | Create a new secret. |
### Integration
| Endpoint | Description |
| --- | --- |
| GET [List integrations](/docs/api-reference/integration/list-integrations) | List every integration this project can use, along with whether it is currently connected. |
| POST [Connect integration](/docs/api-reference/integration/connect-integration) | Store credentials for an api-key integration on this project. |
| DELETE [Disconnect integration](/docs/api-reference/integration/disconnect-integration) | Clear every stored credential slot this integration owns on the project. |
| GET [Get integration tool schemas](/docs/api-reference/integration/get-integration-tool-schemas) | List the tools an integration offers, their inputs, and whether each is added to this environment. |
| POST [Execute integration tool](/docs/api-reference/integration/execute-integration-tool) | Run one integration tool once with the project's stored connection, without a conversation. |
| POST [Add integration tool](/docs/api-reference/integration/add-integration-tool) | Add one catalog tool of an integration to this environment, so it can be attached. |
### Knowledge base document
| Endpoint | Description |
| --- | --- |
| GET [List documents](/docs/api-reference/document/list-documents) | List all documents by project ID. |
| POST [Create URL document](/docs/api-reference/document/create-url-document) | Create a new document from a URL. |
| POST [Create text document](/docs/api-reference/document/create-text-document) | Create a new document from raw text. |
| POST [Create table document](/docs/api-reference/document/create-table-document) | Create a new document from structured data. |
| GET [Get document](/docs/api-reference/document/get-document) | Get a document by ID. |
| PATCH [Update document](/docs/api-reference/document/update-document) | Update a document by ID. |
| DELETE [Delete document](/docs/api-reference/document/delete-document) | Delete a document by ID. |
| POST [Preview sitemap URLs](/docs/api-reference/document/preview-sitemap-urls) | Read a sitemap and return the URLs an import would create documents for. |
| POST [Create documents from sitemap](/docs/api-reference/document/create-documents-from-sitemap) | Read a sitemap and create one URL document per page it lists. |
| POST [Create managed sitemap](/docs/api-reference/document/create-managed-sitemap) | Create a sitemap document that imports the pages its sitemap lists in the background and keeps them in sync. |
| PATCH [Update managed sitemap](/docs/api-reference/document/update-managed-sitemap) | Update a managed sitemap's URL patterns, refresh rate or smart chunking. |
| PATCH [Update document](/docs/api-reference/document/update-document) | Update a document by ID. |
### Message
| Endpoint | Description |
| --- | --- |
| POST [Get many messages](/docs/api-reference/message/get-many-messages) | Get up to 50 messages by ID. |
| GET [Get message](/docs/api-reference/message/get-message) | Get a message and its variants by ID. |
| DELETE [Delete message](/docs/api-reference/message/delete-message) | Delete a message and all its variants. |
| PATCH [Reorder message variants](/docs/api-reference/message/reorder-message-variants) | Put the variants of a message in a new order. |
| POST [Create message](/docs/api-reference/message/create-message) | Create a message with its variants. |
| POST [Create many messages](/docs/api-reference/message/create-many-messages) | Create up to 50 messages with their variants in one call. |
| POST [Add message variant](/docs/api-reference/message/add-message-variant) | Add a variant as the last variant of a message. |
| PATCH [Update message variant](/docs/api-reference/message/update-message-variant) | Change one variant's text, delay or condition. |
| DELETE [Delete message variant](/docs/api-reference/message/delete-message-variant) | Remove one variant from a message. |
### Prompt
| Endpoint | Description |
| --- | --- |
| POST [Get many prompts](/docs/api-reference/prompt/get-many-prompts) | Get up to 50 prompts by ID. |
| GET [Get prompt](/docs/api-reference/prompt/get-prompt) | Get a prompt with its system text and settings by ID. |
| PATCH [Update prompt](/docs/api-reference/prompt/update-prompt) | Change the name, the system text or the whole settings object of a prompt. |
| DELETE [Delete prompt](/docs/api-reference/prompt/delete-prompt) | Delete a prompt and its messages. |
| POST [Create prompt](/docs/api-reference/prompt/create-prompt) | Create a prompt with one system message. |
| PATCH [Update prompt settings](/docs/api-reference/prompt/update-prompt-settings) | Set some settings keys of a prompt and keep the others. |
### Playbook exit path
| Endpoint | Description |
| --- | --- |
| GET [List exit paths](/docs/api-reference/playbook-path/list-exit-paths) | List a playbook's exit paths, in the playbook's order. |
| POST [Create exit path](/docs/api-reference/playbook-path/create-exit-path) | Add an exit path to a playbook. |
| PATCH [Update exit path](/docs/api-reference/playbook-path/update-exit-path) | Rename an exit path or change its description. |
| DELETE [Delete exit path](/docs/api-reference/playbook-path/delete-exit-path) | Delete an exit path from a playbook. |
### Web widget
| Endpoint | Description |
| --- | --- |
| GET [Get widget](/docs/api-reference/widget/get-widget) | Get the widget configuration stored on the environment's draft version. |
| PATCH [Update widget](/docs/api-reference/widget/update-widget) | Update the widget configuration. |
| GET [Get widget snippet](/docs/api-reference/widget/get-widget-snippet) | Get the JavaScript snippet that embeds the widget on a website, filled in for this project and environment. |
### Workflow
| Endpoint | Description |
| --- | --- |
| GET [List workflows](/docs/api-reference/workflow/list-workflows) | List the workflows of an environment, oldest first, at most 50 per page. |
| POST [Create workflow](/docs/api-reference/workflow/create-workflow) | Create a workflow with its first version: blocks, steps, branches, links and the entry block. |
| GET [Get workflow](/docs/api-reference/workflow/get-workflow) | Get a workflow as blocks of steps, at most 50 blocks per page. |
| PATCH [Update workflow](/docs/api-reference/workflow/update-workflow) | Rename a workflow, change its description, or move it to another folder. |
| DELETE [Delete workflow](/docs/api-reference/workflow/delete-workflow) | Delete a workflow, its canvas and its comments. |
| GET [Get workflow step](/docs/api-reference/workflow/get-workflow-step) | Get one step of a workflow with its content and links. |
| PATCH [Update workflow step](/docs/api-reference/workflow/update-workflow-step) | Change one step's content. |
| DELETE [Delete workflow step](/docs/api-reference/workflow/delete-workflow-step) | Delete a step the way the canvas does. |
| PUT [Link a port](/docs/api-reference/workflow/link-a-port) | Point one port of a step at a block. |
| DELETE [Unlink a port](/docs/api-reference/workflow/unlink-a-port) | Clear one port of a step so it leads nowhere. |
| POST [Create block](/docs/api-reference/workflow/create-block) | Create a block with its steps; the server places it. |
| PATCH [Update block](/docs/api-reference/workflow/update-block) | Change a block's name or color. |
| DELETE [Delete workflow block](/docs/api-reference/workflow/delete-workflow-block) | Delete a block and all its steps, the way the canvas does. |
| POST [Split workflow block](/docs/api-reference/workflow/split-workflow-block) | Split a block in two. |
| POST [Insert workflow step](/docs/api-reference/workflow/insert-workflow-step) | Insert one step into a block, after a step of the block or at its start. |
| POST [Add workflow branch](/docs/api-reference/workflow/add-workflow-branch) | Add one branch and its port to a step. |
| PATCH [Update workflow branch](/docs/api-reference/workflow/update-workflow-branch) | Change one branch of a step. |
| DELETE [Delete workflow branch](/docs/api-reference/workflow/delete-workflow-branch) | Remove one branch of a step, with its port and link. |
| POST [Add port actions](/docs/api-reference/workflow/add-port-actions) | Add actions that run on one exit of a step, before the path reaches its block. |
| PUT [Reorder port actions](/docs/api-reference/workflow/reorder-port-actions) | Put the actions on one exit of a step in a new order. |
| GET [Get raw workflow](/docs/api-reference/workflow/get-raw-workflow) | Get the stored canvas nodes of a workflow, with rich text rendered as strings. |
| POST [Duplicate workflow](/docs/api-reference/workflow/duplicate-workflow) | Copy a workflow under a new name, with its own copies of the messages, prompts and playbooks its steps use. |
| PUT [Link a port](/docs/api-reference/workflow/link-a-port) | Point one port of a step at a block. |
| PUT [Link many ports](/docs/api-reference/workflow/link-many-ports) | Point up to 50 ports at blocks in one write. |
| POST [Create block](/docs/api-reference/workflow/create-block) | Create a block with its steps; the server places it. |
| POST [Add workflow blocks](/docs/api-reference/workflow/add-workflow-blocks) | Create several blocks with their steps and links in one write; the server places them. |
| POST [Arrange workflow blocks](/docs/api-reference/workflow/arrange-workflow-blocks) | Move blocks into columns by their links. |
| PUT [Replace port action](/docs/api-reference/workflow/replace-port-action) | Replace one action on an exit with a new action of any kind, in one write. |
### Phone number
| Endpoint | Description |
| --- | --- |
| GET [List phone numbers](/docs/api-reference/phone-number/list-phone-numbers) | List all phone numbers by workspace or project ID. |
| POST [Create phone number](/docs/api-reference/phone-number/create-phone-number) | Create a new phone number. |
| GET [Get phone number](/docs/api-reference/phone-number/get-phone-number) | Get a phone number by ID. |
| PATCH [Update phone number](/docs/api-reference/phone-number/update-phone-number) | Update a phone number by ID. |
| DELETE [Delete phone number](/docs/api-reference/phone-number/delete-phone-number) | Delete a phone number by ID. |
| PUT [Assign phone number](/docs/api-reference/phone-number/assign-phone-number) | Assign a phone number to a project by ID. |
| PUT [Unassign phone number](/docs/api-reference/phone-number/unassign-phone-number) | Clear existing assignment of a phone number to a project. |
### Knowledge base folder
| Endpoint | Description |
| --- | --- |
| GET [List document folders](/docs/api-reference/document-folder/list-document-folders) | List all Knowledge Base folders by project ID. |
| POST [Create document folder](/docs/api-reference/document-folder/create-document-folder) | Create a new Knowledge Base folder. |
| PATCH [Update document folder](/docs/api-reference/document-folder/update-document-folder) | Rename or move a Knowledge Base folder by ID. |
| DELETE [Delete document folder](/docs/api-reference/document-folder/delete-document-folder) | Delete a Knowledge Base folder by ID, with its subfolders and documents. |
### Persona
| Endpoint | Description |
| --- | --- |
| GET [List personas](/docs/api-reference/persona/list-personas) | List all personas by project ID. |
| POST [Create persona](/docs/api-reference/persona/create-persona) | Create a new persona. |
| GET [Get persona](/docs/api-reference/persona/get-persona) | Get a persona by ID. |
| DELETE [Delete persona](/docs/api-reference/persona/delete-persona) | Delete a persona by ID. |
| PATCH [Update persona](/docs/api-reference/persona/update-persona) | Update a persona by ID. |
## How the build endpoints are shaped
Every resource follows the same six-verb pattern, so learning one teaches the
rest:
| Verb | Path | Purpose |
| --- | --- | --- |
| `GET` | `/{resource}` | list everything in the project |
| `POST` | `/{resource}` | create one |
| `POST` | `/{resource}/batch` | create many in a single call |
| `GET` | `/{resource}/{id}` | fetch one |
| `PATCH` | `/{resource}/{id}` | change part of one |
| `DELETE` | `/{resource}/{id}` | remove one |
The `batch` variant matters when you are importing. Creating fifty variables
one call at a time is fifty round trips and fifty chances to end up half
migrated; one batch call is atomic from your side.
## Scoping every call
Build endpoints act inside one environment of one project, so both are
required query parameters:
```bash
curl "https://realtime-api.voiceflow.com/v1/stable/function?projectID=$VF_PROJECT_ID&environmentAlias=main" \
-H "Authorization: Bearer $VF_PAT"
```
Editing `main` changes what your team sees in the Creator. To stage changes
without touching it, clone an environment first, build against the clone, and
[merge](/docs/api-reference/environment/merge-environments) when you are satisfied.
## How the pieces relate
- A **playbook** is the unit of agent behaviour. It holds instructions and the
tools it may call.
- **Tools** are what a playbook can do. An **API tool** calls an HTTP endpoint;
a **function** runs your own code; an **MCP server** contributes a set of
**MCP tools** discovered from that server.
- **Function paths** are the branches a function can exit through, and
**function variables** are its inputs and outputs. Both belong to a function
and are managed separately, so you can add a branch without rewriting the
function.
- **Variables** are project state that persists across a conversation.
- **Knowledge base documents** are the corpus the agent retrieves from. Create
them from a URL, from text, or by uploading a table.
## Where to go next
Once an agent is built, [publish it](/docs/api-reference/sections/publishing) to make
the changes live, and [run a conversation](/docs/api-reference/sections/running-agents) against
it to see how it behaves.
# Insights overview
Source: https://www.voiceflow.com/docs/api-reference/sections/insights
Score conversations against criteria you define, so agent quality becomes a number you can track over time instead of a sample you skim.
An evaluation is a set of criteria you define and then run against
conversations that already happened. It turns "is the agent doing a good job"
into a score you can watch over time, rather than a handful of transcripts
somebody read on a Friday.
## Endpoints
### Evaluation
| Endpoint | Description |
| --- | --- |
| GET [List evaluations](/docs/api-reference/evaluation/list-evaluations) | List all evaluations by project ID. |
| POST [Create evaluation](/docs/api-reference/evaluation/create-evaluation) | Create a new evaluation. |
| GET [Get evaluation](/docs/api-reference/evaluation/get-evaluation) | Get an evaluation by ID. |
| PATCH [Update evaluation](/docs/api-reference/evaluation/update-evaluation) | Update an evaluation by ID. |
| DELETE [Delete evaluation](/docs/api-reference/evaluation/delete-evaluation) | Delete an evaluation by ID. |
| POST [Run evaluation](/docs/api-reference/evaluation/run-evaluation) | Run an evaluation. |
| POST [Queue evaluation runs](/docs/api-reference/evaluation/queue-evaluation-runs) | Queue evaluations against transcripts. |
| GET [List evaluations](/docs/api-reference/evaluation/list-evaluations) | List all evaluations by project ID, without their judge prompts. |
## The shape
An **evaluation** is a definition: what you are measuring and how. Creating one
does not score anything by itself. Running it applies it and produces a result.
```bash
curl -X POST "https://realtime-api.voiceflow.com/v1/stable/evaluation/$EVALUATION_ID/run" \
-H "Authorization: Bearer $VF_PAT"
```
That split is deliberate. The definition is stable and version-controlled by
you; runs accumulate against it, so a score means something over time rather
than being a one-off measurement with its own private criteria.
## Evaluations and transcripts
Evaluations score conversations that already happened, which makes
[Observe](/docs/api-reference/sections/observe) the source of what they measure.
Search for the transcripts you care about, then evaluate that set.
## How this differs from automated testing
Evaluations judge real conversations after the fact.
[QA](/docs/api-reference/sections/qa) does the opposite: it replays scripted
conversations you wrote, and asserts the agent still answers the way you
decided it should. Use evaluations to find out what is happening in production,
and QA to stop a change breaking what already worked.
## Where to go next
Once you know what to look for, encode it as a [test](/docs/api-reference/sections/qa)
so a regression fails loudly instead of showing up in next month's numbers.
# Manage overview
Source: https://www.voiceflow.com/docs/api-reference/sections/manage
Create and administer the containers your agents live in: workspaces that group projects and people, and projects that each own a single agent.
Workspaces group projects and the people who can reach them. A project owns a
single agent and everything inside it.
These endpoints create and administer both, and they are where you get the
`projectID` that almost every other endpoint in this API asks for.
## Endpoints
### Project
| Endpoint | Description |
| --- | --- |
| GET [List projects](/docs/api-reference/project/list-projects) | List all projects by workspace ID. |
| POST [Create project](/docs/api-reference/project/create-project) | Create a new project. |
| GET [Get project](/docs/api-reference/project/get-project) | Get a project by ID. |
| PATCH [Update project](/docs/api-reference/project/update-project) | Update a project by ID. |
| DELETE [Delete project](/docs/api-reference/project/delete-project) | Delete a project by ID. |
### Workspace
| Endpoint | Description |
| --- | --- |
| GET [List workspaces](/docs/api-reference/workspace/list-workspaces) | List all workspaces the authorized account is a member of. |
| POST [Create workspace](/docs/api-reference/workspace/create-workspace) | Create a new workspace. |
| GET [Get workspace](/docs/api-reference/workspace/get-workspace) | Get a single workspace by ID. |
| PATCH [Update workspace](/docs/api-reference/workspace/update-workspace) | Update a single workspace by ID. |
| DELETE [Delete workspace](/docs/api-reference/workspace/delete-workspace) | Delete a single workspace by ID. |
## The hierarchy
An organization contains **workspaces**. A workspace contains **projects**. A
project owns exactly one agent, along with its playbooks, tools, variables,
knowledge base and environments.
Most other endpoints in this API take a `projectID`, which you get by listing
the projects in a workspace:
```bash
curl "https://realtime-api.voiceflow.com/v1/stable/project?workspaceID=$VF_WORKSPACE_ID" \
-H "Authorization: Bearer $VF_PAT"
```
## What a token can see
A [personal access token](/docs/api-reference/authentication) carries your own
access. Listing workspaces returns every workspace your account belongs to, not
a subset scoped to the integration, so a script that iterates workspaces will
reach further than you might expect. Pin the IDs you mean to operate on rather
than discovering them at runtime.
## Deleting
Deleting a project removes the agent and everything in it, including
transcripts. Deleting a workspace removes every project inside it. Neither is
recoverable through the API.
## Where to go next
With a project in hand, [build its agent](/docs/api-reference/sections/build) and
[ship it through environments](/docs/api-reference/sections/publishing).
# Observe overview
Source: https://www.voiceflow.com/docs/api-reference/sections/observe
Read the conversations your agent actually had. Search transcripts, fetch a single one, and attach your own properties to record what happened.
Every conversation your agent has is kept as a transcript. These endpoints let
you search them, read an individual one turn by turn, and attach your own
fields to record things the runtime cannot know, such as whether the
conversation was escalated or how it ended.
## Endpoints
### Transcript
| Endpoint | Description |
| --- | --- |
| POST [Search transcripts](/docs/api-reference/transcript/search-transcripts) | Search transcripts by project ID. |
| POST [Search transcripts](/docs/api-reference/transcript/search-transcripts) | Search transcripts by project ID, one compact row per transcript. |
| GET [Get transcript](/docs/api-reference/transcript/get-transcript) | Get a transcript by ID. |
| GET [List transcript files](/docs/api-reference/transcript/list-transcript-files) | List every file attached to the transcript that is stored on Voiceflow, each with a presigned GET URL for downloading it. |
| POST [Query transcript logs](/docs/api-reference/transcript/query-transcript-logs) | Filter and page a transcript's logs. |
| GET [Get transcript](/docs/api-reference/transcript/get-transcript) | Get a transcript by ID, in the chosen view. |
| POST [Grep transcripts](/docs/api-reference/transcript/grep-transcripts) | Find a pattern in the dialogue of many transcripts. |
### Transcript property
| Endpoint | Description |
| --- | --- |
| GET [List properties](/docs/api-reference/transcript-property/list-properties) | List all properties by project ID. |
| POST [Create property](/docs/api-reference/transcript-property/create-property) | Create a new property. |
| GET [Get property](/docs/api-reference/transcript-property/get-property) | Get property by ID. |
| PATCH [Update property](/docs/api-reference/transcript-property/update-property) | Update a property by ID. |
| DELETE [Delete property](/docs/api-reference/transcript-property/delete-property) | Delete a property by ID. |
| PUT [Set property value](/docs/api-reference/transcript-property/set-property-value) | Set a property value on a transcript. |
## Finding conversations
Transcript search is a `POST` rather than a `GET`, because the filters are rich
enough to need a body:
```bash
curl -X POST "https://realtime-api.voiceflow.com/v1/stable/transcript/search" \
-H "Authorization: Bearer $VF_PAT" \
-H "Content-Type: application/json" \
-d '{ "projectID": "'"$VF_PROJECT_ID"'" }'
```
Fetching a single transcript by ID returns its turns, so a common shape is
search for the conversations you care about, then fetch each one.
## Properties are your own metadata
A **transcript property** is a field you define on the project, and a property
value is that field set on one transcript. Use them to record things the runtime
cannot know: whether the conversation was escalated, which experiment a user was
in, what the outcome was.
Define the property once, then set its value per transcript. Because properties
are project-level, they also become the vocabulary you filter searches by.
## What transcripts are not for
Transcript endpoints return conversations, not counts. If you want totals,
costs, or usage over time, that is
[Analytics](/docs/api-reference/sections/analytics). If you want quality scored
against criteria, that is [Insights](/docs/api-reference/sections/insights).
## Where to go next
Transcripts are the input to [evaluations](/docs/api-reference/sections/insights) -
you can run an evaluation over conversations that already happened.
# Publishing overview
Source: https://www.voiceflow.com/docs/api-reference/sections/publishing
Ship changes with environments. Edit a draft, publish it live, clone one to work in isolation, merge it back, and split traffic between versions.
An environment is a copy of your agent with its own draft and its own live
version. Publishing promotes the draft; until you do, nothing you change
reaches users.
These endpoints let you work in an environment of your own, merge it back when
it is ready, and route a share of real traffic to it to compare two versions
against each other.
## Endpoints
### Environment
| Endpoint | Description |
| --- | --- |
| GET [List environments](/docs/api-reference/environment/list-environments) | List all environments by project ID. |
| PUT [Merge environments](/docs/api-reference/environment/merge-environments) | Merge one environment into another. |
| PUT [Update traffic split](/docs/api-reference/environment/update-traffic-split) | Update the percentage of traffic routed to each environment. |
| GET [Get environment](/docs/api-reference/environment/get-environment) | Get an environment by alias or ID. |
| PATCH [Update environment](/docs/api-reference/environment/update-environment) | Update a environment by alias or ID. |
| DELETE [Delete environment](/docs/api-reference/environment/delete-environment) | Delete an environment by alias or ID. |
| GET [Export environment](/docs/api-reference/environment/export-environment) | Export all data from environment. |
| PUT [Compile environment](/docs/api-reference/environment/compile-environment) | Compile an environment. |
| POST [Clone environment](/docs/api-reference/environment/clone-environment) | Clone an environment. |
| POST [Publish environment](/docs/api-reference/environment/publish-environment) | Publish live version of an environment. |
| GET [Export environment](/docs/api-reference/environment/export-environment) | Export all data from environment. |
| POST [Search project text](/docs/api-reference/environment/search-project-text) | Find a word, phrase, ID or regular expression in the text of a whole environment. |
| GET [Diff environment](/docs/api-reference/environment/diff-environment) | Compare an environment's draft with its last publish. |
| GET [Audit environment wiring](/docs/api-reference/environment/audit-environment-wiring) | Check how tools, functions and variables connect. |
## Draft and published
Every environment holds two versions of the agent. The **draft** is what you
edit and what `version: "draft"` runs when you
[send a conversation](/docs/api-reference/sections/running-agents). The **published** version is
what real traffic reaches. Publishing promotes the draft to published; nothing
you change before that is visible to users.
New projects start with a single environment called `main`. Passing an alias
the project does not have returns `400 invalid environment tag`, so list them
first if you are not sure:
```bash
curl "https://realtime-api.voiceflow.com/v1/stable/environment?projectID=$VF_PROJECT_ID" \
-H "Authorization: Bearer $VF_PAT"
```
## Working with more than one
- **Clone** copies an existing environment into a new one. This is how you get
a second environment to build against without touching `main`.
- **Merge** folds one environment's changes back into another.
- **Publish** promotes an environment's draft to its published version.
- **Update traffic split** routes a share of live conversations to a different
environment, which is how you run one version against another on real
traffic.
- **Export** returns the environment as JSON, for backup or for inspecting a
build outside Voiceflow.
- **Compile** builds the environment without publishing it, so you can surface
errors before users would.
## Secrets
Secret values are environment-scoped, so the same secret name can hold a test
value in one environment and a production value in another. They are not
managed through the environment endpoints today.
## Where to go next
After publishing, [watch what happens](/docs/api-reference/sections/observe) in the
transcripts, and [measure it](/docs/api-reference/sections/insights).
# Testing overview
Source: https://www.voiceflow.com/docs/api-reference/sections/qa
Replay scripted conversations against your agent and assert what it does, so a change that breaks a scenario fails loudly instead of silently.
A test is a conversation you have written down, together with the assertions
that must hold when it runs. Execute it after a change and a broken scenario
fails immediately, instead of surfacing later in production.
## Endpoints
### Test
| Endpoint | Description |
| --- | --- |
| GET [List tests](/docs/api-reference/test/list-tests) | List all tests by project ID. |
| POST [Create test](/docs/api-reference/test/create-test) | Create a new test. |
| POST [Create many tests](/docs/api-reference/test/create-many-tests) | Create multiple new tests. |
| GET [Get test](/docs/api-reference/test/get-test) | Get a test by ID. |
| PATCH [Update test](/docs/api-reference/test/update-test) | Update a test by ID. |
| DELETE [Delete test](/docs/api-reference/test/delete-test) | Delete a test by ID. |
### Test turn
| Endpoint | Description |
| --- | --- |
| GET [List turns](/docs/api-reference/test-turn/list-turns) | List all turns by test ID. |
| POST [Create turn](/docs/api-reference/test-turn/create-turn) | Create a new turn. |
| POST [Create many turns](/docs/api-reference/test-turn/create-many-turns) | Create multiple new turns. |
| GET [Get turn](/docs/api-reference/test-turn/get-turn) | Get a turn by ID. |
| PATCH [Update turn](/docs/api-reference/test-turn/update-turn) | Update a turn by ID. |
| DELETE [Delete turn](/docs/api-reference/test-turn/delete-turn) | Delete a turn by ID. |
### Test check
| Endpoint | Description |
| --- | --- |
| GET [List checks](/docs/api-reference/test-check/list-checks) | List all checks by turn ID. |
| POST [Create check](/docs/api-reference/test-check/create-check) | Create a new check. |
| POST [Create many checks](/docs/api-reference/test-check/create-many-checks) | Create multiple new checks. |
| GET [Get check](/docs/api-reference/test-check/get-check) | Get a check by ID. |
| PATCH [Update check](/docs/api-reference/test-check/update-check) | Update a check by ID. |
| DELETE [Delete check](/docs/api-reference/test-check/delete-check) | Delete a check by ID. |
### Test run
| Endpoint | Description |
| --- | --- |
| POST [Search runs](/docs/api-reference/test-run/search-runs) | Search runs by project ID. |
| POST [Create run](/docs/api-reference/test-run/create-run) | Create a new run. |
| POST [Create many runs](/docs/api-reference/test-run/create-many-runs) | Create multiple new runs. |
| GET [Get run](/docs/api-reference/test-run/get-run) | Get a run by ID. |
| POST [Cancel runs](/docs/api-reference/test-run/cancel-runs) | Cancel runs that have not finished. |
| POST [Query run logs](/docs/api-reference/test-run/query-run-logs) | Filter and page a run's logs. |
| POST [Wait for runs](/docs/api-reference/test-run/wait-for-runs) | Wait until runs finish or the time is up. |
## Four resources, one idea
| Resource | What it is |
| --- | --- |
| **Test** | the scenario: a named conversation you want to keep working |
| **Test turn** | one exchange inside it, in order |
| **Test check** | an assertion about what the agent should do |
| **Test run** | one execution of a test, and its result |
A test is the container. Turns are the script. Checks are what must be true.
Runs are what happened each time you executed it.
Turns and checks are managed independently of the test, so you can add a check
to an existing scenario without rewriting the conversation, or extend the
conversation without touching the assertions.
## Creating a suite
Each resource has a `batch` endpoint, which is what you want when defining a
suite from a file rather than clicking through it:
```bash
curl -X POST "https://realtime-api.voiceflow.com/v1/stable/test/batch?projectID=$VF_PROJECT_ID&environmentAlias=main" \
-H "Authorization: Bearer $VF_PAT" \
-H "Content-Type: application/json" \
-d '{ "data": [ ... ] }'
```
## Reading results
Runs are searchable rather than merely listable, so the useful question is not
"what ran" but "what failed, and since when". Search runs, then fetch the ones
you care about.
## How this differs from evaluations
These are different jobs and it is worth keeping them apart.
QA replays conversations *you* wrote and fails when the agent stops behaving as
decided. [Insights](/docs/api-reference/sections/insights) scores conversations *real
users* had, and tells you how it is going. One protects against regressions; the
other finds things you did not think to test.
## Where to go next
Run tests against a cloned [environment](/docs/api-reference/sections/publishing)
before merging into `main`, so a failing check blocks the change rather than
reporting on it afterwards.
# Running agents overview
Source: https://www.voiceflow.com/docs/api-reference/sections/running-agents
Run conversations against an agent over HTTP. Send what a user would say, read the traces that come back, and inspect or reset the state between turns.
A conversation is the agent doing its job: a user says something, the agent
decides what to do, and everything it did comes back as typed events.
Driving that from your own code is how you put the agent behind a different
interface, or check how a change behaves before anyone else sees it.
Conversation state sits alongside, so you can read what the agent currently
believes, change a variable mid-turn, or start over.
## Endpoints
### Conversation
| Endpoint | Description |
| --- | --- |
| PUT [Send](/docs/api-reference/conversation/send) | Send message to a conversation. |
| POST [Run script](/docs/api-reference/conversation/run-script) | Run a list of user messages as one new conversation. |
### Conversation state
| Endpoint | Description |
| --- | --- |
| GET [Get state](/docs/api-reference/conversation-state/get-state) | Get conversation state for a user. |
| PATCH [Update state](/docs/api-reference/conversation-state/update-state) | Update conversation state for a user. |
| DELETE [Delete state](/docs/api-reference/conversation-state/delete-state) | Delete conversation state for a user. |
| PATCH [Update variables](/docs/api-reference/conversation-state/update-variables) | Updates variables in the conversation state by merging with the properties in the request body. |
### Knowledge base query
| Endpoint | Description |
| --- | --- |
| POST [Query knowledge base](/docs/api-reference/knowledge-base/query-knowledge-base) | Execute a query against documents in the knowledge base. |
## A conversation is a userID
There is no session to create. The `userID` in the path *is* the conversation:
call the same path again and the agent continues where it left off, call it
with a new `userID` and you get a fresh one.
```bash
curl -X PUT "https://realtime-api.voiceflow.com/v1/stable/conversation/user-123?projectID=$VF_PROJECT_ID&environmentAlias=main" \
-H "Authorization: Bearer $VF_PAT" \
-H "Content-Type: application/json" \
-d '{ "action": { "type": "launch" }, "version": "published" }'
```
That returns an array of [traces](/docs/api-reference/trace-types) describing
everything the agent did in response.
## The two fields that matter
`action` is what the user did. `launch` starts the agent from its entry point;
`text` sends something they typed:
```json
{ "action": { "type": "text", "payload": "What can you help me with?" }, "version": "published" }
```
`version` chooses which build answers. `published` runs the live version of the
environment; `draft` runs what you are currently editing, which is what you want
while testing a change.
## Reading the response
The agent's output is a list of traces, not a single message. A chat agent's
words arrive as `text` traces; a voice agent answers with `speak`. Buttons,
cards, carousels and debug output each have their own type, and the
[trace reference](/docs/api-reference/trace-types) documents every one.
Two things worth handling from the start:
- Iterate the traces rather than taking the first. A single turn routinely
returns a message, then buttons, then debug output.
- Strip control characters before parsing. The runtime can emit raw control
characters inside trace payload strings, which strict JSON parsers reject.
## Conversation state
The state endpoints let you inspect what the agent currently believes, change a
variable mid-conversation, or delete the state to start over without changing
the `userID`.
## Where to go next
The [first conversation turn](/docs/cookbook/first-conversation-turn) recipe is this
flow as a script you can run, verified against a live agent.
# Create check
Source: https://www.voiceflow.com/docs/api-reference/test-check/create-check
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-check
Adds a test check to its turn, one assertion about an agent turn, comparing the reply or the behaviour behind it. The response carries the ID that later calls address it by.
# Create many checks
Source: https://www.voiceflow.com/docs/api-reference/test-check/create-many-checks
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-check/batch
Adds several test checks to its turn in one request, each taking the fields the single-create call takes. The response carries the created test checks in the same shape the list call returns.
# Delete check
Source: https://www.voiceflow.com/docs/api-reference/test-check/delete-check
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test-check/{checkID}
Deletes a single test check by ID. A test check is one assertion about an agent turn, comparing the reply or the behaviour behind it. The response carries only a confirmation message, so refetch the test checks to see what is left.
# Get check
Source: https://www.voiceflow.com/docs/api-reference/test-check/get-check
/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-check/{checkID}
Returns a single test check by ID, with the fields that define it. A test check is one assertion about an agent turn, comparing the reply or the behaviour behind it.
# List checks
Source: https://www.voiceflow.com/docs/api-reference/test-check/list-checks
/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-check
Returns every test check in its turn. A test check is one assertion about an agent turn, comparing the reply or the behaviour behind it. The call takes no paging parameters, so one request yields the whole set.
# Update check
Source: https://www.voiceflow.com/docs/api-reference/test-check/update-check
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test-check/{checkID}
Changes an existing test check in place. The response carries only a confirmation message, so refetch the test check to read its new values.
# Cancel runs
Source: https://www.voiceflow.com/docs/api-reference/test-run/cancel-runs
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/cancel
Stops test runs that have not finished, including queued runs, which are then no longer scheduled. The response names the runs it stopped, the ones that had already finished, and any IDs it could not find.
# Create many runs
Source: https://www.voiceflow.com/docs/api-reference/test-run/create-many-runs
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/batch
Adds several test runs to the environment in one request, each taking the fields the single-create call takes. The response carries the created test runs in the same shape the list call returns.
# Create run
Source: https://www.voiceflow.com/docs/api-reference/test-run/create-run
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run
Adds a test run to the environment, one execution of a test, carrying how many of its checks passed. The response carries the ID that later calls address it by.
# Get run
Source: https://www.voiceflow.com/docs/api-reference/test-run/get-run
/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-run/{runID}
Returns a single test run by ID, with the fields that define it. A test run is one execution of a test, carrying how many of its checks passed.
# Query run logs
Source: https://www.voiceflow.com/docs/api-reference/test-run/query-run-logs
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/{runID}/logs
Searches the log of one test run, filtering entries by kind, level, debug kind, turn or text, a page at a time. Each page also reports the log's total entry count and token use per model; send `nextOffset` back for the next page.
# Search runs
Source: https://www.voiceflow.com/docs/api-reference/test-run/search-runs
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/search
Finds past runs of a test, each carrying how many of its checks passed. The body takes `take` and `skip`, so results arrive a page at a time rather than all at once.
# Wait for runs
Source: https://www.voiceflow.com/docs/api-reference/test-run/wait-for-runs
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/wait
Wait until runs finish or the time is up.
# Create many turns
Source: https://www.voiceflow.com/docs/api-reference/test-turn/create-many-turns
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-turn/batch
Adds several test turns to its test in one request, each taking the fields the single-create call takes. The response carries the created test turns in the same shape the list call returns.
# Create turn
Source: https://www.voiceflow.com/docs/api-reference/test-turn/create-turn
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-turn
Adds a test turn to its test, one side of a scripted conversation, either what the user says or the agent reply the checks assert on. The response carries the ID that later calls address it by.
# Delete turn
Source: https://www.voiceflow.com/docs/api-reference/test-turn/delete-turn
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test-turn/{turnID}
Deletes a single test turn by ID. A test turn is one side of a scripted conversation, either what the user says or the agent reply the checks assert on. The response carries only a confirmation message, so refetch the test turns to see what is left.
# Get turn
Source: https://www.voiceflow.com/docs/api-reference/test-turn/get-turn
/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-turn/{turnID}
Returns a single test turn by ID, with the fields that define it. A test turn is one side of a scripted conversation, either what the user says or the agent reply the checks assert on.
# List turns
Source: https://www.voiceflow.com/docs/api-reference/test-turn/list-turns
/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-turn
Returns every test turn in its test. A test turn is one side of a scripted conversation, either what the user says or the agent reply the checks assert on. The call takes no paging parameters, so one request yields the whole set.
# Update turn
Source: https://www.voiceflow.com/docs/api-reference/test-turn/update-turn
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test-turn/{turnID}
Changes an existing test turn in place. The response carries only a confirmation message, so refetch the test turn to read its new values.
# Create many tests
Source: https://www.voiceflow.com/docs/api-reference/test/create-many-tests
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test/batch
Adds several tests to the environment in one request, each taking the fields the single-create call takes. The response carries the created tests in the same shape the list call returns.
# Create test
Source: https://www.voiceflow.com/docs/api-reference/test/create-test
/specs-prettified/realtime/openapi.stable.json post /v1/stable/test
Adds a test to the environment, a scripted conversation replayed against the agent. The response carries the ID that later calls address it by.
# Delete test
Source: https://www.voiceflow.com/docs/api-reference/test/delete-test
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test/{testID}
Deletes a single test by ID. A test is a scripted conversation replayed against the agent. The response carries only a confirmation message, so refetch the tests to see what is left.
# Get test
Source: https://www.voiceflow.com/docs/api-reference/test/get-test
/specs-prettified/realtime/openapi.stable.json get /v1/stable/test/{testID}
Returns a single test by ID, with the fields that define it. A test is a scripted conversation replayed against the agent.
# List tests
Source: https://www.voiceflow.com/docs/api-reference/test/list-tests
/specs-prettified/realtime/openapi.stable.json get /v1/stable/test
Returns every test in the environment. A test is a scripted conversation replayed against the agent. The call takes no paging parameters, so one request yields the whole set.
# Update test
Source: https://www.voiceflow.com/docs/api-reference/test/update-test
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test/{testID}
Changes an existing test in place. The response carries only a confirmation message, so refetch the test to read its new values.
# Create many tools
Source: https://www.voiceflow.com/docs/api-reference/tool/create-many-tools
/specs-prettified/realtime/openapi.stable.json post /v2/stable/tool/batch
Adds several tools to the environment in one request, each taking the fields the single-create call takes, with message text and default input values as plain strings. The response carries the created tools in the same shape the list call returns.
# Create tool
Source: https://www.voiceflow.com/docs/api-reference/tool/create-tool
/specs-prettified/realtime/openapi.stable.json post /v2/stable/tool
Adds a tool to the environment, or gives the agent a workflow tool. A tool is something a playbook can call during a conversation. Message text and default input values are plain strings, and the response carries the ID that later calls address it by.
# Delete tool
Source: https://www.voiceflow.com/docs/api-reference/tool/delete-tool
/specs-prettified/realtime/openapi.stable.json delete /v2/stable/tool/{toolID}
Deletes a single tool by ID, including a workflow tool. A tool is something a playbook can call during a conversation. The response carries only a confirmation message, so refetch the tools to see what is left.
# Get tool
Source: https://www.voiceflow.com/docs/api-reference/tool/get-tool
/specs-prettified/realtime/openapi.stable.json get /v2/stable/tool/{toolID}
Returns a single tool by ID, including a workflow tool, with the fields that define it. A tool is something a playbook can call during a conversation.
# List tools
Source: https://www.voiceflow.com/docs/api-reference/tool/list-tools
/specs-prettified/realtime/openapi.stable.json get /v2/stable/tool
Returns every tool in the environment, including workflow tools. A tool is something a playbook can call during a conversation. The call takes no paging parameters, so one request yields the whole set.
# Move tool
Source: https://www.voiceflow.com/docs/api-reference/tool/move-tool
/specs-prettified/realtime/openapi.stable.json post /v1/stable/tool/{toolID}/move
Move a tool attachment to the agent or to a playbook. It keeps its ID, its fields and its messages.
# Update tool
Source: https://www.voiceflow.com/docs/api-reference/tool/update-tool
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/tool/{toolID}
Changes an existing tool attachment in place, taking message text and default input values as plain strings. The response lists any references that did not resolve; read the tool again to see its new values.
# Traces
Source: https://www.voiceflow.com/docs/api-reference/trace-types
Reference for every trace type returned by the Conversations API.
Traces are the output of a Voiceflow agent. Each time your application sends an action to the [Conversations API](/docs/api-reference/sections/running-agents), the runtime returns an array of trace objects describing how the agent responded. A single turn often produces multiple traces in sequence - for example, a message followed by a set of buttons.
Every trace has a `type` field that identifies what it contains, a `payload` with the relevant data, and a `time` value recording when that trace was generated as a Unix timestamp. The `time` field can be useful for debugging: steps like message generation may take noticeably longer than simple text steps, and the timestamps make that visible.
Choose a trace below for its definition, payload fields, and any documented handling examples. Trace identifiers retain their exact API spelling.
## Trace types
## Messages and UI
| Trace | Reference |
| --- | --- |
| `text` | [text](/docs/api-reference/traces/messages-ui#text) |
| `cardV2` | [cardV2](/docs/api-reference/traces/messages-ui#cardv2) |
| `carousel` | [carousel](/docs/api-reference/traces/messages-ui#carousel) |
| `choice` | [choice](/docs/api-reference/traces/messages-ui#choice) |
| `visual` | [visual](/docs/api-reference/traces/messages-ui#visual) |
## Voice and telephony
| Trace | Reference |
| --- | --- |
| `audio` | [audio](/docs/api-reference/traces/voice-telephony#audio) |
| `speak` | [speak](/docs/api-reference/traces/voice-telephony#speak) |
| `stream` | [stream](/docs/api-reference/traces/voice-telephony#stream) |
| `dtmf` | [dtmf](/docs/api-reference/traces/voice-telephony#dtmf) |
| `call-forward` | [call-forward](/docs/api-reference/traces/voice-telephony#call-forward) |
## Conversation control
| Trace | Reference |
| --- | --- |
| `no-reply` | [no-reply](/docs/api-reference/traces/conversation-control#no-reply) |
| `end` | [end](/docs/api-reference/traces/conversation-control#end) |
| `goto` | [goto](/docs/api-reference/traces/conversation-control#goto) |
| `entity-filling` | [entity-filling](/docs/api-reference/traces/conversation-control#entity-filling) |
| `live-agent-handoff` | [live-agent-handoff](/docs/api-reference/traces/conversation-control#live-agent-handoff) |
| `channel-action` | [channel-action](/docs/api-reference/traces/conversation-control#channel-action) |
## Events and diagnostics
| Trace | Reference |
| --- | --- |
| `completion` | [completion](/docs/api-reference/traces/events-diagnostics#completion) |
| `reasoning` | [reasoning](/docs/api-reference/traces/events-diagnostics#reasoning) |
| `tool-call` | [tool-call](/docs/api-reference/traces/events-diagnostics#tool-call) |
| `knowledgeBase` | [knowledgeBase](/docs/api-reference/traces/events-diagnostics#knowledgebase) |
| `realtime-agent` | [realtime-agent](/docs/api-reference/traces/events-diagnostics#realtime-agent) |
| `block` | [block](/docs/api-reference/traces/events-diagnostics#block) |
| `flow` | [flow](/docs/api-reference/traces/events-diagnostics#flow) |
| `path` | [path](/docs/api-reference/traces/events-diagnostics#path) |
| `debug` | [debug](/docs/api-reference/traces/events-diagnostics#debug) |
| `log` | [log](/docs/api-reference/traces/events-diagnostics#log) |
## Custom actions
| Trace | Reference |
| --- | --- |
| `Custom actions` | [Custom actions](/docs/api-reference/traces/custom-actions#custom-actions) |
## Additional trace types
The index above includes both authored examples and specification-derived field references.
### Path buttons
See [Choice: Path buttons](/docs/api-reference/traces/messages-ui#path-buttons).
### Agent-generated buttons
See [Choice: Agent-generated buttons](/docs/api-reference/traces/messages-ui#agent-generated-buttons).
## Completion event traces
When using the streaming endpoint, you may also encounter `completion` traces. A single `completion` type marks the lifecycle of an AI generation event within a stream: the payload's `state` field moves through `start`, `content`, and `end`. See [Completion events](/docs/api-reference/conversations-api/completion-events) for the full stream format.
# Conversation control
Source: https://www.voiceflow.com/docs/api-reference/traces/conversation-control
Trace definitions, payloads, and handling guidance for conversation control.
[All traces](/docs/api-reference/trace-types)
## no-reply
Returned when a No Reply timeout is active. The `timeout` value is in seconds.
```json
{
"type": "no-reply",
"time": 1720552033,
"payload": {
"timeout": 10
}
}
```
If the user doesn't respond within the timeout window, send a `no-reply` action to retrieve the configured reprompt:
```json
{
"action": {
"type": "no-reply"
}
}
```
## end
Returned when the conversation reaches an End step. On receiving this trace, your application should treat the session as closed.
```json
{
"type": "end",
"time": 1720552033,
"payload": null
}
```
{/* gen:start id=traces/spec sha=d0ffc2fea623 */}
## `goto`
Instructs the client to re-send the wrapped request on the next turn.
| Field | Type | Required |
| --- | --- | --- |
| `request` | BaseRequest | yes |
## `entity-filling`
Requests a value for a named entity, wrapping the intent request being filled.
| Field | Type | Required |
| --- | --- | --- |
| `entityToFill` | string | yes |
| `intent` | IntentRequest | yes |
## `live-agent-handoff`
Signals a handoff of the conversation to a live agent platform. Every shape of the payload carries `conversationID`, `message`, and `event`; the remaining fields vary by shape, and some carry a `provider` naming the platform.
This payload has 4 shapes; a field is listed once, and marked required only when every shape both has and requires it.
| Field | Type | Required | Present when |
| --- | --- | --- | --- |
| `agent` | object | no | always |
| `config` | LiveAgentHandoffWidgetConfig | no | some shapes (1 of 4) |
| `continueMessage` | string | no | some shapes (1 of 4) |
| `conversationID` | string | yes | always |
| `downloadMessage` | string | no | some shapes (1 of 4) |
| `event` | `"chat_started"` | yes | always |
| `file` | object | no | some shapes (1 of 4) |
| `message` | string | yes | always |
| `newConversationMessage` | string | no | some shapes (1 of 4) |
| `provider` | `"ujet"` or `"genesys"` or `"kustomer"` or `"dixa"` or `"sunshine"` or `"custom"` | no | some shapes (1 of 4) |
| `translationKey` | string | no | always |
| `translationParams` | object | no | always |
## `channel-action`
A channel-specific action, named by the channel integration, with an action-defined payload.
| Field | Type | Required |
| --- | --- | --- |
| `name` | string | yes |
| `payload` | object | yes |
{/* gen:end id=traces/spec */}
# Custom actions
Source: https://www.voiceflow.com/docs/api-reference/traces/custom-actions
Trace definitions, payloads, and handling guidance for custom actions.
[All traces](/docs/api-reference/trace-types)
## Custom actions
Custom action traces can be returned by functions and use the string you defined in Voiceflow as the `type` value. The `defaultPath` field indicates which path is set as the default: `0` for the first path, `1` for the second, and so on. Their payload is provided as JSON, as shown:
```json
{
"type": "calendar",
"time": 1720552033,
"payload": {
"today": 1700096585398
},
"defaultPath": 0,
"paths": [
{ "event": { "type": "done" } },
{ "event": { "type": "cancel" } }
]
}
```
# Events & diagnostics
Source: https://www.voiceflow.com/docs/api-reference/traces/events-diagnostics
Trace definitions, payloads, and handling guidance for events & diagnostics.
[All traces](/docs/api-reference/trace-types)
{/* gen:start id=traces/spec sha=a5e68a4d60f2 */}
## `completion`
Marks a model completion event during the turn. Streaming clients receive the completion lifecycle described under completion event traces.
| Field | Type | Required | Present when |
| --- | --- | --- | --- |
| `ai` | boolean | no | `state` is `start` |
| `content` | string | no | `state` is `content` |
| `delay` | number | no | `state` is `start` |
| `messageID` | string | no | always |
| `ref` | DebugTraceRef | no | `state` is `start` or `end` |
| `sourceUrls` | object[] | no | `state` is `start` or `end` |
| `state` | `"start"` or `"content"` or `"end"` | yes | always |
## `reasoning`
Marks model reasoning activity during the turn. The payload's `state` field selects the shape: `content` carries a `content` string, `final` carries a `message`, and `start` and `end` carry the state alone.
| Field | Type | Required | Present when |
| --- | --- | --- | --- |
| `content` | string | no | `state` is `content` |
| `message` | string | no | `state` is `final` |
| `state` | `"start"` or `"content"` or `"end"` or `"final"` | yes | always |
## `tool-call`
Marks a tool call made by the agent during the turn. The payload always carries the `callID` and a `state` of `start` or `end`; a `start` may also carry a `sound`.
| Field | Type | Required | Present when |
| --- | --- | --- | --- |
| `callID` | string | yes | always |
| `sound` | object | no | `state` is `start` |
| `state` | `"start"` or `"end"` | yes | always |
## `knowledgeBase`
Reports a knowledge base retrieval: the chunks returned and the query that produced them.
| Field | Type | Required |
| --- | --- | --- |
| `chunks` | object[] | yes |
| `query` | object | no |
## `realtime-agent`
Marks realtime agent activity on the turn. The payload's `action` field selects the shape: `START` carries `input` and `output`, while `END` and `INTERRUPTED` carry the action alone.
| Field | Type | Required | Present when |
| --- | --- | --- | --- |
| `action` | `"START"` or `"END"` or `"INTERRUPTED"` | yes | always |
| `input` | object | no | `action` is `START` |
| `output` | object | no | `action` is `START` |
## `block`
Marks the conversation entering a block, identified by its block ID.
| Field | Type | Required |
| --- | --- | --- |
| `blockID` | string | yes |
## `flow`
Marks the conversation entering a flow, identified by its diagram ID.
| Field | Type | Required |
| --- | --- | --- |
| `diagramID` | string | yes |
| `name` | string | no |
## `path`
Reports which path the conversation took out of a step.
| Field | Type | Required |
| --- | --- | --- |
| `path` | string | yes |
## `debug`
Debug output for the turn, with a message and optional level, context, and metadata. Surfaced in agent logs rather than to end users.
| Field | Type | Required |
| --- | --- | --- |
| `context` | string | no |
| `level` | `"fatal"` or `"error"` or `"warn"` or `"info"` or `"debug"` | no |
| `message` | string | yes |
| `metadata` | object | no |
| `ref` | DebugTraceRef | no |
| `type` | string | no |
## `log`
Diagnostic log output attached to the turn. The `payload` is always present and is a free-form object: the spec declares no named fields on it and permits any.
{/* gen:end id=traces/spec */}
# Messages & UI
Source: https://www.voiceflow.com/docs/api-reference/traces/messages-ui
Trace definitions, payloads, and handling guidance for messages & ui.
[All traces](/docs/api-reference/trace-types)
## text
Returned by the [Message step](/docs/documentation/build/steps/message), [Playbooks](/docs/documentation/build/steps/playbook), and no-match and no-reply reprompts.
```json
{
"type": "text",
"time": 1720552033,
"payload": {
"slate": {
"id": "unique-id",
"content": [
{
"children": [{ "text": "Hello there!" }]
},
{
"children": [{ "text": "Select an option or ask me a question" }]
}
],
"messageDelayMilliseconds": 1000
},
"message": "Hello there!\n\nSelect an option or ask me a question",
"delay": 1000
}
}
```
The `message` field contains the plain text content. The `slate` field contains the same content in a structured rich-text format. `delay` controls the pause in milliseconds before the next trace is rendered, defaulting to 1000ms.
## cardV2
Returned by the [Card step](/docs/documentation/build/steps/card). When a card contains buttons, each button's `request.type` is a Voiceflow-generated path ID. Pass that value as the `action.type` in your next request to advance the conversation along the corresponding path.
```json
{
"type": "cardV2",
"time": 1720552033,
"payload": {
"title": "This is a Card title",
"description": {
"text": "This is a Card description",
"slate": [
{
"children": [{ "text": "This is a Card description" }]
}
]
},
"imageUrl": "https://assets-global.website-files.com/example-file.png",
"buttons": [
{
"name": "Click for next step",
"request": {
"type": "path-generated-by-voiceflow",
"payload": {
"actions": [],
"label": "Click for next step"
}
}
}
]
}
}
```
## carousel
Returned by the [Carousel step](/docs/documentation/build/steps/card). The same button handling applies as with `cardV2` - pass the button's `request.type` as the `action.type` in your next request.
```json
{
"type": "carousel",
"time": 1720552033,
"payload": {
"layout": "Carousel",
"cards": [
{
"id": "unique-id",
"title": "This is a Carousel card title",
"description": {
"text": "This is a Carousel card description",
"slate": [
{
"children": [{ "text": "This is a Carousel card description" }]
}
]
},
"imageUrl": "https://assets-global.website-files.com/example-file.png",
"buttons": [
{
"name": "Click for next step",
"request": {
"type": "path-generated-by-voiceflow",
"payload": {
"label": "Click for next step",
"actions": []
}
}
}
]
}
]
}
}
```
## choice
Returned by the [Condition step](/docs/documentation/build/steps/condition) and [Playbooks](/docs/documentation/build/playbooks) or the Agent when the [buttons system tool](/docs/documentation/build/tools/system-tools) is enabled. How you handle a choice trace depends on what's in each button's `request.type`.
### Path buttons
When buttons are connected to specific paths in your workflow, `request.type` is a Voiceflow-generated path ID. Pass it directly as `action.type` in your next request. The `label` field is optional - if included, its value is set as the `last_utterance` variable.
```json
{
"type": "choice",
"time": 1753108390491,
"payload": {
"buttons": [
{
"name": "Order coffee",
"request": {
"type": "path-cmd906pp400433b7ujbsbiotm",
"payload": {
"label": "Order coffee"
}
}
}
]
}
}
```
To handle this button click, send:
```json
{
"action": {
"type": "path-cmd906pp400433b7ujbsbiotm",
"payload": {
"label": "Order coffee"
}
}
}
```
### Agent-generated buttons
When the [buttons system tool](/docs/documentation/build/tools/system-tools) is enabled on Playbook or on the Agent, the agent may dynamically generate buttons. These use `request.type: "text"` and simulate raw user input rather than triggering a specific path:
```json
{
"type": "choice",
"time": 1753110520157,
"payload": {
"buttons": [
{
"name": "Check account balance",
"request": {
"type": "text",
"payload": "Check account balance"
}
}
]
}
}
```
{/* gen:start id=traces/spec sha=d51318248ccb */}
## `visual`
Displays an image, with optional device sizing and layout options.
| Field | Type | Required |
| --- | --- | --- |
| `canvasVisibility` | `"full"` or `"hidden"` or `"cropped"` | no |
| `device` | string | no |
| `dimensions` | object | no |
| `frameType` | string | no |
| `image` | string | yes |
| `options` | object | no |
| `visualType` | `"image"` | no |
{/* gen:end id=traces/spec */}
# Voice & telephony
Source: https://www.voiceflow.com/docs/api-reference/traces/voice-telephony
Trace definitions, payloads, and handling guidance for voice & telephony.
[All traces](/docs/api-reference/trace-types)
{/* gen:start id=traces/spec sha=45e6837a8b82 */}
## `audio`
An audio response event. The payload's `state` field selects the shape: `start` announces a `messageID`, `content` carries the audio in `content` with its `encoding`, and `end` carries the state alone.
| Field | Type | Required | Present when |
| --- | --- | --- | --- |
| `content` | string | no | `state` is `content` |
| `delay` | number | no | `state` is `start` |
| `duration` | number | no | `state` is `content` |
| `encoding` | `"audio/mp3"` or `"audio/x-mulaw"` or `"audio/pcm"` | no | `state` is `content` |
| `messageID` | string | no | `state` is `start` |
| `state` | `"start"` or `"content"` or `"end"` | yes | always |
## `speak`
A spoken response for voice channels, carrying the message text and optionally a synthesized audio source and voice name.
| Field | Type | Required |
| --- | --- | --- |
| `ai` | boolean | no |
| `isPrompt` | boolean | no |
| `message` | string | yes |
| `src` | string | no |
| `type` | `"audio"` or `"message"` | yes |
| `voice` | string | no |
## `stream`
An audio stream event. The payload carries the source in `src`, a `token`, and an `action` of `LOOP`, `PLAY`, `PAUSE`, or `END`; `title`, `description`, `iconImage`, `backgroundImage`, and `loop` are optional.
| Field | Type | Required |
| --- | --- | --- |
| `action` | `"LOOP"` or `"PLAY"` or `"PAUSE"` or `"END"` | yes |
| `backgroundImage` | string | no |
| `description` | string | no |
| `iconImage` | string | no |
| `loop` | boolean | no |
| `src` | string | yes |
| `title` | string | no |
| `token` | string | yes |
## `dtmf`
Configures keypad (DTMF) input collection on a call: whether it is enabled, the timeout, the ending delimiter, and the digit cap.
| Field | Type | Required |
| --- | --- | --- |
| `delimiter` | `"#"` or `"*"`[] | yes |
| `enabled` | boolean | yes |
| `maxDigits` | number | yes |
| `timeoutInSeconds` | number | yes |
## `call-forward`
Signals that the call is being forwarded. The payload always carries the destination in `address` and its kind in `addressType`; a `phone` forward may also carry an `extension` and a `callerIDPassthrough` flag. See the call forward step for configuration.
| Field | Type | Required | Present when |
| --- | --- | --- | --- |
| `address` | string | yes | always |
| `addressType` | `"phone"` or `"sip"` | yes | always |
| `callerIDPassthrough` | boolean | no | `addressType` is `phone` |
| `extension` | string | no | `addressType` is `phone` |
{/* gen:end id=traces/spec */}
# Create property
Source: https://www.voiceflow.com/docs/api-reference/transcript-property/create-property
/specs-prettified/realtime/openapi.stable.json post /v1/stable/transcript-property
Adds a transcript property to the project, a label you define once and then set on individual conversations. The response carries the ID that later calls address it by.
# Delete property
Source: https://www.voiceflow.com/docs/api-reference/transcript-property/delete-property
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/transcript-property/{propertyID}
Deletes a single transcript property by ID. A transcript property is a label you define once and then set on individual conversations. The response carries only a confirmation message, so refetch the transcript properties to see what is left.
# Get property
Source: https://www.voiceflow.com/docs/api-reference/transcript-property/get-property
/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript-property/{propertyID}
Returns a single transcript property by ID, with the fields that define it. A transcript property is a label you define once and then set on individual conversations.
# List properties
Source: https://www.voiceflow.com/docs/api-reference/transcript-property/list-properties
/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript-property
Returns every transcript property in the project. A transcript property is a label you define once and then set on individual conversations. The call takes no paging parameters, so one request yields the whole set.
# Set property value
Source: https://www.voiceflow.com/docs/api-reference/transcript-property/set-property-value
/specs-prettified/realtime/openapi.stable.json put /v1/stable/transcript-property/{propertyID}/value
Sets a property’s value on one conversation. Defining the property and setting it are separate calls, so the definition is reused across every transcript that carries it.
# Update property
Source: https://www.voiceflow.com/docs/api-reference/transcript-property/update-property
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/transcript-property/{propertyID}
Changes an existing transcript property in place. The response carries only a confirmation message, so refetch the transcript property to read its new values.
# Get transcript
Source: https://www.voiceflow.com/docs/api-reference/transcript/get-transcript
/specs-prettified/realtime/openapi.stable.json get /v2/stable/transcript/{transcriptID}
Get a transcript by ID, in the chosen view.
# Grep transcripts
Source: https://www.voiceflow.com/docs/api-reference/transcript/grep-transcripts
/specs-prettified/realtime/openapi.stable.json post /v1/stable/transcript/grep
Find a pattern in the dialogue of many transcripts.
# List transcript files
Source: https://www.voiceflow.com/docs/api-reference/transcript/list-transcript-files
/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript/{transcriptID}/files
Returns the files attached to one transcript that Voiceflow stores, each with a presigned download URL; files referenced only by an external URL are left out. The call is unpaginated: it takes no paging parameters, so one request yields the whole set.
# Query transcript logs
Source: https://www.voiceflow.com/docs/api-reference/transcript/query-transcript-logs
/specs-prettified/realtime/openapi.stable.json post /v1/stable/transcript/{transcriptID}/logs
Searches one recorded conversation's log by entry kind, level, debug kind, turn or text, and returns the matches a page at a time. Use it to find errors or tool calls without reading the whole transcript.
# Search transcripts
Source: https://www.voiceflow.com/docs/api-reference/transcript/search-transcripts
/specs-prettified/realtime/openapi.stable.json post /v2/stable/transcript/search
Search transcripts by project ID, one compact row per transcript.
# Create many variables
Source: https://www.voiceflow.com/docs/api-reference/variable/create-many-variables
/specs-prettified/realtime/openapi.stable.json post /v2/stable/variable/batch
Adds several variables to the project in one request, each taking the fields the single-create call takes, including its name rules. The response carries the created variables in the same shape the list call returns.
# Create variable
Source: https://www.voiceflow.com/docs/api-reference/variable/create-variable
/specs-prettified/realtime/openapi.stable.json post /v2/stable/variable
Adds a variable to the project, a named slot of project state an agent can read and write. The name takes letters, digits and underscores only, up to 64 characters, and must not already be used by a variable or entity in the environment. The response carries the ID that later calls address it by.
# Delete variable
Source: https://www.voiceflow.com/docs/api-reference/variable/delete-variable
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/variable/{variableID}
Deletes a single variable by ID. A variable is a named slot of project state an agent can read and write. The response carries only a confirmation message, so refetch the variables to see what is left.
# Get variable
Source: https://www.voiceflow.com/docs/api-reference/variable/get-variable
/specs-prettified/realtime/openapi.stable.json get /v2/stable/variable/{variableID}
Returns a single variable by ID, with the fields that define it. A variable is a named slot of project state an agent can read and write.
# List variables
Source: https://www.voiceflow.com/docs/api-reference/variable/list-variables
/specs-prettified/realtime/openapi.stable.json get /v2/stable/variable
Returns every variable in the project. A variable is a named slot of project state an agent can read and write. The call takes no paging parameters, so one request yields the whole set.
# Update variable
Source: https://www.voiceflow.com/docs/api-reference/variable/update-variable
/specs-prettified/realtime/openapi.stable.json patch /v2/stable/variable/{variableID}
Changes an existing variable in place. Send `name` only when renaming, because a new name must use letters, digits and underscores and be unused by any variable or entity in the environment. The response carries only a confirmation message, so refetch the variable to read its new values.
# Organization events webhooks
Source: https://www.voiceflow.com/docs/api-reference/webhooks/org-events
Receive organization level events to your webhooks.
If you're using Voiceflow within a larger organization, you might want to integrate with your existing observability or testing tools. Organization events webhooks let you automatically receive updates whenever something happens in your organization - for example, when a new project is created. Just provide a webhook URL, and Voiceflow will send event data there in real time.
## Configuring your webhook settings
If you're less technical, we recommend using a tool like Make to generate a webhook URL and run automations. If you're a developer, you can hook into your existing infrastructure using any tool that can receive and process JSON payloads.
To enable sending data to a webhook whenever key events happen within an organization, head to your [Voiceflow dashboard](https://creator.voiceflow.com), click the **Settings** button in the bottom left corner, then select **Organization**. You can then add the URL that you'd like to send events to in the box provided.
Once you've set a webhook URL, all future events will be automatically sent to it.
## Supported events
The following organization-level events will be sent to the provided URL:
| Human-readable name | Name |
| -------------------------------- | ----------------------------------------------------------------------------------------------------- |
| New project created | [`organization.project.created`](#organization-project-created) |
| Project deleted | [`organization.project.deleted`](#organization-project-deleted) |
| Project environment created | [`organization.project.environment.created`](#organization-project-environment-created) |
| Project environment published | [`organization.project.environment.published`](#organization-project-environment-published) |
| Project environment merged | [`organization.project.environment.merged`](#organization-project-environment-merged) |
| Project environment deleted | [`organization.project.environment.deleted`](#organization-project-environment-deleted) |
### `organization.project.created`
Sent when a new project is created in the organization.
```typescript
{
"type": "organization.project.created",
"data": {
"createdBy": {
"type": string, // e.g. "user"
"userEmail": string
},
"organizationID": string,
"projectID": string,
"projectMetadata": {
"name": string
},
"workspaceID": string
},
"resource": string, // organization-{organizationID}
"time": number // unix timestamp MS, event time
}
```
```json
{
"data": {
"createdBy": {
"type": "user",
"userEmail": "user@voiceflow.com"
},
"organizationID": "LVkmPy8AE2",
"projectID": "6a16f4549e4196323d8a49b9",
"projectMetadata": {
"name": "My new project"
},
"workspaceID": "95kwAZ63nO"
},
"resource": "organization-LVkmPy8AE2",
"time": 1779889237608,
"type": "organization.project.created"
}
```
### `organization.project.deleted`
Sent when a project is deleted from the organization.
```typescript
{
"type": "organization.project.deleted",
"data": {
"deletedBy": {
"type": string, // e.g. "user"
"userEmail": string
},
"organizationID": string,
"projectID": string,
"projectMetadata": {
"name": string
},
"workspaceID": string
},
"resource": string, // organization-{organizationID}
"time": number // unix timestamp MS, event time
}
```
```json
{
"data": {
"deletedBy": {
"type": "user",
"userEmail": "user@voiceflow.com"
},
"organizationID": "LVkmPy8AE2",
"projectID": "6a16f4789e4196323d8a49c3",
"projectMetadata": {
"name": "Legacy support agent"
},
"workspaceID": "95kwAZ63nO"
},
"resource": "organization-LVkmPy8AE2",
"time": 1779889287387,
"type": "organization.project.deleted"
}
```
### `organization.project.environment.created`
Sent when a new environment is created within a project. The `source` describes the environment the new one was branched from.
```typescript
{
"type": "organization.project.environment.created",
"data": {
"createdBy": {
"type": string, // e.g. "user"
"userEmail": string
},
"createdProjectEnvironmentID": string,
"createdProjectEnvironmentMetadata": {
"alias": string,
"isLive": boolean,
"name": string,
"trafficPercentage": number
},
"organizationID": string,
"projectID": string,
"projectMetadata": {
"name": string
},
"source": {
"environmentID": string,
"environmentMetadata": {
"alias": string,
"isLive": boolean,
"name": string,
"trafficPercentage": number
},
"type": string // e.g. "environment"
},
"workspaceID": string
},
"resource": string, // organization-{organizationID}
"time": number // unix timestamp MS, event time
}
```
```json
{
"data": {
"createdBy": {
"type": "user",
"userEmail": "user@voiceflow.com"
},
"createdProjectEnvironmentID": "6a16f4dc9e4196323d8a49e5",
"createdProjectEnvironmentMetadata": {
"alias": "optimizeglobalprompt",
"isLive": false,
"name": "Optimize global prompt",
"trafficPercentage": 0
},
"organizationID": "LVkmPy8AE2",
"projectID": "69e8b60a99c9a35e1a5e8872",
"projectMetadata": {
"name": "My support agent"
},
"source": {
"environmentID": "69e8b60a99c9a35e1a5e8875",
"environmentMetadata": {
"alias": "main",
"isLive": true,
"name": "Main",
"trafficPercentage": 70
},
"type": "environment"
},
"workspaceID": "95kwAZ63nO"
},
"resource": "organization-LVkmPy8AE2",
"time": 1779889372749,
"type": "organization.project.environment.created"
}
```
### `organization.project.environment.published`
Sent when an environment within a project is published. `publishedVersionIDBefore` and `publishedVersionIDAfter` let you track what changed.
```typescript
{
"type": "organization.project.environment.published",
"data": {
"organizationID": string,
"projectID": string,
"projectMetadata": {
"name": string
},
"publishedBy": {
"type": string, // e.g. "user"
"userEmail": string
},
"publishedProjectEnvironmentID": string,
"publishedProjectEnvironmentMetadata": {
"alias": string,
"isLive": boolean,
"name": string,
"trafficPercentage": number
},
"publishedVersionIDAfter": string,
"publishedVersionIDBefore": string,
"workspaceID": string
},
"resource": string, // organization-{organizationID}
"time": number // unix timestamp MS, event time
}
```
```json
{
"data": {
"organizationID": "LVkmPy8AE2",
"projectID": "69e8b60a99c9a35e1a5e8872",
"projectMetadata": {
"name": "My support agent"
},
"publishedBy": {
"type": "user",
"userEmail": "user@voiceflow.com"
},
"publishedProjectEnvironmentID": "69e8b60a99c9a35e1a5e8875",
"publishedProjectEnvironmentMetadata": {
"alias": "main",
"isLive": true,
"name": "Main",
"trafficPercentage": 70
},
"publishedVersionIDAfter": "6a16f4b29e4196323d8a49db",
"publishedVersionIDBefore": "69e8e543ce546b913fc2c965",
"workspaceID": "95kwAZ63nO"
},
"resource": "organization-LVkmPy8AE2",
"time": 1779889330124,
"type": "organization.project.environment.published"
}
```
```json
{
"data": {
"organizationID": "LVkmPy8AE2",
"projectID": "69e8b60a99c9a35e1a5e8872",
"projectMetadata": {
"name": "My support agent"
},
"publishedBy": {
"type": "user",
"userEmail": "user@voiceflow.com"
},
"publishedProjectEnvironmentID": "6a16f4dc9e4196323d8a49e5",
"publishedProjectEnvironmentMetadata": {
"alias": "optimizeglobalprompt",
"isLive": false,
"name": "Optimize global prompt",
"trafficPercentage": 0
},
"publishedVersionIDAfter": "6a16f5129e4196323d8a49f1",
"publishedVersionIDBefore": "6a16f4dc9e4196323d8a49e3",
"workspaceID": "95kwAZ63nO"
},
"resource": "organization-LVkmPy8AE2",
"time": 1779889426435,
"type": "organization.project.environment.published"
}
```
### `organization.project.environment.merged`
Sent when one environment is merged into another. `sourceProjectEnvironmentRemoved` indicates whether the source environment was deleted as part of the merge.
```typescript
{
"type": "organization.project.environment.merged",
"data": {
"mergedBy": {
"type": string, // e.g. "user"
"userEmail": string
},
"organizationID": string,
"projectID": string,
"projectMetadata": {
"name": string
},
"sourceProjectEnvironmentID": string,
"sourceProjectEnvironmentMetadata": {
"alias": string,
"isLive": boolean,
"name": string,
"trafficPercentage": number
},
"sourceProjectEnvironmentRemoved": boolean,
"targetProjectEnvironmentID": string,
"targetProjectEnvironmentMetadata": {
"alias": string,
"isLive": boolean,
"name": string,
"trafficPercentage": number
},
"workspaceID": string
},
"resource": string, // organization-{organizationID}
"time": number // unix timestamp MS, event time
}
```
```json
{
"data": {
"mergedBy": {
"type": "user",
"userEmail": "user@voiceflow.com"
},
"organizationID": "LVkmPy8AE2",
"projectID": "69e8b60a99c9a35e1a5e8872",
"projectMetadata": {
"name": "My support agent"
},
"sourceProjectEnvironmentID": "6a16f4dc9e4196323d8a49e5",
"sourceProjectEnvironmentMetadata": {
"alias": "optimizeglobalprompt",
"isLive": false,
"name": "Optimize global prompt",
"trafficPercentage": 0
},
"sourceProjectEnvironmentRemoved": true,
"targetProjectEnvironmentID": "69e8b60a99c9a35e1a5e8875",
"targetProjectEnvironmentMetadata": {
"alias": "main",
"isLive": true,
"name": "Main",
"trafficPercentage": 70
},
"workspaceID": "95kwAZ63nO"
},
"resource": "organization-LVkmPy8AE2",
"time": 1779889488361,
"type": "organization.project.environment.merged"
}
```
### `organization.project.environment.deleted`
Sent when an environment is deleted from a project.
```typescript
{
"type": "organization.project.environment.deleted",
"data": {
"deletedBy": {
"type": string, // e.g. "user"
"userEmail": string
},
"deletedProjectEnvironmentID": string,
"deletedProjectEnvironmentMetadata": {
"alias": string,
"isLive": boolean,
"name": string,
"trafficPercentage": number
},
"organizationID": string,
"projectID": string,
"projectMetadata": {
"name": string
},
"workspaceID": string
},
"resource": string, // organization-{organizationID}
"time": number // unix timestamp MS, event time
}
```
```json
{
"data": {
"deletedBy": {
"type": "user",
"userEmail": "user@voiceflow.com"
},
"deletedProjectEnvironmentID": "69e8b64d99c9a35e1a5e888b",
"deletedProjectEnvironmentMetadata": {
"alias": "feature-upselling",
"isLive": false,
"name": "Old unused environment",
"trafficPercentage": 0
},
"organizationID": "LVkmPy8AE2",
"projectID": "69e8b60a99c9a35e1a5e8872",
"projectMetadata": {
"name": "My support agent"
},
"workspaceID": "95kwAZ63nO"
},
"resource": "organization-LVkmPy8AE2",
"time": 1779889527687,
"type": "organization.project.environment.deleted"
}
```
## Verifying requests come from Voiceflow
Once you enter a webhook URL into the settings page, you'll automatically be provided with a webhook secret. This can be used to verify that events received by the webhook were really sent by Voiceflow. [Follow these instructions to learn how to verify events using the webhook secret](https://docs.svix.com/receiving/verifying-payloads/how-manual).
If you accidentally leak your webhook secret, you can regenerate it using the 🔄 button on the settings page. Note that your previous webhook secret will remain valid for 24 hours after you regenerate it.
If you're receiving data from behind a restrictive firewall, you should know that events will come from one of [Svix's IP addresses](https://docs.svix.com/receiving/source-ips), rather than Voiceflow's.
# Session lifecycle webhook
Source: https://www.voiceflow.com/docs/api-reference/webhooks/session-lifecycle
Subscribe to session and call lifecycle webhook events so external systems get notified when Voiceflow conversations start and end.
The session lifecycle webhook notifies your systems in real time whenever a conversation starts or ends, letting you run automations around each conversation without polling for changes.
A common use is running automations once a conversation ends, without adding latency to the conversation itself. For example, you can sync conversation data to your CRM, kick off a downstream workflow in your own systems, or notify another service that a conversation has wrapped up. Because this work runs on your side in response to the webhook, none of it slows down the live conversation.
Add your webhook URL to your project under **Settings → Webhooks**.

A new webhook listens for every event. To narrow that down, choose **Listen for specific events** and tick only the ones you want: each is listed with its event name, grouped into [session events](#session-events) and [call events](#call-events). You can change the selection at any time, and deprecated events are labelled as such in the list.
## Events
Voiceflow will send POST requests to your webhook URL on the following events.
| Human-readable name | Name | Category |
| --- | --- | --- |
| Session started | [`runtime.session.start`](#runtime-session-start) | [Session events](#session-events) |
| Session ended | [`runtime.session.end`](#runtime-session-end) | [Session events](#session-events) |
| Call started | [`runtime.call.start`](#runtime-call-start) | [Call events](#call-events) |
| Call ended | [`runtime.call.end`](#runtime-call-end) | [Call events](#call-events) |
Three older `.v2` variants are deprecated and stop firing on **October 9, 2026**. See [Deprecated events](#deprecated-events).
## Session events
Session events fire whenever a conversation starts or ends, across every project and every channel. A session is the conversation itself, the state your agent builds up as it goes, so every conversation has one. These are the events most integrations listen for.
A session has to exist for these events to fire. The chat widget, voice conversations, and the Start session endpoint each create one; the deprecated legacy Interact endpoints don't, so conversations run through those produce no session events.
### `runtime.session.start`
This event is sent when a new session is started for a user.
```typescript
{
"type": "runtime.session.start",
"data": {
"userID": string,
"projectID": string,
"environmentID": string,
"sessionID": string,
"startTime": number, // unix timestamp MS
// the fields below may be null or absent — see "Optional fields"
"versionID"?: string | null, // same value as environmentID
"transcriptID"?: string | null,
"versionVariant"?: "draft" | "published" | null,
"projectEnvironmentID"?: string | null,
"projectEnvironmentAlias"?: string | null
}
"time": number // unix timestamp MS, event time
"resource": string // project-{projectID}
}
```
```json
{
"type": "runtime.session.start",
"data": {
"environmentID": "6a15b5f6a85b1b570a8773cf",
"projectID": "69f9fa36eeb8f50e7cfd2d5f",
"sessionID": "6a15b6093f95e60007ec4e04",
"startTime": 1779807753396,
"userID": "g4dq75wr6asov6z571860xg0",
"versionID": "6a15b5f6a85b1b570a8773cf",
"transcriptID": "6a15b6093f95e60007ec4e04",
"versionVariant": "published",
"projectEnvironmentID": "6a15b5f6a85b1b570a8773d4",
"projectEnvironmentAlias": "production"
},
"resource": "project-69f9fa36eeb8f50e7cfd2d5f",
"time": 1779807753433
}
```
### `runtime.session.end`
This event is sent when a session ends: because the conversation reached an end, because the caller hung up, or because the session sat idle past its timeout.
This event doesn't necessarily arrive when the user stops talking to your agent. Closing a chat widget sends no end signal, so unless your agent explicitly ends the conversation, the session runs to its idle timeout and the event arrives then, potentially long after the user left. To react the moment a conversation stops, drive it from your agent's own end-of-conversation logic.
```typescript
{
"type": "runtime.session.end",
"data": {
"userID": string,
"projectID": string,
"environmentID": string,
"sessionID": string,
"startTime": number, // unix timestamp MS
"endTime": number, // unix timestamp MS
// the fields below may be null or absent — see "Optional fields"
"endReason"?: string | null, // why the session ended, arbitrary string
"versionID"?: string | null, // same value as environmentID
"transcriptID"?: string | null,
"versionVariant"?: "draft" | "published" | null,
"projectEnvironmentID"?: string | null,
"projectEnvironmentAlias"?: string | null
}
"time": number // unix timestamp MS, event time
"resource": string // project-{projectID}
}
```
```json
{
"type": "runtime.session.end",
"data": {
"endTime": 1779807762998,
"environmentID": "6a15b5f6a85b1b570a8773cf",
"projectID": "69f9fa36eeb8f50e7cfd2d5f",
"sessionID": "6a15b6093f95e60007ec4e04",
"startTime": 1779807753396,
"userID": "g4dq75wr6asov6z571860xg0",
"endReason": "Session ended due to inactivity timeout",
"versionID": "6a15b5f6a85b1b570a8773cf",
"transcriptID": "6a15b6093f95e60007ec4e04",
"versionVariant": "published",
"projectEnvironmentID": "6a15b5f6a85b1b570a8773d4",
"projectEnvironmentAlias": "production"
},
"resource": "project-69f9fa36eeb8f50e7cfd2d5f",
"time": 1779807763081
}
```
## Call events
Call events fire on voice conversations only. They carry call-level details that exist only on a call, such as the phone numbers involved and why the call ended.
A voice conversation emits call events **and** session events, because the two describe different things: the call is the voice connection, and the session is the conversation carried over it. Check `type` to tell which event you're handling, and use `data.sessionID` to join the two.
Their end events are not interchangeable either:
- `runtime.call.end` fires when the voice connection is torn down.
- `runtime.session.end` fires when the session expires. On a normal hangup that follows within a few seconds, because hanging up marks the session as expired. If the hangup never reaches Voiceflow, the session ends on its idle timeout instead, which can be much later.
Use `runtime.call.end` for call duration and `runtime.session.end` for conversation lifetime.
Calls and sessions aren't one-to-one. A caller who reaches your agent again while their previous session is still active reuses that session, so the second call emits `runtime.call.start` and `runtime.call.end` with no new `runtime.session.start`. That session's `runtime.session.end` arrives once the session itself expires, after the last call. On a reused session, `data.sessionID` and `data.transcriptID` are `null` on `runtime.call.start`, so that event can't be joined to its session.
### `runtime.call.start`
This event is sent when a voice call starts: an inbound or outbound phone call, or a voice call from the web widget, including test calls in the Voiceflow editor.
```typescript
{
"type": "runtime.call.start",
"data": {
"userID": string,
"projectID": string,
"environmentID": string,
"startTime": number, // unix timestamp MS
"platform": "twilio" | "telnyx" | "vonage" | "voiceflow" | "web-voice",
"metadata": object, // depends on "platform"
// the fields below may be null or absent — see "Optional fields"
"sessionID"?: string | null, // the session this call is attached to
"versionID"?: string | null, // same value as environmentID
"transcriptID"?: string | null,
"versionVariant"?: "draft" | "published" | null,
"projectEnvironmentID"?: string | null,
"projectEnvironmentAlias"?: string | null
}
"time": number // unix timestamp MS, event time
"resource": string // project-{projectID}
}
```
```json
{
"type": "runtime.call.start",
"data": {
"userID": "+19876543210",
"environmentID": "69f3df348d8088f34a622739",
"projectID": "6772da2e485189279fa5b9da",
"startTime": 1743563467788,
"platform": "twilio",
"metadata": {
"callSid": "CA01ed76f14fee29c50f5de59400474006",
"callType": "inbound",
"userNumber": "+19876543210",
"agentNumber": "+17782006110"
},
"sessionID": "69f3df3a3f95e60007ec4e04",
"versionID": "69f3df348d8088f34a622739",
"transcriptID": "69f3df3a3f95e60007ec4e04",
"versionVariant": "published",
"projectEnvironmentID": "69f3df348d8088f34a62273f",
"projectEnvironmentAlias": "production"
},
"time": 1743563467874,
"resource": "project-6772da2e485189279fa5b9da"
}
```
### `runtime.call.end`
This event is sent when a call is completed.
```typescript
{
"type": "runtime.call.end",
"data": {
"userID": string,
"projectID": string,
"environmentID": string,
"startTime": number, // unix timestamp MS
"endTime": number, // unix timestamp MS
"endReason": string, // why the call ended, arbitrary string, common reasons include "hangup" "end trace" "twiml" "answering machine"
"platform": "twilio" | "telnyx" | "vonage" | "voiceflow" | "web-voice",
"metadata": object, // depends on "platform"
// the fields below may be null or absent — see "Optional fields"
"sessionID"?: string | null, // the session this call was attached to
"versionID"?: string | null, // same value as environmentID
"transcriptID"?: string | null,
"versionVariant"?: "draft" | "published" | null,
"projectEnvironmentID"?: string | null,
"projectEnvironmentAlias"?: string | null
}
"time": number // unix timestamp MS
"resource": string // project-{projectID}
}
```
```json
{
"type": "runtime.call.end",
"data": {
"userID": "+19876543210",
"environmentID": "69f3df348d8088f34a622739",
"projectID": "6772da2e485189279fa5b9da",
"startTime": 1743563467788,
"endTime": 1743563467834,
"endReason": "hangup",
"platform": "twilio",
"metadata": {
"callSid": "CA01ed76f14fee29c50f5de59400474006",
"callType": "inbound",
"userNumber": "+19876543210",
"agentNumber": "+17782006110"
},
"sessionID": "69f3df3a3f95e60007ec4e04",
"versionID": "69f3df348d8088f34a622739",
"transcriptID": "69f3df3a3f95e60007ec4e04",
"versionVariant": "published",
"projectEnvironmentID": "69f3df348d8088f34a62273f",
"projectEnvironmentAlias": "production"
},
"time": 1743563467874,
"resource": "project-6772da2e485189279fa5b9da"
}
```
## Optional fields
Several fields on the four events above are **optional and nullable**: `versionID`, `transcriptID`, `versionVariant`, `projectEnvironmentID`, `projectEnvironmentAlias`, `sessionID` (call events only), and `endReason` (on `runtime.session.end`).
They are populated whenever the value is available, and are `null` otherwise. Treat a missing or `null` value as "not known for this conversation" rather than as an error, and don't require them to be present when parsing a payload.
`endReason` on `runtime.session.end` is typed as nullable but in practice always carries a value. Sessions that simply time out report `"Session ended due to inactivity timeout"`, and a session displaced by a new one reports `"Session expired because a new one was started"`. It's an arbitrary string, so match on it defensively rather than treating the set as fixed.
`versionID` carries the same value as `environmentID`. It exists so that consumers written against the deprecated `.v2` events, which used the name `versionID`, keep working after migrating.
`transcriptID` carries the same value as `sessionID`, because a conversation's transcript is keyed on the session that produced it. It's `null` when transcripts are disabled for the session, which is the case to guard against if you use it to build transcript links.
## Deprecated events
`runtime.session.start.v2`, `runtime.call.start.v2` and `runtime.call.end.v2` are deprecated. They will **stop firing on October 9, 2026**. If you subscribe to any of them, switch to the corresponding event without the `.v2` suffix before then.
Until that date the deprecated events keep firing exactly as they do today, alongside their replacements, so you can migrate at your own pace. If you subscribe to both an event and its `.v2` variant during this window you'll receive both, and should ignore one of them.
| Deprecated event | Replace with |
| --- | --- |
| `runtime.session.start.v2` | [`runtime.session.start`](#runtime-session-start) |
| `runtime.call.start.v2` | [`runtime.call.start`](#runtime-call-start) |
| `runtime.call.end.v2` | [`runtime.call.end`](#runtime-call-end) |
The `.v2` events existed only to add richer metadata. That metadata now ships on the standard events, so the two payloads carry the same information. Differences to handle when you migrate:
| Field on the `.v2` event | On the replacement event |
| --- | --- |
| `versionID` | `versionID`, carrying the same value. The replacement events also include `environmentID` with that value. |
| `sessionID`, `transcriptID`, `versionVariant`, `projectEnvironmentID`, `projectEnvironmentAlias` | Same names and values, but [optional and nullable](#optional-fields). The `.v2` events only fired when these were all known; the replacements fire on every session or call, so your handler needs to tolerate `null`. |
| `endReason` (on `runtime.call.end.v2`) | `endReason` on `runtime.call.end`, always present and never `null`. |
`runtime.session.end.v2` has also been removed. Unlike the events above it never fired, because its trigger condition depended on data that was never recorded, so it has no subscribers and no migration path is needed. Use [`runtime.session.end`](#runtime-session-end), which now carries the fields `runtime.session.end.v2` was intended to add.
## Best practices
- Check `type` when evaluating a response. There may be additional types of events in the future with a different shaped request body, as well as new properties and metadata.
- **Parse payloads permissively.** New fields are added to existing events without introducing a new event name or version, so treat unrecognized properties as expected. A new event *name* is only introduced when an existing field's meaning or shape changes.
- Don't require the [optional fields](#optional-fields) to be present. Handle `null`.
- `data.metadata` is only included on call events. Check `data.platform` before reading it, as the available fields vary by platform (eg: `data.metadata.callSid` isn't present on a `"web-voice"` call).
- Join call events to session events on `data.sessionID` where it's present, and don't assume one call per session. See [Call events](#call-events).
- If you're using the same webhook URL across multiple projects, check `data.projectID` to tell them apart.
# Get widget
Source: https://www.voiceflow.com/docs/api-reference/widget/get-widget
/specs-prettified/realtime/openapi.stable.json get /v1/stable/widget
Returns the widget configuration stored on the environment's draft version: which surface the embed runs and the settings of each surface. Visitors see the published version, so this can differ from the live site until the environment is published.
# Get widget snippet
Source: https://www.voiceflow.com/docs/api-reference/widget/get-widget-snippet
/specs-prettified/realtime/openapi.stable.json get /v1/stable/widget/snippet
Returns the script tag that embeds the chat widget on a website, filled in for this project and environment, to place before each page's closing body tag.
# Update widget
Source: https://www.voiceflow.com/docs/api-reference/widget/update-widget
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/widget
Changes the widget configuration on the environment's draft version, such as its surface, colors, launcher, disclaimers, or approved domains. The change reaches visitors once the environment is published.
# Add port actions
Source: https://www.voiceflow.com/docs/api-reference/workflow/add-port-actions
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workflow/{workflowID}/step/{stepID}/link/{portKey}/actions
Adds port actions to one exit of a step. They run in order when the conversation leaves through that exit, before the path reaches the next block. Add 1 to 10 at a time, and send the exit's current action IDs as `expectedActions`.
# Add workflow blocks
Source: https://www.voiceflow.com/docs/api-reference/workflow/add-workflow-blocks
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workflow/{workflowID}/blocks
Creates up to 20 blocks with their steps in one write, links them to each other and to existing blocks, and can link existing ports to them. The server places the new blocks, so the request carries no coordinates.
# Add workflow branch
Source: https://www.voiceflow.com/docs/api-reference/workflow/add-workflow-branch
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workflow/{workflowID}/step/{stepID}/branch
Gives a Condition, Buttons, Card, Carousel, Code or Crew step one more way out. When you send `to`, the call also links the new branch to a block.
# Arrange workflow blocks
Source: https://www.voiceflow.com/docs/api-reference/workflow/arrange-workflow-blocks
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workflow/{workflowID}/arrange
Moves blocks into columns by their links, starting from the Start block, with blocks stacked by height. Pass blockIDs to move only those blocks; otherwise every block moves except the Start. Steps, links and names are not changed.
# Create block
Source: https://www.voiceflow.com/docs/api-reference/workflow/create-block
/specs-prettified/realtime/openapi.stable.json post /v2/stable/workflow/{workflowID}/block
Adds a block of 1 to 20 steps to an existing workflow, placed next to `placement.afterBlockID`. When you send `from`, the call also links that port to the new block and replaces the block that port led to. If other edits keep changing the workflow while the call saves, it returns 409 and writes nothing.
# Create workflow
Source: https://www.voiceflow.com/docs/api-reference/workflow/create-workflow
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workflow
Builds a whole workflow in one request, including its blocks, steps, branches and the links between blocks. The new workflow is not reachable by the agent until you add it to the agent's workflows and write a routing rule for it.
# Delete workflow
Source: https://www.voiceflow.com/docs/api-reference/workflow/delete-workflow
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/workflow/{workflowID}
Removes the workflow from the environment. The agent's routing can still name it, so check the agent's rules. The response carries only a confirmation message, so refetch the workflows to see what is left.
# Delete workflow block
Source: https://www.voiceflow.com/docs/api-reference/workflow/delete-workflow-block
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/workflow/{workflowID}/block/{blockID}
Deletes a whole block, which is removed from the workflow with the links into it. Send `expectedSteps` as your last read returned them, so a changed block is not deleted by mistake. The response lists the links that were cleared and the links that now run.
# Delete workflow branch
Source: https://www.voiceflow.com/docs/api-reference/workflow/delete-workflow-branch
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/workflow/{workflowID}/step/{stepID}/branch/{branchID}
Removes a branch from a step together with its port and link. Removing the last path of a Condition also removes its else port.
# Delete workflow step
Source: https://www.voiceflow.com/docs/api-reference/workflow/delete-workflow-step
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/workflow/{workflowID}/step/{stepID}
Removes one step, or one action from an exit when you pass an action ID; it is removed from the block it sat in. Send `expectedSteps` as your last read returned them. The response lists the links that were cleared and the links that now run.
# Duplicate workflow
Source: https://www.voiceflow.com/docs/api-reference/workflow/duplicate-workflow
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workflow/{workflowID}/duplicate
Copies a workflow under the name you give. The copy gets its own copies of the messages, prompts, playbooks and Operator agents its steps use, while block and step IDs stay the same.
# Get raw workflow
Source: https://www.voiceflow.com/docs/api-reference/workflow/get-raw-workflow
/specs-prettified/realtime/openapi.stable.json get /v1/stable/workflow/{workflowID}/raw
Returns the workflow's canvas nodes as they are stored, with real coordinates, as a map keyed by node ID. Pass blockIDs to narrow the read to some blocks; it is larger than the standard workflow read, so use it only when that read cannot answer.
# Get workflow
Source: https://www.voiceflow.com/docs/api-reference/workflow/get-workflow
/specs-prettified/realtime/openapi.stable.json get /v1/stable/workflow/{workflowID}
Reads a workflow as blocks of steps, each with its kind, content and links. Messages and prompts appear as IDs, not their text. Read it before any edit to get the block and step IDs.
# Get workflow step
Source: https://www.voiceflow.com/docs/api-reference/workflow/get-workflow-step
/specs-prettified/realtime/openapi.stable.json get /v1/stable/workflow/{workflowID}/step/{stepID}
Reads a single step without fetching the whole workflow. An action ID from an exit's actions reads the same way.
# Insert workflow step
Source: https://www.voiceflow.com/docs/api-reference/workflow/insert-workflow-step
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workflow/{workflowID}/block/{blockID}/step
Adds a step to a block, either after a step you name or at the start of the block. Send `expectedSteps` as your last read returned them; if the block changed since then, the call returns 409 and writes nothing.
# Link a port
Source: https://www.voiceflow.com/docs/api-reference/workflow/link-a-port
/specs-prettified/realtime/openapi.stable.json put /v2/stable/workflow/{workflowID}/step/{stepID}/link/{portKey}
Wires an exit of a step to a block, replacing whatever the port led to before. If other edits keep changing the workflow while the call saves, it returns 409 and writes nothing; read the workflow again and resend.
# Link many ports
Source: https://www.voiceflow.com/docs/api-reference/workflow/link-many-ports
/specs-prettified/realtime/openapi.stable.json put /v1/stable/workflow/{workflowID}/links
Points up to 50 ports at blocks in one write. Every link is checked before anything is saved, and they save together; a port that led elsewhere now leads to the new block and keeps its actions.
# List workflows
Source: https://www.voiceflow.com/docs/api-reference/workflow/list-workflows
/specs-prettified/realtime/openapi.stable.json get /v1/stable/workflow
Returns a page of the environment's workflows with the IDs the other workflow operations take. A workflow is a graph of blocks and steps the agent can run; send `nextCursor` as `cursor` for the next page.
# Reorder port actions
Source: https://www.voiceflow.com/docs/api-reference/workflow/reorder-port-actions
/specs-prettified/realtime/openapi.stable.json put /v1/stable/workflow/{workflowID}/step/{stepID}/link/{portKey}/actions/order
Sets a new running order for the actions on an exit. Send every action ID of the exit; the path still continues to the same block afterward.
# Replace port action
Source: https://www.voiceflow.com/docs/api-reference/workflow/replace-port-action
/specs-prettified/realtime/openapi.stable.json put /v1/stable/workflow/{workflowID}/action/{actionID}
Replaces one action on a block exit with a new action of any kind, keeping its place in the run order. The new action gets a new ID, and an action that ends the path drops the link the exit had.
# Split workflow block
Source: https://www.voiceflow.com/docs/api-reference/workflow/split-workflow-block
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workflow/{workflowID}/block/{blockID}/split
Divides one block into two at a step you choose, so a link can enter at that step or a step can branch. Send `expectedSteps` as your last read returned them; if the block changed since then, the call returns 409 and writes nothing.
# Unlink a port
Source: https://www.voiceflow.com/docs/api-reference/workflow/unlink-a-port
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/workflow/{workflowID}/step/{stepID}/link/{portKey}
Disconnects an exit so the path stops there. No step or block is deleted, and any actions on the exit stay.
# Update block
Source: https://www.voiceflow.com/docs/api-reference/workflow/update-block
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/workflow/{workflowID}/block/{blockID}
Changes a block's name or color. Its steps and links stay as they are.
# Update workflow
Source: https://www.voiceflow.com/docs/api-reference/workflow/update-workflow
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/workflow/{workflowID}
Changes a workflow's name, description or folder. It does not edit blocks or steps; use the block and step operations for that.
# Update workflow branch
Source: https://www.voiceflow.com/docs/api-reference/workflow/update-workflow-branch
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/workflow/{workflowID}/step/{stepID}/branch/{branchID}
Edits a branch's label, assertions, URL or exit path details. The branch keeps its link; use the link operation to repoint it. `assertions` replaces the branch's whole list of checks.
# Update workflow step
Source: https://www.voiceflow.com/docs/api-reference/workflow/update-workflow-step
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/workflow/{workflowID}/step/{stepID}
Edits a step's settings, or points it at a different message or prompt. To change the words a step says, update its message or prompt instead. Branches have their own operations.
# Create workspace
Source: https://www.voiceflow.com/docs/api-reference/workspace/create-workspace
/specs-prettified/realtime/openapi.stable.json post /v1/stable/workspace
Adds a workspace to the account, the container that groups projects and the people who work on them. The response carries the ID that later calls address it by.
# Delete workspace
Source: https://www.voiceflow.com/docs/api-reference/workspace/delete-workspace
/specs-prettified/realtime/openapi.stable.json delete /v1/stable/workspace/{workspaceID}
Deletes a single workspace by ID. A workspace is the container that groups projects and the people who work on them. The response carries only a confirmation message, so refetch the workspaces to see what is left.
# Get workspace
Source: https://www.voiceflow.com/docs/api-reference/workspace/get-workspace
/specs-prettified/realtime/openapi.stable.json get /v1/stable/workspace/{workspaceID}
Returns a single workspace by ID, with the fields that define it. A workspace is the container that groups projects and the people who work on them.
# List workspaces
Source: https://www.voiceflow.com/docs/api-reference/workspace/list-workspaces
/specs-prettified/realtime/openapi.stable.json get /v1/stable/workspace
Returns every workspace in the account. A workspace is the container that groups projects and the people who work on them. The call takes no paging parameters, so one request yields the whole set.
# Update workspace
Source: https://www.voiceflow.com/docs/api-reference/workspace/update-workspace
/specs-prettified/realtime/openapi.stable.json patch /v1/stable/workspace/{workspaceID}
Changes an existing workspace in place. The response carries only a confirmation message, so refetch the workspace to read its new values.
# Changelog
Source: https://www.voiceflow.com/docs/changelog/changelog
Stay up to date with Voiceflow product updates, new features, bug fixes, and platform improvements shipped across the agent builder and APIs.
## Manage personas through the API, MCP and Atlas
You can now list, create, read, update and delete [personas](/docs/documentation/build/data/personas), the saved [variable](/docs/documentation/build/data/variables) values a [test](/docs/documentation/measure/tests) or Run panel conversation starts from, through the stable API, the Voiceflow MCP server and Atlas.
- The stable API has persona endpoints scoped to a project and [environment](/docs/documentation/deploy/environments/overview).
- The [Voiceflow MCP server](/docs/mcp/setup) has a `voiceflow_persona` tool.
- Atlas reads personas freely and treats create, update and delete as write actions.
- The OAuth consent screen offers a **Personas** permission group.
Each persona has a unique name and items that set an existing variable, by name, to a value; an update replaces the whole item list. Unknown or repeated variable names, duplicate persona names and going over the plan's persona limit are refused with an explanation, and nothing is written.
{/* manifest: personas-can-be-listed-created-read-updated-and-deleted-thro */}
## Voiceflow MCP server now serves version 3 by default
The [Voiceflow MCP server](/docs/mcp/setup) now gives AI clients one small `vf_*` tool per operation, so the tool list is smaller and cheaper. A client starts with `vf_get_started`, loads full schemas with `vf_describe_operations`, and loads how-to guides only when needed with `vf_skill_list` and `vf_skill_load`.
Add options to the `https://mcp.voiceflow.com/mcp` URL to narrow a connection:
- `toolsets=agent,playbook` limits the client to those tool groups.
- `read_only=true` gives the client read-only access.
- `project=` limits the client to one project.
Clients that depend on the grouped `voiceflow_*` tools keep them by adding `?version=2` to the URL.
{/* manifest: the-voiceflow-mcp-server-serves-version-3-by-default-one-sma */}
## Attach metadata to a transcript property value
[Integrations](/docs/documentation/build/steps/integration) that tag [transcripts](/docs/documentation/measure/transcripts) with property values can now store structured context, such as who reviewed the transcript or a score, alongside each value. The [Set property value](/docs/api-reference/transcript-property/set-property-value) endpoint of the stable API accepts it as an optional `metadata` object.
- [Send](/docs/api-reference/conversation/send) `PUT /v1/stable/transcript-property/{propertyID}/value` with `value`, `transcriptID` and, if you want to record context, `metadata`.
- Omit `metadata` or pass `null` to record none.
{/* manifest: the-stable-api-s-set-transcript-property-value-accepts-an-op */}
## Test a function against up to 12 cases via API
You can now run a [function](/docs/documentation/build/steps/function)'s saved code against up to 12 test cases in one call, with no network access, before you rely on it. The [Check function](/docs/api-reference/function/check-function) endpoint reports how each case compared with the expected path and outputs.
- Send a `POST` to the function check route with up to 12 cases, each with `inputs` and optional `expectPath` and `expectOutputs`.
- For each case, the response returns the exit path, the outputs, any error, and whether the case matched.
{/* manifest: stable-api-function-check-runs-a-function-s-saved-code-on-up */}
## Check what a publish would change from the API
You can now compare an [environment](/docs/documentation/deploy/environments/overview)'s draft with its last publish from a script, the CLI or an AI client. It is the same comparison the [publish](/docs/documentation/deploy/environments/publishing) modal shows, without opening the modal.
- Send a `GET` to the [environment diff](/docs/api-reference/environment/diff-environment) route with a `projectID` and the environment alias.
- The response returns the changes between the draft and the last publish, sorted into categories.
An environment that has never been published answers `409` and asks you to publish once first.
{/* manifest: stable-api-environment-diff-compares-an-environment-s-draft- */}
## Search and set agent voices from Atlas, MCP or CLI
Atlas, the [Voiceflow MCP server](/docs/mcp/setup) and the CLI can now find a voice in the ElevenLabs and Cartesia catalog and set it on your agent. Ask for "use Vikram" or "a calm British woman for French callers" and the voice is found and applied.
- [Search voices](/docs/api-reference/agent/search-voices) (`GET /v1/stable/agent/voice-catalog`) searches by words, voice ID, language, provider and gender, and returns a sample link for each voice.
- [Patch voices](/docs/api-reference/agent/patch-voices) (`PATCH /v1/stable/agent/voices`) sets the default voice, or adds, replaces or removes one language voice, without touching the agent's other voices.
Voice IDs that are not in the catalog are refused.
{/* manifest: atlas-the-voiceflow-mcp-server-and-the-cli-can-search-the-el */}
## Connect ChatGPT to the Voiceflow MCP server
ChatGPT can now be connected to your Voiceflow account through the [Voiceflow MCP server](/docs/mcp/setup), so you can work on your agents from ChatGPT.
1. In ChatGPT, add a custom MCP server pointed at `https://mcp.voiceflow.com/mcp` with OAuth.
2. ChatGPT registers itself.
3. Sign in to Voiceflow in the browser, and you are sent back to ChatGPT.
The connection signs in through [MCP authentication](/docs/mcp/authentication).
{/* manifest: chatgpt-can-register-with-and-sign-in-to-the-voiceflow-mcp-s */}
## Pick from full ElevenLabs and Cartesia voice catalogs
The voice pickers in your agent's [behaviour](/docs/documentation/build/behaviour) settings now load the complete ElevenLabs and Cartesia voice catalogs.
- Every vendor voice missing from the built-in list is added to the voices editor, alongside the other providers' voices.
- Built-in voices show the catalog's languages, accents, ages and use cases.
To browse them, open **Settings** > **Behaviour** > **Voice** and click a voice.
{/* manifest: the-voice-pickers-load-voiceflow-s-published-elevenlabs-and- */}
## Translate transcripts in the transcript viewer
You can now translate a conversation into your own language from the [transcript](/docs/documentation/measure/transcripts) viewer, so you can read a conversation held in another language without copying it into a translator.
- Choose **Translate** in the transcript viewer under **Transcripts** to translate user messages, agent messages, card text and button labels.
- Choose **Show original** to switch back to the text as it was written.
- Markdown, links and numbers are kept in the translated text.
Each translation spends your [workspace](/docs/documentation/account-management/collaboration)'s credits, and it is refused when they run out.
{/* manifest: transcripts-can-be-translated-into-the-reader-s-language-thr */}
## Queue messages to Atlas while it works
You can keep typing to Atlas while it works. Each message you send joins a queue above the input and goes out on its own when the turn finishes.
- A stacked deck reading "N queued. Sends when Atlas finishes." appears when you press Enter or the send arrow while Atlas is working.
- Hover the deck to unfurl it, then choose **Edit** to put a message back in the input or **Remove** to delete it.
- Press the up arrow in an empty input to take back the newest queued message.
- Press **Stop** or Escape to return every queued message to the input and send none of them.
- The deck reads "Sends after you answer." when Atlas is waiting on a question.
You can queue up to 10 messages, and plan sessions have no queue.
{/* manifest: messages-typed-while-atlas-is-working-are-queued-in-a-stacke */}
## Analytics charts handle sparse and partial days
Charts in [Analytics](/docs/documentation/measure/analytics), [Evaluations](/docs/documentation/measure/evaluations) and Usage now join days without data with a faint dashed line and mark today's unfinished period, so low-traffic agents no longer see lone dots or a false drop.
{/* manifest: analytics-evaluation-and-usage-charts-bridge-days-without-da */}
## Pick voices from a full-screen voice library
You can now browse, preview and compare voices from different providers in one full-screen voice library, and pick a voice without choosing a provider first. To open it, click the **Voice** field under **Voice output** in your agent's [behaviour settings](/docs/documentation/build/behaviour).
- Search voices by name or ID.
- Filter by language and accent, provider, model and gender.
- Play a sample before you click a voice.
- Picking a voice from another provider switches the provider for you.
- Choose the model in the **Voice model** field under the voice.
- Add ElevenLabs custom voices by ID or by pasting an ElevenLabs voice link.
{/* manifest: clicking-a-voice-field-opens-a-full-screen-voice-library-to- */}
## Set a different voice for each language in Behaviour
You can now give your agent a different voice for each language it speaks, and manage all of its voices in one full-screen editor.
- Under **Settings > Behaviour > Voice output** in [Behaviour](/docs/documentation/build/behaviour), you see the primary voice and each language override with its flag, voice and provider, and **Add language override** adds a new one.
- Clicking a row opens the voices editor, with your agent's voices on the left, the voice library in the middle and the selected voice's model and settings on the right.
- In the left column you drag voices to reorder them and play them to preview, and your changes save as you go.
- The voice pill in the canvas header and the **Agent voice** link on the [widget](/docs/documentation/deploy/widget/custom-web-chat-styling) page open the same editor.
{/* manifest: behaviour-voice-lists-the-agent-s-primary-voice-and-per-lang */}
## Connect your own SIP trunk to a phone number
You can now connect your own carrier's [SIP](/docs/documentation/deploy/phone/connect-with-sip) trunk, such as Twilio Elastic SIP, from **Phone numbers** > **Add** > **Bring your own SIP**. Inbound and outbound settings are separate, with failover addresses and encrypted call audio.
- Give the trunk a label, then turn on **Inbound calls** (allowed IPs, credentials or both) and/or **Outbound calls and transfers**.
- For outbound, add addresses in failover order, each with a port and a UDP, TCP or TLS protocol, plus an optional username, password and caller ID.
- Voiceflow gives you a SIP address to send calls to, and the trunk opens in a side editor that saves when you leave a field.
The optional **Encrypted audio (SRTP)** section is on both SIP forms and requires TLS.
{/* manifest: bring-your-own-sip-trunks-a-bring-your-own-sip-tab-creates-a */}
## Merge review warns before replacing Main's unpublished draft
The [merge](/docs/documentation/deploy/environments/merging) review in **Settings > Environments > Merge** now warns you when the target [environment](/docs/documentation/deploy/environments/overview) has an unpublished draft that the merge will replace with the source's [published version](/docs/documentation/deploy/environments/publishing).
{/* manifest: the-environment-merge-review-warns-when-the-target-environme */}
## Review Atlas prompt and instructions changes before approving
Before you approve an Atlas change to your [global prompt](/docs/documentation/build/global-prompt), your agent's [instructions](/docs/documentation/build/instructions) or a [playbook](/docs/documentation/build/playbooks)'s instructions, you can see exactly what changes, with the stored text set against Atlas's proposal.
1. Click **Review changes** on the approval strip above the Atlas composer.
2. Read the stored text against Atlas's proposal in the changes review.
3. Click **Approve** or **Reject** on the strip.
This applies when Atlas is in Manual mode.
{/* manifest: review-changes-on-an-atlas-approval-strip-for-a-prompt-or-in */}
## Read and copy chunk metadata in the knowledge base
Hovering the grey metadata line above a chunk in a [data source](/docs/documentation/build/importing-data-sources) now shows a **Metadata** readout, and a **Copy as JSON** button in the tooltip copies it in one click.
- Each metadata key and its value get their own row, up to 10 rows, followed by an `and N more` count.
- The smart-chunking options applied to the chunk are listed below the rows.
Find it under **Knowledge base > Data source > Chunks**.
{/* manifest: hovering-a-knowledge-base-chunk-s-metadata-line-shows-a-meta */}
## Messages sent mid-turn interrupt your agent when possible
A message that arrives while your agent is busy, for example during a tool call, is now held on v4 socket and voice conversations instead of being rejected. It interrupts the turn at the first point where the turn can be interrupted, or runs when the turn ends.
- Several messages sent while one is waiting are merged into a single turn.
- A newer non-message action replaces an older held one, and the older one is rejected as superseded.
- A held [end](/docs/documentation/build/steps/end) is never replaced.
{/* manifest: a-message-that-arrives-while-a-v4-socket-or-voice-turn-canno */}
## Read evaluation release cards in full over the criteria table
A release card now opens in full over the criteria table when you hover a release marker on an evaluation card on the [Evaluations](/docs/documentation/measure/evaluations) page.
{/* manifest: an-evaluation-card-s-release-card-opens-whole-over-the-crite */}
## Close an evaluation's log by clicking its row again
You can now close an **Evaluation log** by clicking its open row again in the **Results** table of an [evaluation](/docs/documentation/measure/evaluations).
Clicking a different row still switches the log to that row.
{/* manifest: clicking-the-open-row-in-an-evaluation-s-results-table-again */}
## Agents can link knowledge base source pages
Your agent can now link the page an answer came from: each result it reads from the [knowledge base](/docs/documentation/build/querying-the-knowledge-base) includes that page's address, such as a web page URL or a Zendesk article's public help center link. This holds even when **Show source URL(s)** is off.
- To have the agent link the page it used, ask it to in its [instructions](/docs/documentation/build/instructions).
- To keep it from sharing links, tell it not to in the same place.
- **Show source URL(s)** still adds its separate citations in chat projects.
This works for agents that have the knowledge base tool turned on.
{/* manifest: each-knowledge-base-result-an-agent-reads-now-carries-its-so */}
## Shopify imports now include only active products
Importing a Shopify store as a [data source](/docs/documentation/build/importing-data-sources) now adds only active products to your [knowledge base](/docs/resources/glossary/knowledge-and-data) and the **Add data sources** count, not draft or archived ones.
{/* manifest: a-shopify-knowledge-base-import-counts-and-imports-only-the- */}
## Run panel debug logs show system prompt variables filled in
The `ai result` system prompt in **Run** panel debug logs now shows your [variables](/docs/documentation/build/data/variables) filled in, as the model received it, and `last_response` shows the value the request used.
{/* manifest: the-system-prompt-in-an-llm-call-s-ai-result-debug-log-shows */}
## Secrets page shows who last changed each value
The [Secrets](/docs/documentation/build/data/secrets) page now shows who last changed each secret's value in the environment you are in, alongside when.
- Open **Settings > Secrets** and read the **Last editor** column to see the member who made the change.
- A change made through a [personal key](/docs/developers/authentication/personal-keys) names the member who created the key.
- **Service account** appears when a service account, such as an Atlas routine, made the change.
- The column stays empty when no editor is known.
When values move between [environments](/docs/documentation/deploy/environments/overview) by [publishing](/docs/documentation/deploy/environments/publishing), [merging](/docs/documentation/deploy/environments/merging), cloning, discarding, reverting or pulling from Main, each secret keeps its original editor and time. A change made through the API appears in open builder tabs straight away.
{/* manifest: the-environment-secrets-table-gains-a-last-editor-column-nam */}
## Zendesk tools keep custom fields when fetching fails
[Zendesk tool](/docs/documentation/build/tools/zendesk-tool) settings now keep your stored custom fields when fetching them fails, and no longer save the tool each time you open it.
{/* manifest: integration-tool-settings-keep-a-zendesk-tool-s-stored-custo */}
## Atlas can now optimize long playbooks and Main Agent instructions
Atlas can now shorten a long [playbook](/docs/documentation/build/playbooks) or the Main Agent's [instructions](/docs/documentation/build/instructions) without losing a rule, or move a separate job into its own playbook with its tools, exit paths, routing and tests.
- Ask Atlas to optimize, shorten, clean up or split a playbook or the Main Agent's instructions.
- Accept the suggestion Atlas offers once after it reads instructions of 25,000 characters or more.
Atlas reads the whole text and everything linked to it, then writes one plan with the current size and the target size and asks once for your go-ahead in the conversation. After you approve, it runs the [tests](/docs/documentation/measure/tests) the plan names, makes every change, runs them again and reports the passed checks before and after.
{/* manifest: atlas-condenses-a-long-playbook-or-the-main-agent-s-instruct */}
## Manage phone numbers from a side editor
You can now manage [phone numbers](/docs/documentation/deploy/phone/connect-a-phone-number) from one list: open a number to see and rename it, and assign, move or unassign it between agents on the [workspace](/docs/documentation/account-management/collaboration) **Phone numbers** page.
- Click a row to open a side editor with the number's label, number, provider, [environment](/docs/documentation/deploy/environments/overview) and assignment, or right-click a row for its actions.
- An unassigned number's **Assigned to** cell reads **Assign** and lists the workspace's agents.
- An assigned number's agent name opens a menu to move it, **Unassign** it or open the agent, each confirmed in place.
- In **Create number**, Twilio, Vonage and Telnyx credentials are masked until you click the eye.
- A form closed by clicking outside keeps what you typed until the page reloads.
Only a Twilio number's menu lists chat agents for [SMS](/docs/documentation/deploy/sms/inbound), separately from voice agents.
{/* manifest: phone-numbers-open-in-a-side-editor-on-the-workspace-and-age */}
## Large workflows stay responsive on the canvas
Large [workflows](/docs/documentation/build/how-agents-work) on the canvas no longer lag, go black or crash the browser tab while you work.
{/* manifest: large-workflows-stay-responsive-on-the-canvas-again-the-hidd */}
## Sync Zendesk or Shopify into the knowledge base
A Zendesk help center or Shopify store can now be one source in your [knowledge base](/docs/documentation/build/importing-data-sources) that keeps its pages current, the way a sitemap source does.
- Matching items are imported as pages in the source's folder, and new articles or products are added on each sync.
- Pages whose items were removed upstream are removed.
- Pages you deleted stay deleted on later syncs.
- Existing pages from the same account are reused instead of duplicated.
- Kept pages are refreshed in paced batches.
Creating the source needs a connected account, and any filters you set decide which items are imported.
{/* manifest: a-zendesk-help-center-or-shopify-store-can-become-one-knowle */}
## Playbook steps can now include the global prompt
A [playbook](/docs/documentation/build/steps/playbook) step in a workflow can now follow your agent's [global prompt](/docs/documentation/build/global-prompt) persona and guidelines before its own instructions with **Include global prompt**, also settable as `includeGlobalPrompt` in the API.
{/* manifest: a-workflow-s-playbook-step-gains-include-global-prompt-which */}
## Agents can now use Kustomer tools
[Agents](/docs/documentation/build/how-agents-work) and [playbooks](/docs/documentation/build/playbooks) can now work with Kustomer during a conversation, using twelve tools you add from **Tools > Add tool > Kustomer**.
- Find, create and update customers with **Find customer**, **Create customer** and **Update customer**.
- Open and update conversations with **Create conversation** and **Update conversation**, or look them up with **Find conversation** and **Find customer's conversations**.
- Read a conversation's latest message with **Find latest message**.
- Add internal notes with **Add internal note** and tags with **Add tags**.
- Look up a team with **Find team** and change a company with **Update company**.
Connect Kustomer with your org name and an API key first. The API key caption lists the Kustomer roles the tools need.
{/* manifest: kustomer-agent-tools-twelve-actions-that-find-create-and-upd */}
## Zendesk and Make tools fill only switched-on fields
[Zendesk tools](/docs/documentation/build/tools/zendesk-tool) and Make tools on your agent or [playbook](/docs/documentation/build/playbooks) now offer the model only the custom fields and scenario inputs you switch on, plus required ones. Optional fields left off no longer get filled in by the model.
- Open **Tools**, select the tool, and use the switch next to each custom field or scenario input.
- If none of a tool's custom fields are on, the model is not offered them at all.
This applies to the Zendesk **Create ticket**, **Update ticket** and **Update organization** actions, and to the Make **Run scenario** tool.
{/* manifest: agent-integration-tools-offer-the-model-only-the-zendesk-cus */}
## Import Kustomer articles into your knowledge base
You can now import your Kustomer help center articles into the [knowledge base](/docs/resources/glossary/knowledge-and-data) as a [data source](/docs/documentation/build/importing-data-sources), and keep them in sync with a refresh rate you choose.
- On the Knowledge base page, open **Add data source**, choose **Kustomer**, and connect with your org name and an API key.
- Narrow the articles with the **Languages**, **Knowledge bases**, **Categories**, **Tags** and **Scope** filters, and a live count shows how many articles match.
- Pick a folder, a refresh rate and chunking.
- Turn on **Preserve Kustomer structure** to keep the Kustomer structure, then import.
The API key needs the knowledge base read role in Kustomer.
{/* manifest: kustomer-knowledge-base-import-kustomer-appears-under-add-da */}
## Copy a link to a test run and share it
Each [test](/docs/documentation/measure/tests) run now has its own link, so you can send a teammate the exact result you are looking at. While a run's results are on screen, the page address names that run.
- Open the **More** menu in the **Test results** header, or in the runner's header, and choose **Copy link**.
- Opening the link from a test restores that test's results.
- Opening the link from **Past runs** shows the run on its own, without the rest of its **Run all** batch, with a **Retry** button.
**Retry** re-runs the same run, so the link keeps working. A link to a run that is not in this [environment](/docs/documentation/deploy/environments/overview) says **Test run not found**.
{/* manifest: each-test-run-has-its-own-link-while-a-run-s-results-show-th */}
## Voiceflow Classify
**Voiceflow Classify** is a new intent classification option for V3 projects. It uses Voiceflow's decision model to pick the intent that best matches the user's message. It's faster than classifying with a large language model and needs no training. [V4 projects](/docs/v4-migration-guide) don't have intents, so Voiceflow Classify doesn't apply to them.
There's no confidence threshold to tune: when no intent clearly fits, or the message is too vague to tell, Voiceflow Classify returns no match instead of guessing. If Voiceflow Classify can't classify a message, for example because more than 254 intents are in scope, your agent falls back to **Large language models (RAG + LLM)** for that message.
To switch, open **Intents**, select the settings icon next to **Preview**, and choose **Voiceflow Classify**. Projects keep their current setting until you change it.
Give each intent a few clear utterances. Descriptions are optional, but they help separate intents that are close in meaning.
## Atlas can now import a site as one sitemap
Atlas can now import a whole site, a section of one or a `sitemap.xml` into your [knowledge base](/docs/resources/glossary/knowledge-and-data) as one Sitemap [data source](/docs/documentation/build/importing-data-sources) that owns its pages and can re-sync them.
- Ask Atlas in its panel to import a site, a section or a sitemap, and the pages appear under the Sitemap source on the Knowledge base page.
- Its refresh rate starts at **Never**, as on the Knowledge base import screen, and you can narrow its pages with URL patterns later.
- If the site has more pages than your plan allows, Atlas says so and offers to keep only the sections you need.
In a [workspace](/docs/documentation/account-management/collaboration) without managed sitemaps, Atlas tells you it cannot import a site.
{/* manifest: atlas-imports-a-whole-site-a-section-of-one-or-a-sitemap-xml */}
## Review and retry failed knowledge base sources in one panel
The [knowledge base](/docs/documentation/build/importing-data-sources) header now shows how many sources failed. Click the count to open a **Failed sources** panel beside the table, where you can retry or remove them all at once.
- The panel lists failures from every folder, grouped under their sitemap or their kind, with a search.
- Use **Retry** or **Remove** on a group, or **Retry all** and **Remove all**; click a row to open that source.
- Removing a sitemap's failed pages also excludes them from its next sync.
- Inside a sitemap, the **Pages** tab has a failed filter with **Retry failed** and **Remove failed**.
- A sitemap whose pages partly failed shows a split status mark instead of a check.
{/* manifest: a-failed-count-in-the-knowledge-base-header-opens-a-failed-s */}
## Failed knowledge base imports now show the reason
[Knowledge base](/docs/resources/glossary/knowledge-and-data) sources that fail to [import](/docs/documentation/build/importing-data-sources) now say why. Pages and files with no readable text are marked as failed instead of imported empty.
Hover a failed source's status in **Agent > Knowledge base**, or open the source, to see the reason:
- The website refused the request or is limiting how often pages are fetched.
- The page was not found.
- The site returned a server error, took too long or could not be reached.
- The file could not be read.
- No text was found, for example on a page that needs JavaScript or in a scanned PDF.
For temporary problems, the message says trying again usually works. For problems on Voiceflow's side, it suggests contacting support if they persist.
A URL the site refused is not fetched again.
{/* manifest: knowledge-base-sources-that-fail-to-import-say-why-the-websi */}
## Knowledge base imports show their progress
[Imports](/docs/documentation/build/importing-data-sources) in **Agent > Knowledge base** now show their progress, what is queued and how they turned out.
- A sitemap row reads **Queued**, then **Adding pages** or **Reading pages**, then counts pages done out of the total as a fill crosses it; a re-sync counts the same way.
- The header pill counts imported, queued and failed sources.
- A notice says how many sources were imported and what could not be when an import finishes.
- The sitemap import dialog closes as soon as the sitemap appears.
- Pages still importing cannot be opened, and **Re-sync** waits until a sitemap's pages have landed.
- A refused delete explains that a sitemap still adding pages can be deleted once they are all added.
{/* manifest: knowledge-base-imports-show-their-progress-a-sitemap-row-rea */}
## Move several selected tests to a folder
Choosing **Move to...** on one of several selected rows in [Tests](/docs/documentation/measure/tests) now moves all of the selected rows to the folder you pick.
{/* manifest: choosing-move-to-on-a-row-that-is-part-of-a-multi-selection- */}
## Atlas can now give your agent a phone number
Atlas can set up a [phone number](/docs/documentation/deploy/phone/connect-a-phone-number) for your agent from a **Phone number** card in its chat. Ask Atlas to set up a number, or let it offer one after it builds or publishes a voice agent that has none.
- **Create number** and **Add existing number** open the same forms as the **Phone numbers** page.
- When you finish, the card tells Atlas which number was added.
When Atlas moves, disconnects or deletes a number that answers for an agent, an approval card names that agent and waits for you, even in **Auto**.
{/* manifest: atlas-gives-an-agent-a-phone-number-through-a-card-whose-cre */}
## Atlas always asks before publish, merge or traffic split
Atlas now always asks for approval before it [publishes](/docs/documentation/deploy/environments/publishing), [merges](/docs/documentation/deploy/environments/merging) or changes a [traffic split](/docs/documentation/deploy/environments/traffic-split), even in Auto, and everything else follows your mode. The approval card says the change goes live, and **Approve & auto** does not answer it.
- Auto no longer pauses after six changes or one new [playbook](/docs/documentation/build/playbooks) or workflow.
- Atlas [tests](/docs/documentation/measure/tests), plans and debugs when the work calls for it, not when your message uses certain words.
- Sending a message while cards wait offers **Approve all and send** or **Send and skip them**.
- A merge card warns when Main has published since the [environment](/docs/documentation/deploy/environments/overview) last took its changes.
- If either side publishes while a merge card is open, **Approve** is disabled and **Reload** appears.
- When a reply stops at its per-message limit, **Continue** picks it up.
{/* manifest: publish-merge-and-traffic-split-always-ask-for-approval-in-a */}
## Atlas tests the functions it writes before saying they work
Atlas now tries the [functions](/docs/documentation/build/tools/function-tool) it writes on up to 12 test cases at once before saying they work.
- After Atlas creates or changes a function, a **Checking a function** row appears in the thread, and Atlas reports each case's path, outputs and whether it matched.
- The check changes nothing and needs no approval.
- Before replacing an agent's, a [playbook's](/docs/documentation/build/playbooks) or the [global prompt's](/docs/documentation/build/global-prompt) [instructions](/docs/documentation/build/instructions) whole, Atlas reads the current text in full.
- Atlas says a function is fixed or works only after a check, and reports a refused or rejected change as not done.
Atlas won't check code that could reach outside Voiceflow or inputs that would read a [secret](/docs/documentation/build/data/secrets), and offers a test instead.
{/* manifest: atlas-tries-the-functions-it-writes-on-up-to-12-test-cases-w */}
## Atlas remembers your corrections and keeps preferences current
Atlas keeps its memory of your preferences current in the **Atlas panel**: when you correct something it remembered, the correction replaces the old fact.
This happens automatically. Atlas keeps each memory within 500 characters so it is not refused.
{/* manifest: atlas-is-told-its-500-character-limit-for-a-remembered-fact- */}
## Duplicate and bulk edit workflows with the API or Atlas
You can now copy a workflow, or build and tidy a large one, in a few writes through the stable API, the [MCP server](/docs/mcp/setup) or Atlas.
- Duplicate copies a workflow under a new name, with its own copies of the [messages](/docs/documentation/build/steps/message), prompts, [playbooks](/docs/documentation/build/playbooks) and operator agents it uses.
- [Add workflow blocks](/docs/api-reference/workflow/add-workflow-blocks) creates up to 20 linked blocks in one write.
- [Link many ports](/docs/api-reference/workflow/link-many-ports) points up to 50 ports at blocks in one write.
- Arrange lays blocks out in columns by their links.
- [Replace port action](/docs/api-reference/workflow/replace-port-action) swaps an exit action for one of another kind in place.
- A raw read shows the stored canvas with block positions.
{/* manifest: workflows-can-be-copied-and-reorganised-in-a-few-writes-thro */}
## Smart chunking keeps every sentence of web pages
When you [import a web page](/docs/documentation/build/importing-data-sources) with **Smart chunking**, every sentence is now kept, including a fee the model's sections used to skip, and a heading and summary inside a header stay too.
{/* manifest: web-pages-imported-with-smart-chunking-keep-every-sentence-w */}
## Cancel test runs from the API, MCP server and Atlas
You can now cancel [test](/docs/documentation/measure/tests) runs you no longer need from Atlas, the [MCP server](/docs/mcp/setup) or the stable API. Runs that are queued, starting or running are cancelled, so queued and starting runs never start.
- Cancel up to 50 test runs at once by ID with the [Cancel runs](/docs/api-reference/test-run/cancel-runs) endpoint.
- The response lists the runs it cancelled, the runs that had already finished with their status, and the IDs it did not find.
{/* manifest: test-runs-can-be-cancelled-through-the-stable-api-the-mcp-se */}
## Edit single pronunciation entries from the API, MCP and Atlas
You can now add, change or remove individual entries in your voice pronunciation dictionary through the stable API, the [Voiceflow MCP server](/docs/mcp/setup) and Atlas, without resending the whole dictionary. Words match regardless of case, as they do at playback.
- [Send](/docs/api-reference/conversation/send) the words to set with what they should become, and the words to remove, using [Patch pronunciation dictionary](/docs/api-reference/agent/patch-pronunciation-dictionary).
- The response counts what was added, replaced and removed, lists words not found, and gives the new total.
{/* manifest: single-pronunciation-dictionary-entries-can-be-added-changed */}
## Atlas tests the environment it changed
Atlas now runs [tests](/docs/documentation/measure/tests) in the [environment](/docs/documentation/deploy/environments/overview) it changed, even when a different one is open, and reports passed and failed checks in the same reply.
{/* manifest: atlas-waits-for-its-test-runs-and-reports-their-checks-in-th */}
## Atlas can add integration tools by catalog name
You can now add an integration tool to an [environment](/docs/documentation/deploy/environments/overview) by its catalog name through the [stable API](/docs/api-reference/integration/add-integration-tool), the [MCP server](/docs/mcp/setup) and Atlas. Atlas can attach a first [integration](/docs/documentation/build/steps/integration) tool for you without sending you to the editor's **Add tool** menu.
1. Name the tool from that integration's catalog.
2. Attach it to your agent or a [playbook](/docs/documentation/build/playbooks) as before.
Adding a tool that already exists returns it without writing anything.
{/* manifest: an-integration-tool-can-be-added-to-an-environment-by-its-ca */}
## Read, set or clear an agent's initialization workflow via API
You can now read, set or clear an agent's [initialization workflow](/docs/documentation/build/framework/initialization-workflow), the workflow that runs at the start of every conversation, through Atlas, the [MCP server](/docs/mcp/setup) or the stable API. Until now only the [Behaviour](/docs/documentation/build/behaviour) settings could set it.
- [Get initialization workflow](/docs/api-reference/agent/get-initialization-workflow) returns the workflow's ID and name.
- [Set initialization workflow](/docs/api-reference/agent/set-initialization-workflow) points the agent at a different workflow, or clears the setting.
Only agentic projects accept it; projects on the conversation framework or older schemas are refused.
{/* manifest: an-agent-s-initialization-workflow-can-be-read-set-or-cleare */}
## Search a project's text from the API, MCP and Atlas
You can now search a project's text for a word, phrase, ID or bounded regular expression and get every place it appears. It works through the [search project text](/docs/api-reference/environment/search-project-text) API, the [MCP server](/docs/mcp/setup) and Atlas.
- The search reads the agent and its settings, [playbooks](/docs/documentation/build/playbooks), workflows with every step and link caption on their canvases, [messages](/docs/documentation/build/steps/message), prompts, tools, [functions](/docs/documentation/build/steps/function), [variables](/docs/documentation/build/data/variables) and more.
- Each match comes back with its resource, field and line, and on a canvas the block and step.
- Matching is literal unless you ask for a regular expression.
Knowledge base documents, secret names, MCP header values and transcripts are not searched, and the response lists them.
{/* manifest: a-project-s-text-can-be-searched-for-a-word-phrase-id-or-bou */}
## Agents reply after receiving a conversation from another agent
When one agent or [playbook](/docs/documentation/build/playbooks) passes a conversation to another, the agent that receives it now replies instead of going silent, even if the history mentions tools it cannot call.
{/* manifest: an-agent-that-takes-over-a-conversation-from-another-agent-o */}
## Login page shows your last used sign-in first
The login page now puts the sign-in option you used last on top, so signing back in is quicker.
- The **Google**, **GitHub** or **Microsoft** button this browser last signed in with appears first, with a white **Last used** tag.
- Signing in with email clears the tag.
- Login and sign-up are now one centred card on Atlas's soft colour wash.
- An invite's sign-up page reads **You've been invited**.
{/* manifest: the-login-and-sign-up-pages-become-one-centred-card-on-atlas */}
## API usage queries return credits and playbook names
Rows from the stable token usage queries (by organization, [workspace](/docs/documentation/account-management/collaboration), project, day, entity and category) and the [transcript cost query](/docs/api-reference/analytics/query-transcript-cost) now include credits beside the raw count or cost, matching the **Usage** page.
Rows from [playbook usage](/docs/api-reference/analytics/query-playbook-usage) now include `name`: the [playbook](/docs/documentation/build/steps/playbook)'s name, the Main Agent's name for its row, or `null` when the playbook no longer exists.
{/* manifest: stable-api-token-usage-and-transcript-cost-queries-return-ea */}
## Press Cmd+F twice to use browser find in the builder
Press Cmd+F (Ctrl+F on Windows) a second time to open your browser's own find on builder pages where the first press opens Voiceflow's search.
- Voiceflow's search opens first in a table's header search.
- It opens first in the [transcripts](/docs/documentation/measure/transcripts) viewer.
- It opens first in the [knowledge base](/docs/resources/glossary/knowledge-and-data) search.
- It opens first on the canvas and in the full-screen prompt.
A press-again hint appears when Voiceflow's search opens, at most three times, and stops once you have used the double press.
{/* manifest: pressing-cmd-or-ctrl-f-a-second-time-opens-the-browser-s-own */}
## Atlas uses your timezone for relative dates
When you ask Atlas about today, yesterday or this month, it now counts from your browser's date, time and timezone, so the dates match where you are.
{/* manifest: atlas-knows-the-date-time-and-timezone-of-each-message-so-to */}
## Atlas answers data questions with charts
Atlas now answers data questions with charts in the Atlas panel and on the Atlas page, without being asked for a chart. Ask something like conversations per day or which [playbooks](/docs/documentation/build/playbooks) are used most.
Atlas picks the card from the shape of the data:
- A line or bars show a trend over time.
- Stacked bars split values into groups.
- A donut shows the parts of a whole.
- A ranked list with bars shows your top items.
- A progress bar shows where you stand against a limit or target.
Stat tiles, tables and [transcript](/docs/documentation/measure/transcripts) excerpts now appear in the same chart card. Each card has a title, shows numbers, credits and dates in your locale, folds the smallest groups into others, and can link to [Analytics](/docs/documentation/measure/analytics) or Usage.
{/* manifest: atlas-answers-data-questions-with-charts-in-its-chat-trends- */}
## Agents can now take and place calls over SIP
You can put an agent on your contact centre's lines with a [SIP connection](/docs/documentation/deploy/phone/connect-with-sip): the agent answers calls dialled to its SIP address and dials out through your trunk.
- Voiceflow provisions the connection for your [workspace](/docs/documentation/account-management/collaboration), and you assign it to an agent and an [environment](/docs/documentation/deploy/environments/overview).
- Inbound calls are authenticated by allowed IP ranges or by a SIP username and password.
- Each inbound call is checked against your workspace's concurrent call and credit limits before the agent answers.
- SIP custom headers on an inbound call are passed into the conversation when it starts.
- For [outbound calls](/docs/documentation/deploy/phone/outbound-calling), send a `POST` to `/v1/sip-connection/{id}/outbound` to dial a number through your trunk.
The outbound endpoint needs an API key that can read the agent.
{/* manifest: an-agent-assigned-to-a-sip-connection-answers-calls-dialled- */}
## Sign up and log in with Microsoft
You can now create a Voiceflow account and log in with your Microsoft account, without keeping a separate password. Choose **Continue with Microsoft** on the login or signup page.
- The button sits with **Continue with Google** and **Continue with GitHub**, above the email fields.
- Microsoft handles the sign-in and returns you to Voiceflow signed in, creating your account the first time.
- Microsoft is not attached to an account you already have: if your email belongs to a Voiceflow account made another way, sign in with your original method.
- Work accounts need an email Microsoft has verified.
**Continue with Microsoft** is not offered on private cloud deployments.
{/* manifest: sign-up-and-log-in-with-microsoft-a-continue-with-microsoft- */}
## Phone agents can treat each call as a new user
Phone agents can now treat each call as a fresh conversation, so people calling from a shared number, such as a transfer line, never cut off each other's calls or inherit each other's details. You control this with **Remember callers across calls** in **Behaviour** > **Session & timeout**.
- When on, calls from one number share a session and the caller's [variables](/docs/documentation/build/data/variables) carry over, as before.
- When off, each call starts as a new user and variables reset each call.
- When off, `{user_id}` still holds the caller's number.
- When off, **Persist across sessions** is greyed out for every variable.
Existing phone agents keep the setting on. New agentic phone agents created from the basic or generated phone templates start with it off.
{/* manifest: phone-agents-gain-remember-callers-across-calls-under-behavi */}
## Knowledge base API refuses overwrites during processing
Overwriting a [knowledge base](/docs/resources/glossary/knowledge-and-data) document that is still pending or processing now returns a `409` asking you to retry, so the index no longer ends up with duplicate passages.
- On the stable document API, this applies to overwriting a [URL document](/docs/api-reference/document/create-url-document), a [text document](/docs/api-reference/document/create-text-document) or a [table document](/docs/api-reference/document/create-table-document).
- On the legacy knowledge base API, it applies to document upload with overwrite on.
A refused request writes nothing, so send the same call again once processing finishes.
{/* manifest: overwriting-a-knowledge-base-document-that-is-still-processi */}
## Operator and Condition steps route reliably on more models
[Operator](/docs/documentation/build/steps/operator) steps and Prompt-type [Condition](/docs/documentation/build/steps/condition) steps now pick a path every time on GPT chat-completions, Voiceflow, Grok, OpenRouter and Groq-hosted models, even when the model would otherwise answer in words.
{/* manifest: operator-steps-condition-steps-of-the-prompt-type-and-web-se */}
## Edit a persona from the Run panel again
Editing a [persona](/docs/documentation/build/data/personas) from **Run panel > More > Persona > Edit** now keeps the **Edit persona** dialog open, where it used to close a moment after opening.
{/* manifest: editing-a-persona-from-the-run-panel-s-more-menu-keeps-the-e */}
## Atlas no longer stops partway through a request
Atlas now completes your request as a single [agent](/docs/documentation/build/how-agents-work) instead of stopping partway after saying it will hand the work to a specialist, in the Atlas panel and on the **Work with Atlas** page.
{/* manifest: atlas-answers-every-turn-as-one-agent-instead-of-passing-wor */}
## Search inside knowledge base sources by content
The [knowledge base](/docs/resources/glossary/knowledge-and-data) table search now looks inside your [data sources](/docs/documentation/build/importing-data-sources) as well as at their names, so you can find which source holds a fact without opening each one. Use the **Search sources and their content** field in the table bar.
- Sources whose names match are listed under **In source name**.
- Sources whose chunks contain your words are listed under **In chunks**, with the matching passage highlighted.
- Sources that are only close in meaning are listed under **Related**, with a similarity percentage.
- A sitemap lists the pages that matched, five at a time, with a **+N more** link that opens the rest.
Searching content needs at least three characters; shorter queries match names only.
{/* manifest: the-knowledge-base-table-searches-data-sources-by-their-cont */}
## Knowledge base page shows your data source usage
The **Knowledge base** page header now shows how many [data sources](/docs/documentation/build/importing-data-sources) your agent's [knowledge base](/docs/resources/glossary/knowledge-and-data) holds against your plan's source limit, so you see how close you are before an import fails.
- The meter is a ring with a count such as 120 / 200.
- The count turns amber from 80% of the limit and red at the limit.
- Hover the count for the exact figures and a note that each sitemap page counts as a source.
- At the limit, the tooltip tells you to remove sources or upgrade.
- **Manage** opens the upgrade flow, or the book-a-demo page on Enterprise.
Plans without a source cap show no meter.
{/* manifest: the-knowledge-base-page-header-shows-how-many-data-sources-t */}
## Inspect data sources in a tabbed editor
A [data source](/docs/documentation/build/importing-data-sources) in your [knowledge base](/docs/resources/glossary/knowledge-and-data) now opens in an editor that shows what it is and where it came from, with its content on tabs.
- The header names the type, shows the URL (click to open it) and shows the title (click to copy).
- **Pages** appears for a sitemap, **Content** for pasted text and **Chunks** for other sources, and **Settings** holds the LLM chunking strategy, source URL or URL patterns, and metadata.
- **Search chunks** marks matches, and its arrows step through them, opening collapsed chunks.
- Right-click a chunk to copy its text or its details as JSON.
- A sitemap's pages are grouped by folder, with a **Search pages** field and a back button from an opened page.
- A source still processing shows **Processing data source**, and one that failed says why, with **Try again**.
{/* manifest: a-knowledge-base-data-source-opens-in-an-editor-with-a-heade */}
## Filter the knowledge base table by source type
You can now narrow your [knowledge base](/docs/resources/glossary/knowledge-and-data) to the kinds of source you care about, such as only sitemaps or only Zendesk articles.
- Click the **All data sources** header of the table and tick the kinds to show: Web pages, Sitemaps, Docs, Tables, Plain text, Zendesk or Shopify.
- The header then names the kinds shown and counts them.
- Unticking every box shows all sources again.
If nothing matches your filter, the empty table offers **Clear filters**.
{/* manifest: the-knowledge-base-table-s-name-column-header-reads-all-data */}
## Knowledge base table sorts by last successful sync
The **Synced** column in the knowledge base table now sorts web page and sitemap [data sources](/docs/documentation/build/importing-data-sources) by their last successful sync, not their last edit, and the status checkmark shows the exact time.
{/* manifest: the-knowledge-base-table-s-date-column-becomes-synced-and-so */}
## Copy all variables from the Run debugger
You can now copy every [variable](/docs/documentation/build/data/variables) from a [test](/docs/documentation/measure/tests) run as one JSON object, from the **Variables** tab of the Run debugger.
- Hover the header and click **Copy all variables**, or **Copy matching variables** while a search is active.
- Each row's **Copy** now copies the variable's name together with its value, with objects pretty-printed.
{/* manifest: the-run-panel-debugger-s-variables-tab-gains-copy-all-variab */}
## Run chat shows tool calls live as they happen
The Run chat now shows each tool call as its own line the moment your agent makes it, with a live timer, its duration and whether it failed.
- A **Thinking** line counts up while the agent works.
- Each call reads **Calling** with the tool name, then **Called** with its duration, or **failed**, including an [API tool](/docs/documentation/build/tools/api-tool) that answers with a `4xx` or `5xx`.
- A **Thought for Ns** row opens to what the model reasoned at that step, with **Copy** and **Ask Atlas**.
- Saved [transcripts](/docs/documentation/measure/transcripts), [tests](/docs/documentation/measure/tests) and [evaluations](/docs/documentation/measure/evaluations) show tool calls in the order they happened, so [buttons](/docs/documentation/build/steps/buttons) shown after a reply sit after it.
- In **More** > **View options**, **Navigation** is now **Routing**, and a new **Reasoning** toggle hides the **Thought** rows.
The reply time tooltip now reads **Model**, **Started replying** and **Finished replying**.
{/* manifest: the-run-chat-shows-each-tool-call-as-its-own-line-the-moment */}
## Atlas suggests tightening long playbook instructions
Atlas now offers to tighten or split a [playbook](/docs/documentation/build/steps/playbook) with a tip on its launcher once the playbook's [instructions](/docs/documentation/build/instructions) pass 25,000 characters.
- In **Agent > Playbooks**, open a playbook and stop typing for a moment, and a card on the Atlas launcher says how long the playbook is.
- Click **Optimize with Atlas** to open Atlas with a request to find what is repeated, contradictory or out of date, suggest splits, and show the changes before making them.
- Click **Not now** to hide the tip until the playbook grows by a quarter or two weeks pass.
After two **Not now** answers, the tip stops appearing for you.
{/* manifest: atlas-shows-a-tip-on-its-launcher-when-an-open-playbook-s-in */}
## Sign up and log in with GitHub
You can now create a Voiceflow account or log in with your GitHub account, using **Continue with GitHub** on the Login and Signup pages.
GitHub asks you to authorize Voiceflow, then your verified primary GitHub email links to your existing Voiceflow user or creates one with a new organization.
Like **Continue with Google**, the button is hidden on private clouds.
{/* manifest: sign-up-and-log-in-with-github-a-continue-with-github-button */}
## Import Zendesk metadata into your knowledge base
When you import a Zendesk [knowledge base](/docs/documentation/build/importing-data-sources) source, each article can now carry its own category, section, tags, language and labels as metadata. Your agent's knowledge base filters can then match, say, one section or one language.
- In **Knowledge base > Add data source > Zendesk**, tick **Import Zendesk metadata**.
- Each article gets those five values from Zendesk, and every chunk of the article carries them.
Values you type in the dialog for those five keys are replaced by the Zendesk values; other keys you type are kept.
{/* manifest: a-zendesk-knowledge-base-import-can-tag-each-article-with-it */}
## Set savings as one dollar value per resolution
The **Estimated savings** dialog now asks for a single number: the dollars a resolved conversation is worth. On [Analytics](/docs/documentation/measure/analytics), choose **Define savings** (or **Edit**) on the **Resolution** card and enter it in **Value per resolution**.
- The agent's Objective settings and Atlas home ask for the same value.
- The **Time saved per resolution** field is removed from the dialog.
- The Resolution rate and Deflection rate [evaluations](/docs/documentation/measure/evaluations) no longer show **Time saved (hours)** and **Dollars saved** with **Add estimate** in the evaluation editor.
{/* manifest: savings-estimates-take-one-dollar-value-per-resolved-convers */}
## Attach files to Atlas messages
You can now attach documents, spreadsheets and screenshots to Atlas messages, in the Atlas panel or on Copilot Home, and ask Atlas to build or answer from them.
- Attach up to five files per message with the attach button in the composer, by dropping them in, or by pasting.
- PDF, Word, Excel, CSV, text, Markdown, PNG, JPEG, GIF and WebP files are supported, with documents up to 10 MB and images up to 5 MB.
- Each file shows a chip that reads Reading, then ready, or failed with a reason.
- Atlas reads each file as text, and reads further into a long file when it needs to.
- Once you approve, Atlas can add a file to your [knowledge base](/docs/resources/glossary/knowledge-and-data).
{/* manifest: files-can-be-attached-to-atlas-messages-in-the-atlas-panel-a */}
## See what each Atlas write changed, step by step
A finished Atlas write now has **View changes** beside its row, opening a modal that shows each change in the reply as Before and After cards, so you can check the result without leaving the chat.
- A collapsed run shows **View N changes** in place of the single button.
- The modal steps through every change, such as Change 3 of 7, with **Previous** and **Next** or the arrow keys.
- A change made in another [environment](/docs/documentation/deploy/environments/overview) or agent has **Open in that environment**, which switches to it and opens the item.
Changes too large to keep say so instead of showing cards.
{/* manifest: each-atlas-write-can-show-exactly-what-it-changed-view-chang */}
## Keep Zendesk structure when importing a help center
A [Zendesk import](/docs/documentation/build/importing-data-sources) into your [knowledge base](/docs/resources/glossary/knowledge-and-data) can now keep the help center's structure, filing articles in folders by language, category and section, the way Zendesk shows them.
- In **Knowledge base**, choose **Add data source**, then **Zendesk**.
- Under the folder picker, tick **Preserve Zendesk structure**.
Articles are filed inside the folder you selected, under a folder per language such as English (en-us), then its category, then its section and any nested sections. Importing again reuses the same folders.
{/* manifest: a-zendesk-knowledge-base-import-can-preserve-the-help-center */}
## Outage protection falls back when a reply breaks off
**Outage protection** now moves to your fallback model when a model's response breaks off before it has said anything, and a reply is never stitched together from two models.
{/* manifest: outage-protection-falls-back-when-a-model-s-stream-breaks-be */}
## Widget preview stays visible beside Atlas
With Atlas open, the **Widget** page now shows the [widget](/docs/documentation/deploy/widget/custom-web-chat-styling) preview beside Atlas instead of closing Atlas or leaving a blank column, so you can watch Atlas edit it.
{/* manifest: on-the-widget-page-atlas-stays-open-beside-the-widget-previe */}
## Faster processing is now a per-model toggle in model settings
You can now switch **Faster processing** on or off for individual models: the agent's default model, a [playbook](/docs/documentation/build/steps/playbook) or a prompt.
- For the default model, open the model pill in the Agent page header and use the **Faster processing** toggle.
- For a playbook, open its **Model** settings and use the toggle below the other model settings.
- For a prompt, open its model settings and use the toggle below the other settings.
A playbook or prompt left unset inherits the default model's value. A project that had Faster processing on in [Behaviour](/docs/documentation/build/behaviour) keeps it until you turn it off.
The toggle appears only for models with a priority tier, and hovering its title shows the cost multiplier against standard. [Evaluations](/docs/documentation/measure/evaluations) and [Tests](/docs/documentation/measure/tests) simulations always run at the standard tier.
{/* manifest: faster-processing-becomes-a-per-model-on-off-toggle-in-the-m */}
## Knowledge base answers cite Zendesk help center pages
Your agent can now cite the public help center page of an article from a Zendesk [data source](/docs/documentation/build/importing-data-sources) as a source.
- With **Show source URL(s)** on in the [knowledge base tool](/docs/documentation/build/querying-the-knowledge-base) settings of a chat agent, a reply based on a Zendesk article lists that article's help center page as a source.
- In the knowledge base, opening a Zendesk article or a Shopify product shows a read-only **Source URL** that opens the public page in a new tab.
Articles you imported before this change get a **Source URL** too.
{/* manifest: zendesk-knowledge-base-articles-link-to-their-public-help-ce */}
## Keys need new permissions for protected environments
You can now give a [personal key](/docs/developers/authentication/personal-keys) or [service key](/docs/developers/authentication/service-keys) permission to merge into, [publish](/docs/documentation/deploy/environments/publishing) and delete protected [environments](/docs/documentation/deploy/environments/overview), or keep it from doing so. A key created with chosen permissions is now refused on those actions unless it carries the matching permission.
- In **Workspace Settings** > **Personal keys** (or **Service keys**) > **New key**, choose **Custom** under **With these permissions** to find the **Protected environments** group with **Merge**, **Publish** and **Delete**.
- **Read & write** now includes **Merge** and **Publish**.
Keys created before this change with chosen permissions don't carry the new ones and must be recreated. Keys with no permission limits, and AI clients signed in to the [MCP server](/docs/mcp/setup) with full [workspace](/docs/documentation/account-management/collaboration) access, are unaffected.
{/* manifest: personal-and-service-keys-need-the-new-protected-environment */}
## Zendesk imports now apply your LLM chunking strategy
The LLM chunking strategy you pick when you [import a data source](/docs/documentation/build/importing-data-sources) from Zendesk is now applied to the imported articles, including on each scheduled refresh.
{/* manifest: zendesk-knowledge-base-imports-store-and-apply-the-llm-chunk */}
## Import knowledge base documents as a single chunk
You can now keep a step-by-step guide, or any other document, whole in the [knowledge base](/docs/resources/glossary/knowledge-and-data), so your agent retrieves it in one piece instead of in fragments.
- In Knowledge base > Add data sources, open **LLM chunking strategy** in the File, Plain text, Web page(s), Sitemap or Zendesk [import](/docs/documentation/build/importing-data-sources) and choose **Keep each document in one chunk**.
- Each document is stored as a single chunk; one longer than about 30,000 characters is split as usual.
- The option makes no LLM call.
The document create endpoints, such as [Create text document](/docs/api-reference/document/create-text-document) and [Create URL document](/docs/api-reference/document/create-url-document), accept it as `singleChunk`.
{/* manifest: knowledge-base-file-plain-text-web-page-sitemap-and-zendesk- */}
## Choose Alper, a Turkish ElevenLabs voice, for voice output
Your voice agent can now speak with Alper - High Quality Broadcast Voice, a male Turkish ElevenLabs voice in a broadcast style.
In **Settings > Behaviour > Voice output**, choose **ElevenLabs** as the provider, then pick **Alper - High Quality Broadcast Voice** from the Turkish voices. These options live with your agent's [Behaviour](/docs/documentation/build/behaviour) settings.
{/* manifest: alper-high-quality-broadcast-voice-a-male-turkish-elevenlabs */}
## Atlas conversations keep running after you close the tab
Atlas replies now keep running on Voiceflow's servers, so you can close or reload the tab in the Atlas drawer or on the Work with Atlas page and come back to the finished reply.
- Open a conversation that is still working in any tab, and the reply catches up and then streams live.
- In **History**, a conversation shows **Running** while it works and **Needs you** when it finished while you were away.
- The **History** button counts the conversations that need you.
- **Stop**, or Escape in the composer, ends the reply in every tab.
- A reply cut off by a restart ends with "Atlas was interrupted" and a **Continue** button.
{/* manifest: atlas-conversations-keep-running-on-the-server-when-the-brow */}
## Tests page shows only the current environment's tests
The [Tests](/docs/documentation/measure/tests) page now shows only the tests and **Past runs** of the [environment](/docs/documentation/deploy/environments/overview) you are in, including when you switch environments quickly.
{/* manifest: the-tests-page-keeps-its-test-list-and-past-runs-to-the-envi */}
## Manage workspace phone numbers through the API
You can now list, rename, assign, unassign and delete phone numbers in your [workspace](/docs/documentation/account-management/collaboration) from the API, the [MCP server](/docs/mcp/setup) or Atlas.
- Listing takes a `workspaceID` or a `projectID` and shows the agent, [environment](/docs/documentation/deploy/environments/overview) and version each `voice` and `sms` target answers as.
- [Assign](/docs/api-reference/phone-number/assign-phone-number) sets one target at a time, `voice` for calls or `sms` for texts, optionally pinned to an environment's published or draft version.
- Unassign clears one target or both and keeps the number in the workspace, while delete gives it up.
- [Create](/docs/api-reference/phone-number/create-phone-number) buys a US or Canadian number by area code or connects a Twilio, Vonage or Telnyx number, from the API only.
Use a [personal key](/docs/developers/authentication/personal-keys) or service key with the new Phone numbers permissions, set under **Settings > Personal keys > New key > Permissions > Phone numbers**.
{/* manifest: workspace-phone-numbers-are-listed-bought-or-connected-renam */}
## Import sheets with empty trailing cells into the knowledge base
[Table imports](/docs/documentation/build/importing-data-sources) into your [knowledge base](/docs/resources/glossary/knowledge-and-data) now accept .xlsx and .xls sheets whose rows end in blank cells and read those columns as blank, but data in a column with no header is still refused.
{/* manifest: knowledge-base-table-imports-accept-xlsx-and-xls-sheets-whos */}
## Search prompts with Cmd or Ctrl+F on the Agent page
You can now find any word in a long prompt or a [playbook](/docs/documentation/build/steps/playbook)'s [instructions](/docs/documentation/build/instructions) with Cmd or Ctrl+F, and reach [Behaviour settings](/docs/documentation/build/behaviour) in a tab right beside the prompt.
- In the prompt card on the **Global prompt** or **Instructions** tab, or in a playbook's instructions, press Cmd or Ctrl+F to highlight every match, with a count and next and previous buttons.
- Open the new **Behaviour** tab with Shift+3, where the search filters setting rows.
The **Behaviour** tab appears in the prompt card for agentic-framework projects. Conversation-flow projects keep Behaviour in the rail.
{/* manifest: cmd-or-ctrl-f-searches-the-open-prompt-on-the-agent-page-and */}
## Atlas keeps working when closed and has a history column
Atlas keeps working when you close it mid-reply, and its launcher shows the result in a pill. Past conversations are easier to find, rename and come back to.
- Press Shift+A to toggle Atlas, or drag the launcher to redock it.
- On the Work with Atlas page, **History** opens as a resizable column. Right-click a conversation to **Rename** or **Delete** it, and unread conversations show a dot.
- Atlas questions step through with next, previous and **Skip**.
- When you run a [test](/docs/documentation/measure/tests) Atlas suggested, a feedback card lets you rate it and leave notes for Atlas.
{/* manifest: atlas-keeps-working-when-closed-with-a-result-pill-on-its-la */}
## See tool calls before each reply in transcripts
[Transcripts](/docs/documentation/measure/transcripts) now show which tools your agent called before each reply.
- A line above each agent reply names the tool it called, or what a [system tool](/docs/documentation/build/tools/system-tools) did, such as Searched the knowledge base, and shows in red when the call failed.
- Click a tool line to see its log, then choose **Copy**, **Ask Atlas** or **Open in logs**.
- Logs open as a resizable column on the left of the conversation.
- The **Metadata** and **Evaluations** panel can be hidden and resized.
- **View options** toggle navigation, tool calls, latency, input type and events.
- Previous conversations appear as a **History** row in **Metadata**.
{/* manifest: the-transcript-viewer-shows-which-tools-the-agent-called-bef */}
## Environment dialogs stop you acting on unseen changes
The [environment](/docs/documentation/deploy/environments/overview) dialogs for [publishing](/docs/documentation/deploy/environments/publishing), discarding, saving a version, pulling from Main and [merging](/docs/documentation/deploy/environments/merging) now keep their change preview as it loaded. They refuse to act on changes you have not reviewed when a teammate edits the same environment.
- In **Publish**, **Discard changes**, **Save version** and **Pending changes**, a **Draft changed** banner appears if someone edits the draft while the dialog is open. It names who made the last change and how long ago, and **Publish** and **Discard changes** stay disabled until you press **Refresh**.
- **Pull from Main** watches both drafts the same way.
- **Merge** shows a banner when either environment publishes, and stays disabled until you press **Reload**.
{/* manifest: the-environment-publish-discard-changes-save-version-pending */}
## Atlas conversations start in Auto mode
New Atlas conversations open in **Auto**, so Atlas applies its edits without waiting for your approval.
- The mode button is at the left of the strip above the input, in the Atlas drawer or the Atlas page.
- Click it to switch to **Manual**, where every change waits for your approval.
- A reopened conversation keeps the mode it was saved with.
- The effort button on the right of the strip is separate and cycles **Low**, **Medium** and **High**.
{/* manifest: new-atlas-conversations-start-in-auto-so-atlas-applies-edits */}
## Search tools, playbooks and workflows by name after /
Type `/` followed by part of a name to find a tool, playbook or workflow and insert a [reference](/docs/documentation/build/editor/references) to it directly. This works in the [global prompt](/docs/documentation/build/global-prompt) and in [playbook](/docs/documentation/build/steps/playbook) instructions.
- The menu shows up to five matching items under each category, with name matches first.
- [Integration](/docs/documentation/build/steps/integration) tools also match their provider's name.
- [MCP](/docs/documentation/build/steps/mcp) tools also match the name of their server.
{/* manifest: typing-after-in-a-prompt-editor-lists-matching-tools-playboo */}
## Widget chat preview accepts photos and PDFs over 5 MB
The chat preview on the Widget page now accepts large phone photos and PDFs instead of failing with a file size error, when you attach them in a [chat widget](/docs/documentation/deploy/widget/custom-web-chat-styling) with file attachments allowed.
{/* manifest: the-widget-page-s-chat-preview-accepts-photos-and-pdfs-over- */}
## Edit chunking strategy for knowledge base URLs and sitemaps
You can now change the LLM chunking strategy of a URL [data source](/docs/documentation/build/importing-data-sources), a sitemap or a sitemap page in the [knowledge base](/docs/resources/glossary/knowledge-and-data) after importing it, with no need to delete and re-import. The new strategy is used on the next sync.
- For a URL document or a sitemap page, open it in the knowledge base editor and use the **LLM chunking strategy** section between **Metadata** and the chunks.
- For a sitemap, the same dropdown comes first in its **Import settings** and sets the strategy for the pages it adds later.
{/* manifest: the-llm-chunking-strategy-of-a-url-data-source-a-sitemap-or- */}
## Atlas opens the specific Settings page you ask about
When you ask Atlas where a setting lives, it now opens the exact page, such as [Environments](/docs/documentation/deploy/environments/overview), [Secrets](/docs/documentation/build/data/secrets) or **Settings > API keys**, instead of stopping at Settings.
{/* manifest: atlas-knows-which-page-holds-each-setting-and-can-open-a-spe */}
## Evaluations can now read playbook instructions
[Evaluations](/docs/documentation/measure/evaluations) with **Playbook logs** on now read the [instructions](/docs/documentation/build/instructions) of each [playbook](/docs/documentation/build/steps/playbook) the conversation entered, with [variable](/docs/documentation/build/data/variables) values filled in, not only which playbook was entered. Replies that follow those instructions are no longer marked as made up.
In the evaluation editor, open the model settings and tick **Playbook logs** under **Log visibility**.
{/* manifest: with-playbook-logs-on-an-evaluation-s-model-reads-the-instru */}
## Zendesk import now covers every selected locale
[Importing from Zendesk](/docs/documentation/build/importing-data-sources) now brings in articles in every locale you select, applies the metadata you choose to each one, and tells you when it cannot count matching articles.
{/* manifest: the-zendesk-knowledge-base-import-brings-in-articles-in-ever */}
## Atlas now links tools, playbooks and variables in instructions
Atlas now writes real references as chips when it writes or edits the [instructions](/docs/documentation/build/instructions) of an agent or [playbook](/docs/documentation/build/steps/playbook), so your agent points at the actual tool, playbook or variable, not a name in plain text.
- Tools, playbooks and workflows are referenced by name.
- [System tools](/docs/documentation/build/tools/system-tools) such as [End](/docs/documentation/build/steps/end) and Web search are referenced by their reference name.
- [Variables](/docs/documentation/build/data/variables) are written in braces.
If Atlas references a system tool that is off on both the playbook and the main agent, it turns that tool on. A name that still does not link is reported back to Atlas, which fixes it and writes the text again.
{/* manifest: atlas-writes-real-references-when-it-edits-agent-and-playboo */}
## API conversations end when a turn times out
Conversations now end with the end reason `Session ended due to turn timeout` and send the client an [end trace](/docs/api-reference/trace-types) when a turn runs past the time limit, for example because a step loops.
{/* manifest: a-turn-that-runs-past-the-runtime-s-per-turn-time-limit-ends */}
## Read and edit workflows in Atlas, MCP server and API
Atlas, the [Voiceflow MCP server](/docs/mcp/setup) and your own API calls can now read a workflow as blocks of ordered steps and build or change it. Each change appears live on an open canvas.
- `list` and `get` read a workflow, and [Get workflow step](/docs/api-reference/workflow/get-workflow-step) reads one step on its own.
- `create` builds a whole first version in one call.
- Block, step, branch, link and exit-action operations change it afterwards, twenty operations in all under `/v1/stable/workflow`.
- A batch create makes up to 50 [messages](/docs/documentation/build/steps/message) in one call.
- In Atlas these are the workflow tools, taught by a workflows skill; on the MCP server they are `voiceflow_workflow`.
Edits that [insert a step](/docs/api-reference/workflow/insert-workflow-step) or [split a block](/docs/api-reference/workflow/split-workflow-block) must carry the block's steps as last read, and a stale copy is refused.
{/* manifest: workflows-are-read-and-edited-as-blocks-of-ordered-steps-thr */}
## Undo restores deleted steps to their original positions
Undo on the workflow canvas now puts deleted [steps](/docs/resources/glossary/build/steps) back in their block at their old positions, including when you deleted several together or a step with exit actions.
{/* manifest: undoing-a-delete-puts-steps-back-into-their-block-at-their-o */}
## Credits usage chart includes hosting credits
The Credits usage chart on a legacy agent's [Analytics](/docs/documentation/measure/analytics) Usage dashboard now shows hosting credits as a **Hosting** segment in each bar and tooltip, so the bars add up to the credits you used.
{/* manifest: the-credits-usage-chart-on-a-legacy-agent-s-usage-dashboard- */}
## Rejecting an Atlas approval card stops that change
Rejecting a change on an Atlas approval card now stops it: Atlas asks what you want instead of retrying through other calls, and a new message you send takes priority over an unanswered card.
{/* manifest: rejecting-an-atlas-approval-card-stops-that-change-atlas-ask */}
## Remove HTML and noise keeps main content in layout wrappers
Web pages imported with **Remove HTML and noise** into your [knowledge base](/docs/documentation/build/importing-data-sources) now keep their main text when the site wraps it in a container named like a sidebar, header or footer.
{/* manifest: importing-a-web-page-with-remove-html-and-noise-keeps-the-pa */}
## Knowledge base filters use the running version's values
[Knowledge base](/docs/documentation/build/querying-the-knowledge-base) filters now offer the model only values from documents in the version your agent is running, so filtered searches stop coming back empty when other versions hold different values.
{/* manifest: an-agent-s-knowledge-base-filter-offers-and-matches-only-met */}
## URL knowledge base sources now show their page title
URL sources in your [knowledge base](/docs/resources/glossary/knowledge-and-data) now show the title of the page, so you can tell which page a source is without opening it.
- When you [import](/docs/documentation/build/importing-data-sources) or refresh a URL, the title is read from the page's `og:title`, then its title tag, then its first heading.
- Open the URL source under **Knowledge base** and the drawer shows the title under **Page title**.
- The title is included in your agent's [environment](/docs/documentation/deploy/environments/overview) export, so it stays with the agent when you clone or import it.
Pages whose content comes from an [integration](/docs/documentation/build/steps/integration) such as [Zendesk](/docs/documentation/build/tools/zendesk-tool), and links to PDFs, get no title.
{/* manifest: a-url-knowledge-base-document-stores-the-page-s-title-read-f */}
## Manage playbook exit paths through the API, MCP and Atlas
You can now list, create, rename and delete a [playbook](/docs/documentation/build/playbooks)'s exit paths through the stable API, the [MCP server](/docs/mcp/setup) and Atlas, without opening the editor. They work on [operators](/docs/documentation/build/steps/operator) too.
- [List exit paths](/docs/api-reference/playbook-path/list-exit-paths) returns a playbook's paths in order.
- [Create exit path](/docs/api-reference/playbook-path/create-exit-path) adds a path at the end.
- [Update exit path](/docs/api-reference/playbook-path/update-exit-path) changes a path's name or exit condition.
- [Delete exit path](/docs/api-reference/playbook-path/delete-exit-path) removes a path.
The four operations live at `/v1/stable/playbook-path`. A new path appears at once as an unlinked port on every [Playbook](/docs/documentation/build/steps/playbook) or Operator step that runs the playbook.
Deleting a path removes its port and link the next time that step is written.
{/* manifest: a-playbook-s-exit-paths-can-be-listed-created-renamed-and-de */}
## Preview deletions in the Atlas cleanup merge
When you [merge](/docs/documentation/deploy/environments/merging) the Atlas data cleanup [environment](/docs/documentation/deploy/environments/overview) into Main, the change preview now lists everything the merge will delete under its own **Unused** tab.
- Go to **Environments > Merge**, choose the Atlas data cleanup environment, and open **Unused** in the change preview.
- **Operators**, **Prompts** and **Messages** each have a tab, and each card shows the item's name and content.
The **Unused** section appears only for a merge from the cleanup environment.
{/* manifest: merging-the-atlas-data-cleanup-environment-shows-an-unused-s */}
## Analytics totals add up by environment on legacy agents
Credits and cost widgets in [Analytics](/docs/documentation/measure/analytics) now count usage recorded under an environment's name, such as production or development, when you filter by [environment](/docs/documentation/deploy/environments/overview) on a legacy agent.
{/* manifest: on-a-legacy-agent-s-analytics-dashboard-token-and-cost-figur */}
## Contact support opens a form inside the app
**Contact support** now opens a form in the builder, so you can send support a request without leaving your work. The ticket is sent as you, and replies arrive by email.
- Open it from **Help menu > Contact support** or from the dashboard sidebar.
- It also opens from connection warnings, import errors and the credit limit notice.
Choose **Ask a question**, **Report a problem** or **Suggest a feature**, write your message and attach up to 3 files of 10 MB each. You can also tie the request to a [workspace](/docs/documentation/account-management/collaboration) and project.
{/* manifest: contact-support-opens-an-in-app-form-for-questions-problem-r */}
## Knowledge base filters handle keys with many values
[Knowledge base](/docs/documentation/build/querying-the-knowledge-base) metadata filters on keys with more than 20 stored values now cost fewer tokens per answer, because the model sees three example values and your description instead of every value. The value the model chooses is matched to a stored one ignoring case, or by a unique partial match.
In **Advanced query settings** > **Metadata filtering**, a caption under the filter description says there are too many values to list when the description is empty or left at the default.
Write a description for these keys so the model can pick the right value.
{/* manifest: a-knowledge-base-metadata-filter-with-more-than-20-stored-va */}
## Secrets table stays readable in narrow windows
The [Secrets](/docs/documentation/build/data/secrets) table in **Settings > Secrets** now keeps headers and masked values legible in a narrow window or with a side panel open.
{/* manifest: the-secrets-table-keeps-its-column-headers-and-masked-values */}
## Edit when a playbook returns to the Main Agent
You can now edit the text that tells a [playbook](/docs/documentation/build/playbooks) when to return the conversation to the Main Agent. It lives in **Routing**, under [Behaviour](/docs/documentation/build/behaviour) settings.
- Open **Settings > Behaviour** on an agentic project and choose **Routing**.
- In the **Return to Agent** card, edit the text in the **Trigger** field.
- Click **Expand** to edit the text in a larger window.
- Click **Reset** to restore the default trigger.
If you leave the **Trigger** field blank, the default is saved.
{/* manifest: the-main-agent-s-hand-back-trigger-the-text-playbooks-read-t */}
## Copied Operator steps keep their exit paths
Duplicating or pasting an [Operator](/docs/documentation/build/steps/operator) step now keeps its exit paths and their links, so you no longer rewire each exit on the copy.
{/* manifest: duplicating-or-pasting-an-operator-step-keeps-its-exit-paths */}
## Copied playbook instructions mention the copy's exit conditions
A copied [playbook](/docs/documentation/build/playbooks)'s [instructions](/docs/documentation/build/instructions) now mention its own exit conditions instead of the original's, whether you duplicate or import it, or create or replace it from a template.
{/* manifest: copying-a-playbook-re-points-the-exit-conditions-its-instruc */}
## Canvas step sidebar handle works after resizing
Clicking the handle on the right edge of the canvas step sidebar now collapses it, and a second click locks it open, even after you have resized it.
{/* manifest: clicking-the-canvas-step-sidebar-s-edge-handle-collapses-or- */}
## Async Function steps follow their connected path
A [Function](/docs/documentation/build/steps/function) step with **Async execution** on now continues down the path you connected, even when its [function tool](/docs/documentation/build/tools/function-tool) declares its own paths such as Success and Failure.
The step follows the default port if one is connected, otherwise the first connected path. The canvas shows only the paths the function declares.
Agents you have already published pick up the fix without [republishing](/docs/documentation/deploy/environments/publishing).
{/* manifest: an-async-function-step-whose-function-declares-paths-continu */}
## Google Sheets tool picker now fills the spreadsheet input
Choosing a sheet in a [Google Sheets tool](/docs/documentation/build/tools/google-sheets-tool) now fills the spreadsheet input even when Google returns no link or a Drive link, and a non-Sheets file shows **Select a Google Sheet to continue**.
{/* manifest: the-select-google-sheet-picker-on-a-google-sheets-tool-input */}
## Tag tools and exit conditions in Operator step prompts
You can now tag your project's [tools](/docs/documentation/build/editor/references) and the step's own exit conditions in the prompt of an [Operator](/docs/documentation/build/steps/operator) step, instead of naming them in text. This works in agentic projects.
- Click the step's prompt and type `/` to open **Tools** or **Exit conditions**, then pick one to insert it as a chip.
- Type `{` to insert a [variable](/docs/documentation/build/data/variables).
- Text is stored exactly as typed, with no markdown formatting.
{/* manifest: the-operator-step-s-prompt-can-tag-the-project-s-tools-and-t */}
## Playbook and Agent steps show tool names in previews
[Playbook](/docs/documentation/build/steps/playbook) and Agent step previews on the canvas now show the name of a tool, [system tool](/docs/documentation/build/tools/system-tools), [playbook](/docs/documentation/build/playbooks), workflow or exit condition your [instructions](/docs/documentation/build/instructions) reference, not its ID.
{/* manifest: playbook-and-agent-steps-on-the-canvas-show-a-referenced-too */}
## Secrets in handoff steps
A Live agent handoff step can now take its value from a project secret, not just a variable. This lets you keep values like an integration ID or a queue ID out of plain view while still populating the step.
In the handoff step's fields, choose a secret anywhere you could already choose a variable. The secret is resolved when the handoff starts.
The step's Configuration JSON stays variables-only and does not accept secrets.
{/* manifest: live-agent-handoff-step-fields-accept-project-secrets-alongs */}
## Read and update your chat widget from the API
You can read and change your chat widget's settings, and get its install snippet, from the stable API, the [MCP server](/docs/mcp/setup) or Atlas, without opening the builder.
- Send a `GET` with a project and [environment](/docs/documentation/deploy/environments/overview) to read the widget configuration.
- Send a `PATCH` with only the fields to change to [update the widget](/docs/api-reference/widget/update-widget).
- Fetch the [widget snippet](/docs/api-reference/widget/get-widget-snippet) to get the script tag to paste before the closing `body` tag.
- Changes land on the environment's draft and go live when you [publish](/docs/documentation/deploy/environments/publishing).
- [Personal keys](/docs/developers/authentication/personal-keys) and service keys gain Widget read and update permissions, set under **Account > Personal keys > New key > Permissions > Widget**.
Premium fields still need the Webchat Premium or widget security plan item, or the whole request is refused.
{/* manifest: the-chat-widget-s-configuration-can-be-read-and-patched-and- */}
## Select and copy text in expanded test checks
You can now select and copy text inside an expanded check or simulation in the [test editor](/docs/documentation/measure/tests) by dragging across it, while turns still reorder by their header or handle.
{/* manifest: text-inside-an-expanded-check-or-simulation-in-the-test-edit */}
## Generative fallback messages ignore the global prompt
Generative global no-match and no-reply messages now follow only the prompt you write for them and the recent conversation, on agent steps as well as workflow steps. Your [global prompt](/docs/documentation/build/global-prompt), with its persona and guidelines, no longer goes into them.
- For no-match, the model receives your fallback prompt and the last few turns of the conversation.
- For no-reply, it also receives the follow-ups already sent.
This applies when **Global no-match** or **Global no-reply** is set to **Generative** in the [Behaviour](/docs/documentation/build/behaviour) settings, under **Agent > Behaviour > Fallback**.
To keep a tone or a rule in these messages, write it into the fallback prompt itself.
{/* manifest: generative-global-no-match-and-no-reply-messages-are-written */}
## Agent memory keeps fuller summaries of long conversations
Agents now remember more of what was said early in long conversations, because the summary of older turns past the **Memory** turn limit keeps the details that matter.
{/* manifest: conversation-memory-past-the-memory-turn-limit-is-summarized */}
## Behaviour page navigation now scrolls to every section
Clicking a section in the [Behaviour](/docs/documentation/build/behaviour) page navigation now scrolls to it and highlights it, including **Session & timeout**, **Events** and **Fallback** on shorter screens.
{/* manifest: clicking-a-section-in-the-behaviour-page-navigation-scrolls- */}
## Data source status stays visible after editing metadata
A processed data source in the Knowledge base **Data sources** table now keeps its status checkmark after you save new [metadata](/docs/resources/glossary/knowledge-and-data), where it used to vanish until you reloaded the page.
{/* manifest: a-knowledge-base-data-source-keeps-its-status-after-its-meta */}
## Environments table shows Last editor and Updated time
The [Environments](/docs/documentation/deploy/environments/overview) table now shows who last edited each environment and when, the way the [Playbooks](/docs/documentation/build/playbooks), Workflows and Tools tables do.
- The **Last editor** column replaces **Created by** and names the member who last changed the environment's draft.
- The **Last updated** column is now called **Updated**, and hovering it shows the full time.
Find the table in **Settings > Environments**.
{/* manifest: the-environments-table-shows-each-environment-s-last-editor- */}
## Hourly token usage now reports credits and dollar cost
Hourly token usage queries now report what the usage cost: credits for every organization, and dollars for self-serve organizations. Query [hourly project token usage](/docs/api-reference/analytics/query-hourly-project-token-usage) or [hourly organization token usage](/docs/api-reference/analytics/query-hourly-organization-token-usage) through the API, or use [vf analytics query hourly-project-token-usage](/docs/cli/commands/analytics/query/hourly-project-token-usage) and [vf analytics query hourly-organization-token-usage](/docs/cli/commands/analytics/query/hourly-organization-token-usage) in the CLI.
- Each hourly row includes `credits`, and `costDollars` for self-serve organizations.
- The organization total includes `totalCredits` and `filteredCredits`.
- On self-serve organizations, the total also includes `totalCostDollars` and `filteredCostDollars`.
A dollar figure is `null` where the period contains usage from before costs were recorded.
{/* manifest: hourly-token-usage-from-the-analytics-service-and-the-stable */}
## Select Claude 5.5 Sonnet as your agent's model
You can now select Claude 5.5 Sonnet as the model for your agent in its [behaviour settings](/docs/documentation/build/behaviour). Choose **Claude 5.5 - Sonnet** from the Anthropic group in **Settings > Behaviour > Model**.
Claude 5.5 Sonnet always reasons, so **Off** is not among its reasoning effort options.
If the model is unavailable, requests fall back to Claude 4.6 Sonnet on Anthropic.
{/* manifest: claude-5-5-sonnet-on-aws-bedrock-is-selectable-as-an-agent-m */}
## Atlas can now ask several questions in one picker
When Atlas needs several answers, it can ask up to seven questions in one picker in the Atlas panel of the builder.
- The picker shows one question at a time, with a counter such as 2 of 3.
- Pick an option or type your own answer to move to the next question.
- Use **Back** to change an earlier answer.
- The last answer sends everything as one message, with a numbered line per question.
If you choose to type instead, the answers you have already given stay in the message box.
{/* manifest: atlas-can-ask-up-to-seven-questions-in-one-picker-stepped-th */}
## Atlas builds one piece at a time and checks in
Atlas now works in small steps you can review: it makes one change, stops to show you, and replies more quickly.
- Before each change, Atlas says in one line what it is about to change.
- Afterwards, Atlas gives a short summary and offers to test the change.
- After six changes since your last message, Atlas stops and waits, unless you ask it to do the rest or to work without stopping.
- Atlas makes a plan only when you ask for one.
- Atlas compiles or runs [tests](/docs/documentation/measure/tests) and [evaluations](/docs/documentation/measure/evaluations) only when you ask it to test.
- The **Effort** menu in the Atlas panel composer now starts on Low for everyone, with Medium and High still available.
{/* manifest: atlas-builds-one-small-piece-at-a-time-checking-in-after-eac */}
## Ask Atlas from transcripts, logs and evaluation results
You can hand a message or log from a saved [transcript](/docs/documentation/measure/transcripts), or an [evaluation](/docs/documentation/measure/evaluations) result, to Atlas in one click. Atlas opens with the item attached and the cursor in its message box, so you can start asking straight away.
- Hover an agent message or a log row in a saved transcript, or in an evaluation result's conversation, and click the Atlas button.
- Use **Ask Atlas** in the transcript viewer header, beside an evaluation's results charts, or above the log open under **Attributes**.
- In the test chat, the agent message button is now named **Ask Atlas**, and cards and [carousels](/docs/documentation/build/steps/carousel) no longer show it.
The button shows a tick, then hides while the item is attached. Remove the item from its chip in Atlas's message box to bring the button back.
{/* manifest: ask-atlas-buttons-on-saved-transcript-messages-and-logs-eval */}
## Environment dialogs keep their change preview when you switch tabs
The change preview in the **Publish**, **Merge**, **Discard changes**, **Version history** and **Save version** dialogs for [environments](/docs/documentation/deploy/environments/overview) stays put when you return to the browser tab or your connection comes back.
The preview loads when the dialog opens. To see newer changes, close and reopen the dialog.
{/* manifest: an-open-change-preview-in-the-environment-publish-merge-disc */}
## Open a single Used by reference with one click
You can now open a single [playbook or workflow](/docs/resources/glossary/build/playbooks-workflows) directly from its **Used by** entry in a table such as Workflows.
Rows used in several places still open the menu. A lone library template still shows the menu with its explanation.
{/* manifest: a-used-by-cell-with-a-single-reference-opens-that-playbook-o */}
## Framework settings
The Framework page no longer has its own place in the settings rail. The initialization workflow now lives under **Behaviour**, alongside the rest of an agent's behaviour settings.
If a project is still on conversation flow, you can switch it to the agentic framework from the **General** tab. The switch only goes one way: once a project moves to agentic, it cannot move back.
This only applies to projects still on conversation flow. An agentic project has no framework switch to make.
{/* manifest: the-framework-page-leaves-the-rail-the-initialization-workfl */}
## Global prompt timezone
Your agent's timezone can now be set from the global prompt editor, right next to the prompt that uses it. Your own timezone is offered first in the list, so the common choice is right there.
Open the **Global Prompt** tab and use the timezone selector to choose a zone, or clear it if you no longer want one set. Clearing now removes the value instead of requiring you to replace it with another.
{/* manifest: the-agent-timezone-is-set-from-the-global-prompt-editor-and- */}
## Transcript version filter
The Search transcripts endpoint on the Analytics API can now search across several versions in one request.
Pass a list of version IDs to the `versionIDs` field to pull transcripts from a published version and its past releases together, instead of querying each version separately.
{/* manifest: search-transcripts-on-the-analytics-api-accepts-a-versionids */}
## Messages and prompts API
Messages and prompts can now be read, created, edited and deleted by ID through the API, the MCP server and Atlas. This includes a message's variants and a prompt's system text and settings, so scripted content can be managed directly rather than only through the builder.
Use the API or MCP server endpoints for messages and prompts to fetch or update them by ID, or work with them in Atlas. The `/v2` environment export now nests these under `messages` and `prompts`, so exports reflect the same structure.
{/* manifest: messages-and-prompts-are-read-created-edited-and-deleted-by- */}
## Tool execution API
You can now run a function, API tool, MCP tool or integration tool on its own, from the API, the MCP server or Atlas, and read what it returned, without starting a conversation.
Call `get_schema` to read the inputs a tool expects, then call the tool directly to execute it once. Secrets the tool needs are passed by name rather than by value.
This runs the tool by itself, outside of any conversation flow.
{/* manifest: functions-api-tools-mcp-tools-and-integration-tools-can-be-r */}
## Secrets per environment
[Secrets](/docs/documentation/build/data/secrets) have moved from the project level to the environment level, so each environment now keeps its own values.
Every secret has a **Default value** and can optionally have a **Draft value**. When you test your agent, Voiceflow uses the draft value if there is one and falls back to the default value. In production, it always uses the default value.
{/* manifest: secret-values-belong-to-each-environment */}
## Secrets page shows when each value last changed
The [Secrets](/docs/documentation/build/data/secrets) page now shows when each secret's value in the current [environment](/docs/documentation/deploy/environments/overview) was last updated, where environment-level secrets are enabled.
- Open the project **Secrets** page and look at the **Updated** column.
- Each row shows a relative time, and hovering over it shows the exact date and time.
- The time reflects the later of the environment's [published](/docs/documentation/deploy/environments/publishing) and draft values for that secret.
The column stays empty for a secret that has neither a published nor a draft value in the environment.
{/* manifest: the-environment-level-secrets-page-shows-when-each-secret-s- */}
## Live agent handoff
Live agent handoff is now available to users on all plans. Users can add the Handoff step to a chat agent and route conversations to a live agent.
Add the **Handoff** step from the builder and connect it to Ujet, Genesys, Kustomer, Dixa, Sunshine Conversations for Zendesk, or a custom handoff provider.
{/* manifest: the-live-agent-handoff-step-and-its-handoff-integrations-are */}
## Button clicks in transcripts
A click on a carousel or card button now appears as your turn in the transcript, and in the conversation an evaluation scores.
Nothing to configure. This applies to every transcript and to every evaluation run against it.
{/* manifest: clicking-a-carousel-or-card-button-is-recorded-as-the-user-s */}
## Notification sound
The chat widget can now play a notification chime when a new message arrives. A visitor who has scrolled away or switched to another tab hears when the agent has replied, instead of only seeing an unread badge on return.
Turn it on in the widget's settings. No other configuration is needed, and the chime plays automatically whenever a new message comes in while the widget isn't in focus.
{/* manifest: the-chat-widget-can-play-a-notification-chime-when-a-new-mes */}
## Voiceflow Core 4.2
**Voiceflow Core 4.2** has been released as the newest agent model.
Agents running **Voiceflow Core 4.1** will move to 4.2 automatically - no action needed.
4.2 is a stronger reasoning and instruction-following model. Conversation quality should improve while remaining at the same cost.
**Voiceflow Core 4.1** is deprecated and no longer available for new agents.
## Outbound SMS
A phone number assigned for SMS can now start a conversation instead of only receiving one. Your agent sends the first text, and the recipient's reply continues that same session.
Trigger the outbound message from the phone number API, specifying the number and the recipient. The agent's first message opens the conversation, and everything that follows, on either side, stays in that thread.
This applies to numbers already assigned for SMS, so no separate setup is needed to enable outbound sending.
{/* manifest: an-outbound-sms-conversation-can-be-started-from-the-phone-n */}
## Transcript log filtering
You can now filter the logs returned by the transcript endpoint to just the traces you need, instead of downloading the whole log and filtering it yourself.
Pass `filterConversation` on a request to a transcript to return only conversation traces, or use `customTraceTypes` to select specific trace types to include. Both are optional parameters on the existing stable transcript endpoint.
This trims what the API returns before it reaches you, rather than requiring you to filter the full log after the fact.
{/* manifest: the-stable-transcript-endpoint-accepts-filterconversation-an */}
## Instruction patching
Agent instructions, global prompts, and playbook instructions can now be read, searched, and patched line by line through the API. You can edit a single line in a 20,000-line prompt without re-sending the entire document, and search instructions to locate specific lines.
Use the new patch endpoints to update individual lines by their line number or search pattern. This applies to instructions at the agent level, global prompt level, and within playbooks.
Full document replacement remains available. Line-by-line patching is an alternative for large instruction sets where targeted edits are more efficient.
{/* manifest: agent-instructions-the-global-prompt-and-playbook-instructio */}
## Pull main's latest draft into another environment
**Pull from Main** brings main's current draft into a non-main [environment](/docs/documentation/deploy/environments/overview) as a three-way merge. Main's version of anything you changed in the environment is dropped, and everything else comes across.
- From the canvas header, open the [publish](/docs/documentation/deploy/environments/publishing) menu and choose **Pull from Main**.
- From **Settings > Environments**, open the environment's row menu and choose **Pull from Main**.
The window previews the impact with four counted tiles: **Main's changes dropped**, **Coming in**, **Removed here** and **Untouched**. Each resource gets a row saying what happens to it, and the **Pull from Main** button applies the result.
Main is never locked or modified. Only the draft of the environment you pull into is replaced.
{/* manifest: pull-from-main-brings-main-s-current-draft-into-a-non-main-e */}
## Preview Soniox voices from the voice picker
The play icon beside a Soniox voice in **Canvas header > Voice** and **Settings > Behaviour > Voice output** now plays a sample, so you can hear a voice before you choose it.
{/* manifest: soniox-voices-carry-a-preview-sample-so-the-play-button-work */}
## Atlas reads your conversations
Atlas can now answer questions about your conversations in bulk. Ask why calls dropped last Tuesday, or which conversations scored badly on an evaluation, and it searches your transcripts, reads the ones that matter, and reports back, instead of you opening them one at a time.
Point it at a date range, an environment, or an evaluation score. It can summarize a single conversation from a link, or run named evaluations across everything it found in one batch. Batches spend your workspace's evaluation quota and write scores onto the transcripts, so Atlas tells you the cost before it starts.
{/* manifest: atlas-searches-reads-and-scores-conversations-through-purpos */}
## Reasoning effort
You can now set how hard a Claude model thinks before it answers. Pick a Claude model served through Bedrock and a **Reasoning effort** slider appears, with stops for Off, Adaptive, Low, Medium and High. Leave it alone and the model keeps its own default.
Set it in **Settings** → **Behaviour** → **Model & reasoning**, or from the **Model** popover on a playbook or prompt. Thinking tokens are billed as output, so Off is a cost control as much as a speed one.

{/* manifest: reasoning-effort-including-off-and-adaptive-is-selectable-fo */}
## SMS attachments now show in transcripts
A photo or file a user texts to your agent now appears on their turn in [transcripts](/docs/documentation/measure/transcripts), and reaches a live agent during a [handoff](/docs/documentation/handoff/sms) over SMS.
{/* manifest: a-file-texted-to-an-agent-appears-on-its-turn-in-the-transcr */}
## Phone call audio
We have improved how phone call audio is processed before the agent hears it. There were cases where noise cancellation was stripping parts of what the caller said, so the agent missed some of the utterance and it did not reach the transcript. Callers now come through in full.
Nothing to configure, and this applies to every phone call.
{/* manifest: noise-cancellation-on-phone-calls-no-longer-removes-the-call */}
## Evaluation run scope
An evaluation can now be scoped to conversations that ran on a published environment, or to draft ones, instead of scoring everything. Resolution rate and Conversion rate are published-only by default, so test traffic no longer skews them.
Set `runScope` to `published`, `draft` or `both` through the API. It applies to automatic scoring only: a batch run from the Transcripts tab still runs on exactly the transcripts you pick.
Evaluations score what already happened. Tests pin what must happen.
{/* manifest: an-evaluation-can-be-scoped-to-run-automatically-on-publishe */}
## Billing user role
Billing access is now decided by a member's workspace role alone. Owner, Admin and Billing roles keep it, as do organization admins.
Giving someone edit or admin access to a single project used to carry billing access with it. If you were relying on that, give them the workspace **Billing** role instead.

{/* manifest: workspace-billing-permissions-are-decided-by-the-workspace-r */}
## Atlas writes your tests
Atlas can now create tests in the **Tests** tab: scripted turn-by-turn conversations, persona simulations, and checks on what the agent said, where it routed and which tools it called. It can also turn a conversation into a regression test, whether that conversation worked or failed.
After a smoke conversation passes, Atlas offers to pin it as a test. Before a publish or merge to Main, it offers to run the suite first. Atlas writes the test and hands the run back to you to trigger.
{/* manifest: atlas-can-author-convert-and-read-saved-agent-tests-through- */}
## Atlas improvements
Atlas now edits prompts in front of you. Ask it to change your global prompt, agent instructions or a playbook's instructions, and you watch the rewrite happen in the editor rather than waiting for a finished result. In Safe mode the proposal appears as a word-level diff you accept or reject; in Autonomous mode the text is typed straight in.
You can also ask about one part of a prompt instead of the whole thing. Select any text in an editor and choose **Ask Atlas** from the toolbar above the selection, and that passage is attached to your next question as a chip.
And Atlas can set up credentials with you. When something needs a secret, an integration or an MCP server, it offers a card that opens the normal Voiceflow flow. You fill it in, the card reports back, and Atlas carries on from where it stopped. **The credential is entered by you and never passes through the chat or the model.**
{/* manifest: atlas-s-prompt-and-instruction-edits-stream-into-the-prompt-, ask-atlas-about-a-selected-passage-of-a-prompt-from-the-edit, atlas-sets-up-secrets-integrations-and-mcp-servers-by-offeri */}
## Secret and integration endpoints
Secrets and third-party integrations can now be listed, created, connected and disconnected through the stable API, the CLI and the Voiceflow MCP server, scoped by project. Secret values are write-only and never returned.
Integrations report whether they can be connected through the API at all. Browser-flow ones such as Zendesk and Salesforce still have to be connected in the builder. A credential value is refused when it arrives from an MCP client.
{/* manifest: secret-and-integration-resource-families-on-the-stable-api-w */}
## Pending changes indicator
An environment with unpublished work now says so. The **Publish** control carries an amber dot, and its menu offers **View pending changes** so you can read the diff without opening the Publish form. The environments table shows the same dot in place of the old Draft tag.

{/* manifest: an-environment-with-unpublished-work-is-marked-on-the-publis */}
## Safe mode in Atlas
Safe mode is how Atlas works by default: it pauses and asks before anything that changes your project, and runs read-only work such as listing, fetching, exporting, querying analytics and searching transcripts without interrupting you.
It now decides what counts as a change per operation, rather than inferring it from the operation's name. Anything implemented as a write asks first even if it reads like a lookup, and any newly added operation asks until it is classified. Switch between Safe and Autonomous from the pill in the Atlas composer footer.

{/* manifest: atlas-safe-mode-gates-every-product-write-from-an-explicit-p */}
## Set an agent Objective to choose your headline metric
You can now set your agent's Objective to Resolution or Conversion, and [analytics](/docs/documentation/measure/analytics) leads with that metric. A Conversion rate system [evaluation](/docs/documentation/measure/evaluations) is created for you.
- Find the setting at **Settings > Behaviour > Objective**, part of your agent's [Behaviour](/docs/documentation/build/behaviour) settings.
- Choose **Resolution** to measure the share of conversations successfully resolved.
- Choose **Conversion** to measure the share of conversations that reach a desired outcome.
- New agents get an objective when you create them.
The system evaluation for the objective you did not pick is hidden from the evaluations list.
{/* manifest: an-agent-objective-that-chooses-the-headline-analytics-metri */}
## Collect CSAT ratings at the end of a chat
The chat widget can now ask users to rate their experience when a chat ends, with optional free-text feedback. The scores land on the [transcript](/docs/documentation/measure/transcripts), so you can filter, sort and chart them.
- The transcripts table gains a CSAT score column and a CSAT score filter.
- [Analytics](/docs/documentation/measure/analytics) shows a score distribution and a trend over time.
- Scores are saved on the conversation as transcript properties.
To turn it on for a chat agent, enable **Collect CSAT ratings** in **Agent > Integrations > Web chat > Interface**.
{/* manifest: csat-ratings-collected-at-the-end-of-a-chat-and-reported-in- */}
## Atlas
Meet Atlas, your in-app copilot for building and monitoring agents. Ask how an agent performed this week, how that compares to last week, or where customers are dropping off. Ask for a change to the agent and Atlas makes it.

Atlas holds a single conversation as you move around the product, so you never have to re-explain what you are working on. You can watch it think: a live activity line shows the tools it is calling and the reasoning behind each step.
Anything you find yourself asking repeatedly can become a Skill. Save your own in **Settings → Skills**, then pick them from Atlas whenever you need them.
Atlas is in Beta, available on agentic projects, and its usage is broken out in your workspace usage charts.
{/* manifest: atlas-the-builder-ai-assistant-rebuilt-as-a-persistent-panel */}
## Markdown source view
The fullscreen global prompt and playbook instruction editors can now be switched to their markdown source and edited as plain text, so you can see and change exactly what the agent will read. Use **Show markdown source** in the floating actions, and **Show rendered markdown** to switch back.
Source mode has syntax highlighting and tab indentation, and your choice is remembered per editor. The rendered view is still the default, so nothing changes unless you switch. Copying from the rendered view now gives you markdown.

{/* manifest: a-markdown-source-view-in-the-global-prompt-and-playbook-ins */}
## Transcript keyword search
You can now find transcripts by what was actually said in them. Search for a phrase and the list narrows to conversations containing it, with each result showing how many messages matched and a short excerpt around the first hit.
You can also narrow to just what the user said, or just the agent. Search terms can be up to 256 characters, and the same filter is available on the transcript search API.

{/* manifest: transcripts-can-be-searched-by-keywords-in-user-and-agent-me */}
## Max conversation duration
Voice conversations can now run up to sixty minutes, double the previous ceiling. You can set the limit from **Behaviour → Session & timeout**.
Agents that had the setting switched off move to a thirty-minute default. If you previously entered a value above thirty minutes, note that it was silently capped before and will now apply in full.

{/* manifest: max-conversation-duration-is-always-on-set-with-a-slider-and */}
## MCP token authentication
The Voiceflow MCP server now accepts a personal access token as a bearer credential, so a client that cannot open a browser for OAuth can connect using the same token that authenticates the REST API and the CLI. Send it in the `Authorization` header instead of completing the browser sign-in. The OAuth flow is unchanged.
{/* manifest: the-voiceflow-mcp-server-accepts-a-personal-access-token-ins */}
## Trace filtering on the conversation endpoint
A caller of the stable conversation endpoint can now list trace types to drop from the response, so an integration only receives the traces it renders. Send a `config` object alongside the action with `excludeTypes` listing the types to drop. Omit it and every trace comes back as before.
One trace is always returned even when its type is excluded: the debug trace reporting that the credit limit was reached.
{/* manifest: trace-types-can-be-excluded-from-the-stable-conversation-end */}
## Late variable writes
A variable set after the agent has already replied, which is the normal case for an asynchronous tool that finishes late, now survives into the following turn instead of being quietly reverted. The agent reads what was actually written.
Nothing to configure. If your agent was built to expect late writes to be discarded, note that it will now see the updated values instead.
{/* manifest: a-variable-written-after-a-turn-is-sealed-is-no-longer-rever */}
## Multilingual Cartesia voices
Cartesia text-to-speech now covers over forty languages, up from fifteen. Each voice declares which languages it speaks, and the preview sample plays in the language you selected. Choose a provider, voice and language from **Settings → Behaviour → Voice output**.
The voice menu now filters by language, so a voice that does not support the language you pick will not appear in the list. Existing selections are untouched.
{/* manifest: cartesia-voices-support-forty-languages-with-samples-that-pl */}
## Knowledge base logs in evaluations
**Knowledge base logs** joins Playbook, Workflow and Tool logs in an evaluation's **Log visibility** settings. With it on, the evaluating model can see the knowledge base searches your agent ran, so a criterion about whether an answer came from your content is something it can actually check. As with the other log types, including them makes each prompt longer and raises the average cost per evaluation.

{/* manifest: an-evaluation-can-be-given-the-agent-s-knowledge-base-search */}
## Transcript environment fields
A transcript fetched from the REST API now reports which environment the conversation ran in, and whether it ran against the draft or published version. Both fields are null for conversations recorded before environments existed.
{/* manifest: transcripts-from-the-stable-rest-api-carry-their-environment */}
## Live agent typing indicator
When a live agent is composing a reply during a handoff, the user now sees that the agent is typing instead of waiting in silence.
Nothing to configure. This currently applies to handoffs to Dixa; other providers are unchanged.
{/* manifest: a-typing-indicator-while-a-live-agent-is-replying-during-a-h */}
## Parallel tool calls
When an agent makes several tool calls in a single turn, all of them now run and every result comes back. Previously all but the last were discarded, so an agent that searched the knowledge base three times answered from one search.
Nothing to configure. This covers every kind of tool call an agent makes in a turn, including knowledge base searches, API tools, functions and integrations. Each result is matched back to the call that asked for it, and turns that make several calls are faster.
{/* manifest: more-than-one-knowledge-base-search-in-a-single-turn-no-long */}
## Tool message traces
The message an agent speaks while a slow tool runs now reaches applications that call the API without streaming. It arrives as an ordinary `text` trace for chat or a `speak` trace for voice, generated through the same path as any other agent message. Previously it was dropped.
Nothing to configure. If your integration consumes completion events, it keeps receiving the message as a completion sequence. If it does not, responses from non-streaming endpoints now carry one additional trace.
{/* manifest: a-generated-tool-call-message-reaches-callers-that-do-not-co */}
## Out-of-credit call handling
Phone calls are now declined when your organization has run out of credits, instead of connecting to an agent that cannot respond. The caller hears that no agents are available. A test call from the builder tells you to add credits.
Organization admins are emailed when this occurs.
{/* manifest: voice-calls-are-declined-when-the-organization-has-run-out-o */}
## Personal access tokens
You can now create a personal access token with an expiry you choose, and use it in place of the shared project API key for Voiceflow's APIs and the CLI. Create and revoke tokens from **Settings → Access tokens**. Project API keys will keep working.
Pick an expiry when you create a token, and copy the value once. A searchable table lists your tokens with their expiry and the actions available for each.

{/* manifest: personal-access-token-management-page-with-project-api-keys- */}
## Live transcripts
You can now follow a conversation while it is still in progress. Open **Transcripts** and click a conversation that has not ended, and each turn appears as it happens while the view scrolls itself, so you no longer have to wait for a conversation to finish before you can read it.
The view refreshes every four seconds and pauses while the browser tab is in the background. Once the conversation closes it keeps listening briefly so the final message still arrives, then settles.

{/* manifest: a-transcript-for-a-conversation-still-in-progress-follows-it */}
## Tag tools, playbooks, and workflows in your instructions
You can now reference a resource directly instead of naming it in plain text. Press `/` in the global prompt, agent instructions, or playbook instructions, choose a type (playbook, workflow, system tool, or tool), then pick from your project. It's inserted as a chip bound to that resource. Variables continue to be referenced using `{`.
If a tagged resource isn't available in that context, the chip flags it rather than silently failing.

## Markdown editor
The global prompt, agent instructions, and playbook instructions now use a Markdown editor. Structure your instructions with headings, lists, bold and italic, either with standard Markdown shortcuts (`## ` for a heading, `**bold**`, `> ` for a quote) or by pressing `/` to open the formatting menu. Agents built from a prompt come back formatted this way by default.
Existing instructions migrate automatically. The underlying data is unchanged, only how it's rendered and edited.

## Widget width
You can now set the chat widget's width from Interface → Widget, instead of overriding the `vfrc-chat` class with custom CSS. Minimum is 320px, and the widget stays responsive if the width you set exceeds the browser window.

{/* manifest: the-chat-widget-s-width-is-a-setting-instead-of-a-custom-css */}
## Session lifecycle webhook: richer payloads, `.v2` events deprecated
All four session lifecycle events (`runtime.session.start`, `runtime.session.end`, `runtime.call.start` and `runtime.call.end`) now carry the metadata that previously appeared only on their `.v2` variants: `versionID`, `transcriptID`, `versionVariant`, `projectEnvironmentID` and `projectEnvironmentAlias`, plus `endReason` on `runtime.session.end` and `sessionID` on the call events. `sessionID` on call events is new information: call and session events can now be correlated with each other for the first time.
These fields are **optional and nullable**. The `.v2` events only fired when every one of them was known, whereas the standard events fire on every session and call, so your handler should tolerate `null`. `versionID` carries the same value as `environmentID`.
**Deprecation:** `runtime.session.start.v2`, `runtime.call.start.v2` and `runtime.call.end.v2` will **stop firing on October 9, 2026**. Until then they continue to be delivered alongside their replacements, so you can migrate at your own pace. Switch to the event name without the `.v2` suffix.
`runtime.session.end.v2` has been removed. It never fired, because its trigger condition depended on data that was never recorded, so it had no subscribers.
We've also clarified a point that causes recurring confusion: session events fire on **every channel**, chat included. A voice conversation emits both `runtime.call.*` and `runtime.session.*` because a call and a session are different things with different end conditions. See [Session lifecycle webhook](/docs/api-reference/webhooks/session-lifecycle) for the full breakdown.
## Soniox speech to text model
Voiceflow now supports Soniox's V5 real-time speech to text model.

## Generative tool messages
In addition to scripted tool messages, you can now provide generative tool messages that use the conversation history to provide a contextually correct tool message at that point in the conversation. You can accompany generative tool messages with examples as hints for how your agent should reply. Generative tool messages also work nicely in multilingual agents and will reply in the language of the current conversation.

## Handoff configuration
A Live agent handoff step's **Configuration** field now controls the wait-time message and can hide file upload for the duration of a handoff. `waitTimeMessage` takes None, Delay, Time or Position; a mode your provider cannot render falls back to that provider's default rather than turning the message off. `disableFileUpload` hides the widget's upload control, and it stays hidden if the visitor reopens the chat.
Variables can now be written into the Configuration JSON the normal quoted way without voiding the rest of the object, and an invalid key drops only itself rather than the whole object. If you use Kustomer, Genesys, Ujet or Dixa, note that this changes what an untouched step sends to them.
{/* manifest: live-agent-handoff-step-gains-a-configuration-field-with-wai */}
## Project Analytics Updates
We made it easier to understand your agent's performance and ROI, by introducing a summary section on the **Analytics** page. Key evaluations and metrics now sit at the top: resolution rate and customer satisfaction are surfaced by default, alongside total conversations, spend, and average cost per conversation.
A number of new metrics were also added. This includes:
- LLM Cost
- TTS Cost
- SST Cost
## Environment Protection
You can now lock down individual environments so only admins or owners can publish or merge into them. Turn on **Environment protection** from the environment's ••• menu in **Settings → Environments**. Everyone else keeps their normal access to build and test - they just can't merge changes into that environment.
This is most useful on Main and on any environment carrying live traffic. Anyone can still create a new environment, this protects production environments from accidental or unauthorized changes.

## Cost limit per conversation
You can now set a maximum spend per conversation. Define a dollar amount, and once a session's cost exceeds it, Voiceflow ends the session automatically - a hard ceiling on any single conversation, no matter how long it runs or how many tools it calls.
For voice calls, this pairs with Max conversation duration: duration caps how long a conversation lasts, while cost limit caps what it spends. A short conversation that hammers an expensive model can cost more than a long, quiet one, so the two guardrails catch different failure modes.
As with duration, you can set an optional **End message** that's sent before the session closes.
This setting is off by default. Find it in **Settings → Behaviour.**

## Max conversation duration for phone calls
You can now cap how long a single conversation is allowed to run. Set a limit in seconds, and once a conversation hits it, Voiceflow ends it automatically - so a caller who stays on the line indefinitely, or an agent stuck in a loop, can't quietly burn through credits.
You can also define an optional **End message** that plays before the conversation closes, so the user gets a graceful sign-off instead of a dropped call.
This setting is off by default. Find it in **Behaviour → Session & timeout**.

## File upload in chat widget
The chat widget now natively supports file and image uploads for both AI agent and human handoff conversations. To turn file uploads on, open **Widget → Modality & Interface** and enable **Allow file attachments**.
Users can upload up to 10 files during a conversation. Supported file types include PDF, JPEG, JPG, PNG and WEBP.
Files are stored in a secure Voiceflow storage repository and are never publicly accessible. [Learn more](https://docs.voiceflow.com/documentation/deploy/widget/custom-web-chat-styling#enabling-file-uploads)

## Improvements to tool call sounds
Tool call sounds now:
1. Have manual volume control
2. Include more sound options
3. Automatically decrease volume when agent it talking over it
4. Fade in and out to create a more natural dialog

## Background audio for all telephony providers
All Telephony providers (Voiceflow, Twilio, Vonage, Telnyx) now support background audio. Background audio configuration can be found in the behaviour tab of your project.

## Secrets conflict resolution
When merging an environment into Main, Voiceflow detects secrets whose values differ between the two environments. Before the merge completes, you choose how to resolve them: keep Main's existing values (default), or enable **Override Main secrets** to replace them with the incoming environment's values. This prevents merges from silently overwriting production credentials - like API keys pointed at staging systems - without an explicit decision.

## Evaluations with log visibility
Evaluations just got a lot more observant. With the new **Log visibility** setting, you control exactly what your evaluating model can see when it scores a transcript - going beyond the conversation itself and into what your agent actually _did_ behind the scenes.
Choose which logs to include in each evaluation:
- **Playbook logs** - see which playbooks fired and how they reasoned toward their goal
- **Workflow logs** - trace the deterministic steps a conversation passed through
- **Tool logs** - inspect every tool call, input, and response
Each log type is opt-in, so you stay in control of the trade-off: more logs give the evaluating model richer context, while fewer logs keep credit usage lean. Enable all three, mix and match, or include none - whatever fits the question you're trying to answer.

## Variable persistence control
You can now control whether individual variables persists across user sessions. Define what should carry across sessions (name, preferences, tier) for returning users, and ignore what shouldn't. [Learn more](https://docs.voiceflow.com/documentation/build/data/variables#persisting-variables-across-sessions)

## Required variables for workflows & playbooks
Specify variables that must be filled before a playbook or workflow can be routed to. Until every required variable has a value, the agent won't hand off to it.

## Entry conditions
You can now gate playbooks and workflows behind entry conditions - deterministic checks that must evaluate to true before the agent can access that playbook or workflow. If the conditions aren't met, the playbook/workflow stays unavailable for routing, giving you precise, rule-based control over when each one becomes reachable.

## Organization level usage breakdown
You can now see exactly where your spend is going from a birds eye view. Usage breakdowns now include spend across workspaces and projects, broken down by Runtime, Measure, Development, and Generation features. Drill into a specific workspace, project, or date range to track costs over time and understand what's driving them.

## Transcript filtering by workflow, playbook and tool usage
You can now filter transcripts by a specific workflow, playbook, or tool and see only the conversations where it was used.

## Caller ID passthrough
When using the Call forward system tool, the forwarded destination can now see the original caller's number. This can be helpful to ensure your contact center platform receives accurate caller information for routing, logging, and CRM matching.

## Save tool responses to properties
Tool outputs can now be saved to [properties](https://docs.voiceflow.com/documentation/measure/transcripts#attaching-custom-properties), not just variables. Previously, when an agent called a tool, you could capture the response to a Voiceflow variable - now you can map it to a property as well, which is useful for tracking and transcript tagging.

## Merge conflict awareness
When merging an environment back into main, you can now see whether main has changed since you branched off it. This makes it clear when your branch is working from an outdated version of main, so you can review and reconcile those changes before merging.

## Personas
Personas let you test conversations with specific variable values already in place. They’re useful for testing how your agent handles different customer types or account states without setting things up by hand each time. [Learn more](/docs/documentation/build/data/personas)
## Tests
Tests let you verify your agent’s behaviour before real users see it. Each test simulates a conversation between a user and your agent, then checks that things like the agent’s responses, where it routed, and which tools it called match what you expected. [Learn more](/docs/documentation/measure/tests)

## Project converter
You can convert a chat project to voice (or voice to chat) right from your workspace dashboard. Select the project, click the ellipsis (•••) button, and choose **Convert to voice** or **Convert to chat**.
## Query re-writing
When enabled, the model rewrites the user’s last message before searching based on your instructions - improving retrieval for conversational or ambiguous inputs. Useful when users don’t phrase questions the way your content is written. [Learn more](https://docs.voiceflow.com/documentation/build/querying-the-knowledge-base#query-re-writing)

## New model: Voiceflow Core
Voiceflow Core is our first model, optimized for the kinds of tasks agents actually do - tool calling, multi-turn reasoning, instruction following inside playbooks. We benchmarked it on Voiceflow's agentic framework against the models we currently support (Anthropic, OpenAI, Gemini) and saw stronger quality, at a lower per-token cost. Core is rolling out as a selectable model across all plans.

## Pronunciation dictionaries
The pronunciation dictionary rewrites words or phrases in your agent’s responses before they’re sent to text-to-speech. This ensures correct pronunciation of names, places, or technical terms. You can find this setting in Behaviour/Voice Output/Pronunciation dictionary. [Learn more](https://docs.voiceflow.com/documentation/build/behaviour#pronunciation-dictionary)

## Environments
Work on multiple versions of your agent in parallel, conduct A/B tests with traffic splits, and roll changes back with confidence. [Learn more](/docs/documentation/deploy/environments/overview)

## Tool call sounds
You can now play an audio snippets while a tool call is running, so users aren't sitting in dead air during longer-running tools. Pick from sounds like keyboard typing, elevator music, and others directly in the tool call configuration.
This is a voice specific feature, so it's only available on voice projects.

## Evaluation preview cards
Evaluation results now open with summary cards at the top of the page, so you can see the key numbers at a glance without digging into the details.

## Flux multilingual
Flux Multilingual extends Flux to 10 languages. We highly recommend switching to Flux as it's the most performant STT model in market.

## Skip turn system tool
The skip turn tool lets the agent stay quiet and wait for the user instead of replying. Use it when the user asks for a moment - things like "hold on," "give me a sec," "let me think," or "one moment" - so the agent doesn't talk over them or fill the pause with something unnecessary.

## New default properties for chat transcripts
Chat transcripts now include OS, Device, Browser & Country properties by default. You can also filter your transcripts or evaluation results by any of these properties.

## Shopify tools
Connect your Shopify store to Voiceflow in a couple of clicks and give your agent instant access to real order and product data - no custom API wiring required.
What your agent can now do out of the box:
- **Answer product questions with live data** - stock levels, sizing, variants, and specs pulled straight from your catalog, so customers get accurate answers instead of hallucinated ones
- **Resolve "where's my order?" without a human** - customers self-serve status, tracking, and history just by asking
- **Turn support chats into revenue** - recommend the right next product based on what the customer is already looking at or buying
- **Handle cancellations end-to-end** - refund-ready cancellations happen inside the conversation instead of in a support queue

## Native fail path on Function and API steps
You can now enable a native failure path on Function and API tool steps. When a tool responds with an error code, or times out, the failure path triggers if enabled.
- If the Failure path is disabled and the tool errors or times out, the step exits through the first available port.
- This does not apply to API or Function tools used in the global agent or playbooks - the agent handles all cases.
- If the Failure path is disabled and the tool errors or times out, the step exits through the first available port.
- This does not apply to API or Function tools used in the global agent or playbooks - the agent handles all cases.
- If the Failure path is disabled and the tool errors or times out, the step exits through the first available port.
- This does not apply to API or Function tools used in the global agent or playbooks - the agent handles all cases.
## Workflow usage
You can now see workflow usage, alongside playbook usage in analytics. If you're not immediately seeing it in your analytics view, try adding it by editing the view from the page header.

## Global tools
You can now add [API](/docs/documentation/build/tools/api-tool), [MCP](/docs/documentation/build/tools/mcp-tool), [integration](/docs/documentation/build/tools/overview) and [function](/docs/documentation/build/tools/function-tool) tools directly at the agent level, making them available across your agent.
[Global tools are available](https://docs.voiceflow.com/documentation/build/tools/global-tools#when-are-global-tools-are-available-for-my-agent-to-use) any time the user is in an agentic context.

## Custom timeouts for API and function tools
You can now configure a custom timeout on [API](/docs/documentation/build/tools/api-tool) and [function](/docs/documentation/build/tools/function-tool) tools. If a tool doesn't respond within the set limit, it times out and triggers the fail path - so any fail tool messages or fallback paths you've configured will fire on timeout as well. The default timeout is 20 seconds.
Maximum timeout limits by plan:
| Plan | Maximum timeout |
| --- | --- |
| Enterprise | 600s (10 min) |
| Business | 150s (2.5 min) |
| Pro | 150s (2.5 min) |
| Trial | 60s (1 min) |

## Live conversations indication in transcripts
Your Transcripts table just got a heartbeat. Active conversations now appear have an indicator, alongside current cost - giving you a live pulse on every session as it happens. Refresh the table to pull in the latest updates without leaving the page.

## Interact with responses while they stream
Links are now clickable and text is copyable while the agent is still generating a response - so you can act on information the moment it appears, not after the last word lands.
## Resizable conversation editor in run mode
The conversation editor in run mode can now be resized, giving you more space when you need it.
## Run mode & transcript improvements
Run mode and historical transcripts now surface three new layers of detail to make testing and reviewing your AI agents more informative:
**Agent navigation** - When routing occurs, the transcript shows the path inline (eg: _Agent → Reservations specialist)_, giving you a clear trace of how conversations are routed throughout your AI agent.
**Latency indicators** - Each agent response shows its response time in milliseconds or seconds, making it easy to spot slow steps in your flow. Hover a latency chip to see more detail.
**Input types** - User turns are tagged with how the input was received (eg: _Voice input_, _Keypad input_, _Button input_, _Text input_), so you can better understand how your customers are interacting with your agent.

## Improved evaluation filters
You can now apply more granular filters to your evaluations - making it easier to track performance trends, compare results across specific time ranges, and pinpoint where your agent is improving or regressing.

## Customize widget loader
You can now choose how your agent looks while it's thinking. Pick between a spinner with text or a minimal dots loader, and customize the loading message to match your brand. Find it under Interface → Widget. This is a chat only feature.

## Async tool response capture
API and Function tools running asynchronously can now save their response to a Voiceflow variable. Previously, async was fire-and-forget - useful for logging and side effects, but the response was lost. Now you can fire an async call, continue the conversation, and reference the result as soon as it arrives.
This unlocks predictive experiences. Fetch a customer's recent orders during authentication, pull account data while the agent greets the user, or query a slow third-party service while the conversation moves forward.

## ElevenLabs Scribe v2 Realtime STT
We’ve added support for ElevenLabs' newest and most accurate speech-to-speech model, Scribe v2 Realtime. Supporting 90\+ languages.

## Eleven v3 TTS
We’ve added support for ElevenLabs' newest and most expressive text-to-speech model, Eleven v3. Supporting 70\+ languages.

## Show source URLs in responses
When enabled, the agent includes the source URL (If public URL) alongside its response so users can verify or learn more. Recommended for help centers and documentation.
This feature is available for both the knowledge base and web search system tools.
You can set the maximum number of sources you want to show per agent message (defaulted to 1).

## Async functions and API tools
You can now run Function and API tool steps asynchronously.
Async execution allows the conversation to continue immediately without waiting for the tools to complete. No outputs or variables from the step will be returned or updated.
This is ideal for non-blocking tasks such as logging, analytics, telemetry, or background reporting that don’t affect the conversation.
Note: This setting applies to the reference of the Function or API tool - either where the tool is attached to an agent or where it’s used as a step on the canvas. It is not part of the underlying API or function definition, which allows the same tool to be reused with different async behaviour throughout your project.

## Tool messages
Tool messages let you define static messages that are surfaced to the user as a tool progresses through its lifecycle:
1. Start - Message delivered when the tool is initiated
2. Complete - Message delivered when the tool finishes successfully
3. Failed - Message delivered if the tool encounters an error
4. Delayed - Message delivered if the tool takes longer than a specified duration (default: 3000ms, configurable)
This provides clear, predictable feedback during tool execution, improving transparency and user trust - especially for long-running or failure-prone tools.

## GPT 5.2
Added global support for GPT 5.2

## Voice mode in web widget
Your web widget now supports hands-free, real-time voice conversations. Enable it from the Widget tab for existing projects - it’s on by default for new ones.
Users can talk naturally, see transcripts stream in instantly, and get a frictionless voice-first experience. It also doubles as the perfect in-browser way to test your phone conversations - no dialing in, just open the widget and run the full voice flow instantly.



## Native web search tool
We’ve shipped a native Web Search tool so your agents can look up real-time information on the web mid-conversation - no custom integrations required.
- Toggle on the web search tool in any agent to answer questions that need live data (news, prices, schedules, etc.).
- Configure search prompts and guardrails so the agent only pulls what you want it to.
- Results are summarized and grounded back into the conversation for more accurate, up-to-date answers.
- Toggle on the web search tool in any agent to answer questions that need live data (news, prices, schedules, etc.).
- Configure search prompts and guardrails so the agent only pulls what you want it to.
- Results are summarized and grounded back into the conversation for more accurate, up-to-date answers.
- Toggle on the web search tool in any agent to answer questions that need live data (news, prices, schedules, etc.).
- Configure search prompts and guardrails so the agent only pulls what you want it to.
- Results are summarized and grounded back into the conversation for more accurate, up-to-date answers.

## Telnyx telephony integration
You can now connect your Telnyx account to import and manage phone numbers directly in Voiceflow, enabling Telnyx as your telephony provider for both inbound and outbound calls..

## Native support for keypad input (DTMF)
Added native support for DTMF keypad input in phone conversations. Users can now enter digits via their phone keypad, sending a DTMF trace to the runtime. Configure timeout and delimiters (#, \*) to control when input is processed. See [documentation here](/docs/documentation/build/behaviour).
- Keypad input is off by default and can be turned on from Settings/Behaviour/Voice.
- When on in project settings, keypad input can be turned off at the step level via the "Listen for other triggers" toggle.
- [View full documentation here](/docs/documentation/build/behaviour)
- Keypad input is off by default and can be turned on from Settings/Behaviour/Voice.
- When on in project settings, keypad input can be turned off at the step level via the "Listen for other triggers" toggle.
- [View full documentation here](/docs/documentation/build/behaviour)
- Keypad input is off by default and can be turned on from Settings/Behaviour/Voice.
- When on in project settings, keypad input can be turned off at the step level via the "Listen for other triggers" toggle.
- [View full documentation here](/docs/documentation/build/behaviour)
/cde84932767adb0d81388512a5095eb21cdd6f3d9d2f7ae5ac97cb384842ec6c-CleanShot_2025-11-10_at_11.50.552x.png)
## Knowledge base metadata
Add metadata to your Knowledge Base sources to deliver more relevant, localized, and precise answers, helping customers find what they need faster and improving overall resolution speed.
1. Adding metadata on knowledge import
When uploading files, URLs, or tabular data to the Knowledge Base, you can attach metadata at import time. This metadata is stored with each document or data chunk, enabling structured filtering and contextual retrieval later. For example, when importing car rental policies, you might tag each file with metadata like "locale": "US, CA, EU", or "serviceType": "car\_rental, equipment\_rental". This ensures that when the agent queries using metadata filters (static or dynamic), it only retrieves content relevant to the user’s local region or service context.
2. Dynamically, or statically apply metadata at runtime
From the Knowledge Base tool in your agent, define the metadata your agent should use when querying the tool. You can specify a static value (or variable) to consistently filter results, or let the agent dynamically assign metadata at runtime - allowing it to query the Knowledge Base contextually based on each unique conversation.
Example - Car Booking Service
If your Knowledge Base includes information for multiple locales (eg: US, CA, EU), you can set a metadata field like locale. Instead of hardcoding a single locale, the agent can dynamically apply the user’s locale at runtime - for example:
If a user says “I want to book a car in New York,” the agent automatically filters Knowledge Base results with locale: US, ensuring responses only reference policies, pricing, and availability relevant to that locale.


## Built-in time variables
We’ve added a set of built-in time variables that make it easier to access and use time within your agents - no external API calls or workarounds required. Perfect for agents that depend on current or relative time inputs.
Project timezone can be set in project/behaviour settings:

## Deepgram Flux ASR model
We've added [Deepgram Flux](https://flux.deepgram.com/), their ASR newest model built specifically for Voice AI.
Flux is the first conversational speech recognition model built specifically for voice agents. Unlike traditional STT that just transcribes words, Flux understands conversational flow and automatically handles turn-taking.
Flux tackles the most critical challenges for voice agents today: knowing when to listen, when to think, and when to speak. The model features first-of-its-kind model-integrated end-of-turn detection, configurable turn-taking dynamics, and ultra-low latency optimized for voice agent pipelines, all with Nova-3 level accuracy.
Flux is Perfect for: turn-based voice agents, customer service bots, phone assistants, and real-time conversation tools.
Key Benefits:
- Smart turn detection - Knows when speakers finish talking
- Ultra-low latency - ~260ms end-of-turn detection
- Early LLM responses - EagerEndOfTurn events for faster replies
- Turn-based transcripts - Clean conversation structure
- Natural interruptions - Built-in barge-in handling
- Nova-3 accuracy - Best-in-class transcription quality

## Sync audio and text output
Converts text to speech in real time and keeps the spoken audio perfectly aligned with the displayed text. This ensures call transcripts are an accurate, word-for-word representation of what was actually said.

## Transcript inactivity timeout
This setting lets you define how long a conversation can stay inactive before the transcript automatically ends.
This is different from session timeout - the session stays open, but the transcript closes after the set inactivity period, enabling more accurate reporting and evaluations.
Important: ending the transcript does not end the user’s ability to re-engage. If the user responds again, a new transcript will begin within the same session.

## Priority processing for Open AI models
We’ve added a new [Priority Processing](https://openai.com/api-priority-processing/) setting for OAI-supported models. When enabled, your requests will be given higher processing priority for faster response times and reduced latency. Note: this will consume more credits.

## MCP tools
Supercharge your agents by connecting directly to MCP servers.
- 🔌 Connect to MCP servers in just a few clicks
- 📥 Add MCP server tools to your agents
- 🔄 Sync MCP servers to stay up-to-date
Bring in any tool, expand what your agents can do, and take your workflows to the next level.
[Documentation](/docs/documentation/build/tools/mcp-tool)

## Call forwarding tool in agents
You can now enable your agents to forward calls to a different number, SIP address, or extension.
- 📞 Seamlessly transfer callers to the right person or agent
- 🔀 Supports phone numbers, SIP addresses, and extensions
- 🛠️ Configure forwarding directly in your agent’s tools
This makes it easier to connect customers with the right destination without breaking the flow of the conversation.

## Control reasoning effort for supporting GPT models
We've added a reasoning effort slider for all supporting GPT models (GPT-5, GPT-5 mini, GPT-5 nano, GPT-o3 and GPT-o4-mini).

## Shareable links now match your AI agent
Shareable links have been upgraded to better reflect the agent you’re building. Each link now points to a hosted version of your AI agent that mirrors your selected environment (dev, staging, production) and interface, so what you share is exactly what others will experience. Password protection is also available for secure access.
- 🔗 Sharable links now mirror your actual AI agent
- 🛠️ Environment-specific links (dev, staging, production)
- 🎨 Customize the look and feel via the Interfaces tab
- 🔒 Optional password protection for secure sharing

## Staging environment added
We’ve introduced a new staging environment to help you manage deployments more effectively. You can now publish between development, staging, and production to test changes before going live.
- New staging environment for pre-production testing
- Publish across dev → staging → production
- More control and confidence in deployment flows
- Override secrets per environment for greater flexibility

## Duplicating projects now clones knowledge base
You can now duplicate projects along with their entire knowledge base. When cloning a project, all connected documents and data sources are copied as well - so your new project starts with the same knowledge setup as the original.
This enhancement only applies to project duplication. Knowledge bases are not yet cloned when using project import.
## Control saving of empty transcripts
You can now choose whether to save transcripts where the bot spoke but the user never replied. Use this toggle to keep your transcript logs cleaner and focused on real interactions. By default, all new projects will save all conversations to transcripts.

## Save input variables in tool calls
Previous to this release, you could only capture the output of a tool call (eg: the response from an API). Now, you can also persist the inputs (the parameters sent to the tool) as Voiceflow variables. This means both sides of the transaction - request and response - can be tracked, reused, or referenced later in the conversation.

## GPT-5 models
GPT-5 models are now available in Voiceflow.

## Double-click to open agent step
You can now double-click an agent step to jump straight into its editor - saving yourself an extra click.
## Tool step
You can now run tools outside of the agent step using the new Tool Step.
This lets you trigger any tool in your agent - like sending an email or making an API call - anywhere in your workflows.
🛠️ You’ll find the call forwarding Step in the ‘Dev’ section of the step menu for now.
Tools can also be used as actions:


## New analytics API
A few months ago, we released a new analytics view - giving you deeper insights into agent performance, tool usage, credit consumption, and more.
Today, we're releasing an updated [Analytics API](/docs/api-reference/usage/query-usage) to match. This new version gives you programmatic access to the same powerful data, so you can:
Track agent performance over time
Monitor tool and credit usage
Build custom dashboards and reports
Use the new API to integrate analytics directly into your workflows and get the insights you need - where you need them.
## Custom query control & chunk limit for knowledge base tool
You now have more control over how your agents retrieve knowledge. Customize the query your agent uses to search the knowledge base, and fine-tune the chunk size limit to better match your content. This gives you more precision, better answers, and smarter agents.

## Better transcripts. Custom evaluations. Better AI agents.
Your AI agents just got a massive upgrade:
**🔥 What’s new**
- Transcripts, reimagined - Replay calls, debug step-by-step, filter with precision, and visualize user actions like button clicks - all in a faster, cleaner UI.
- Evaluations, your way - Define what “good” looks like with customizable evaluation templates, multiple scoring types (rating, binary, text), auto-run support, and performance tracking over time.
**📝 Transcripts**
A full overhaul of the transcripts experience, built to help teams analyze, debug, and improve agents faster.
1. Call recordings - Replay conversations to hear how your agent performs in the real world
2. Robust debug logs - Trace agent decisions step-by-step
3. Granular filtering - Slice data by time, user ID, evaluation result, and more
4. Button click visualization - See exactly where users clicked in the conversation
5. Cleaner UI - Faster load times, more usable data
**📊 Evaluations**
Define what “good” looks like - and measure it, your way. Build (or generate) your own evaluation criteria, tailor analysis to your business goals, and iterate with confidence.
Eval types - support for:
1. ⭐ Rating evals (eg: 1-5)
2. ✅ Binary evals (Pass/Fail)
3. 📝 Text evals (open-ended notes)
Also includes:
- Batch or auto-run - Evaluate hundreds of transcripts in a few clicks, or automatically as they come in
- Analytics & logs - See detailed results per message or overall trends over time
**APIs**
- We've release a brand new [Evaluations API](https://link.voiceflow.com/evals-api)
- We've release a new [Transcripts API](https://link.voiceflow.com/transcript-api) The legacy Transcripts API is still supported and currently has no deprecation timeline
🕓 Transition Period: Until September 28, 2025, all transcripts will be available in the legacy view, for existing projects. On September 28th, 2025 the old view will be hidden and the new transcripts view will be the default. Transcripts older than 60 days will still be accessible via API for the foreseeable future.








## Gmail tools: let your AI agents send emails
Agents can now send emails seamlessly as part of any conversation. Whether it’s a confirmation, follow-up, or lead nurture message - the new Send Email tool makes it easy to automate communication right from your agent. Just connect your Gmail account and you’re ready to go.
Make sure to instruct your agent on how to use this tool properly. Give it a try in the agent step!


## Call forwarding step
Seamlessly connect your voice AI agent to the real world with call forwarding.
The new call forwarding step lets your AI agent hand off calls to a real person (or another AI agent) - instantly and smoothly.
- ✅ Route to phone numbers
- ✅ Include optional extensions
- ✅ Support for SIP addresses
Build smarter, more human-ready voice agents - without sacrificing automation.
🛠️ You’ll find the call forwarding Step in the ‘Dev’ section of the step menu for now. We’re planning to introduce a dedicated voice section soon - stay tuned!

## Hubspot tools
Connect your agents to Hubspot to create contacts, leads and tickets.


## SMS messaging with Twilio tools
Enable your agents to send SMS messages with an effortless connection to Twilio. Try it now in the agent step.

## Create AI agents instantly - from just a prompt
We’ve made building AI agents dramatically faster.
You can now generate a fully-functional agent by simply describing what you want it to do. No setup. No manual flow-building. Just write a detailed prompt - and Voiceflow will generate everything for you:
✅ Agent instructions
✅ Tools and workflows
✅ Conversation logic and components
This means less time configuring, more time testing and refining your agent behavior.
Today, we’re launching:
1. Prompt-to-project generation - go from idea to working prototype in seconds
2. Prompt-to-workflow generation - describe a capability, get a complete workflow
3. Prompt-to-component generation - create specific tools and logic on the fly
This is a foundational leap in how AI agents get built on Voiceflow - we can’t wait to see what you create.

## Vonage integration for telephony
Voiceflow now supports importing phone numbers from Vonage as an alternative to Twilio. Vonage offers a minor latency improvement (~200-400ms) over Twilio, for more responsive calls.
For more information: [https://dashboard.nexmo.com/](https://dashboard.nexmo.com/) [https://www.vonage.ca/en/communications-apis/voice/](https://www.vonage.ca/en/communications-apis/voice/)

## Smarter knowledge base building with LLM chunking strategies
Your Knowledge Base just got a major upgrade. With our new LLM chunking strategies, you can now prep your data for AI like a pro - no manual formatting needed.
We’ve introduced 5 powerful strategies to help structure and optimize your content for maximum retrieval performance:
🧠 Smart chunking Automatically breaks content into logical, topic-based sections. Ideal for complex documents with multiple subjects.
❓ FAQ optimization Generates sample questions per section, perfect for creating high-impact FAQs.
🧹HTML & noise removal Cleans up messy website markup and boilerplate. Best used on content pulled from the web or markdown.
📝Add topic headers Inserts short, helpful summaries above each section. Great for longform content that needs context.
🔍 Summarize Distills each section to its key points, removing fluff. Perfect for dense reports or research.
These chunking strategies help you get more accurate, more relevant answers from your AI - especially for data sources not originally built for Retrieval-Augmented Generation (RAG).
Ready to make your Knowledge Base smarter? Try out some LLM chunking strategies and watch the results speak for themselves.
Note - LLM chunking strategies use credits. Before processing, we’ll show you a clear estimate of how many credits will be used - so you’re always in control.


## Make.com tool
Connect your agents to Make.com with a couple clicks to run your automations from your Voiceflow AI agents.


## Airtable tools
Connect your agents to Airtable with a couple clicks. Supported tools include: Create records, Delete records, Get record, List records, Update records.


## Agents can now automatically use buttons, cards, and carousels to enrich conversations
By enabling these options and providing guidance on when to use (or avoid) each special tool, your agent will intelligently enhance interactions with visual tools like buttons, cards, and carousels.
Note: these configurations are ignored during phone-based conversations, meaning it will not prohibit your ability to create multi-modal AI agents with Voiceflow.

## \[Deprecation\] Dialog Manager API Logs
Legacy `log` traces are no longer supported, which are sent when with the query parameter `?log=true`. This system has not been updated for a significant period and is out of date, especially with new steps.
`log` traces will no longer be returned, after Friday, July 4th, 2025.
This affects a small subset of users and should not impact the output or performance of an agent.
Going forward, it will be unified with a more robust `debug` trace system, along with a new debugger UI.
## New Speech-to-Text Providers
- Added Cartesia's [Ink-Whisper](https://cartesia.ai/blog/introducing-ink-speech-to-text) STT model This leverages OpenAI's whisper model, upgraded for realtime call performance Expanded language support and selection
- Added AssemblyAI [Universal](https://www.assemblyai.com/products/speech-to-text) STT model Advanced tuning options
- Added specific model selection for Deepgram STT Nova-2, Nova-3, and Nova-3 Medical

## Google Sheets tools
Connect your agents to Google Sheets with a couple clicks. Supported tools include: Add to sheet, Create new sheet, Get rows, Get sheet, Update sheet.

## Cartesia voices
We've added Cartesia to Voiceflow. You can select from over 100 new voices across two Cartesia models (Sonic 2 & Sonic Turbo).

## Added tool usage to project analytics
We've added all tool types to your projects analytics dashboard:
- Integration tools
- API tools
- Function tools
You can now see the number of times each tool has been used, along with the average latency and success/failure rate if you hover a specific tool.

## New workspace dashboard
- We've made updates to the workspace dashboard to make it easier to organize your projects, and manage your workspace.
- We've added folders, to further organize your projects. Note, if you previously used the Kanban view (deprecated), we've automatically converted swim-lanes into folders.
- Home tab (coming soon)
- Community tab (coming soon)
- Tutorials tab (coming soon)

## New navigation
We've listened to your feedback and made Voiceflow easier to navigate. It's the same Voiceflow, just faster to get around!

## Claude Opus 4 & Sonnet 4
We've added Claude Opus 4 & Claude Sonnet 4 to Voiceflow.

## Gemini 2.5 Pro & 2.5 Flash
We've added Gemini 2.5 Pro & 2.5 Flash to Voiceflow.

## Security Settings for Widget
- Ability to whitelist domains
- Ability to have a custom privacy message before users engage with your AI agent
- Ability to not save transcripts

## Generative No Reply
Use generative no-reply to dynamically re-engage users that haven't responded in a while. Responses will be contextual to the conversation.

## API Raw Content-Type select
The API (agent) tool and step now have a content-type option on POST requests with a "Raw" body. This will automatically apply the `Content-Type` header, for a quality-of-life convenience.

## Rimelabs Arcana Voices
Rimelabs recently released a new set of [Arcana](https://www.rime.ai/blog/introducing-arcana/) voices, that sound far more natural with intonations and speech patterns such as breathing, pauses.
Arcana is still under development and we are working with the Rimelabs team to improve it, we're aware of some issues with consistency and slurring of speech.
Arcana adds ~250ms of latency to the voice pipeline, roughly the same as 11labs.
In the future it may be possible to define your own voices by description, eg: "old man with hoarse southern accent"

## Krisp Noise Cancellation
[**Krisp Noise Cancellation**](#krisp-noise-cancellation)
Latency is one piece of the puzzle - but quality matters too. That’s why we’ve added [Krisp](https://krisp.ai/noise-cancellation/).
Background noise, especially speech or music, can seriously throw off voice agents. STT systems transcribe everything they hear, so voices in a coffee shop or lyrics from background music can easily get mistaken for the user’s input, leading to weird or incorrect responses. It can also confuse the agent into thinking the user isn’t done talking, delaying responses or interrupting playback. In short: noise kills both quality and speed.
All voice projects (web-voice widget and Twilio) automatically have Krisp noise cancellation applied.
**Before Krisp:**
**After Krisp:**
Here are two spectrograms, the upper one visualizing the audio that would be heard by STT without Krisp, and the lower one showing the audio after having been processed with Krisp.
Through our testing:
We've determined that this significantly boosts the accuracy of speech detection and transcription in noisy environments: cafes, offices, on the street, background broadcasts, etc.
Krisp noise cancellation adds ~20ms of latency to the audio pipeline, while drastically improving speech detection and transcription accuracy. This ultimately leads to faster final transcriptions, reducing overall speech-to-speech latency by ~100ms.

## Salesforce tools
We've added Salesforce tools to the agent step. You can now authenticate with Salesforce and add tools to enable your agent to get work done in Salesforce.


## Zendesk tools
We've added Zendesk tools to the agent step. You can now authenticate with Zendesk and add tools to enable your agent to get work done in Zendesk.


## Voice Keywords / Multilingual Speech-to-text
**Keywords**
For voice calls we're introducing keywords. This allows your agent to understand hard to pronounce proper nouns (like product and company names), industry jargon, phrases and more. This is an optional field.
**Multilingual**
We're exposing Deepgram's latest [Nova-3](https://deepgram.com/learn/introducing-nova-3-speech-to-text-api) multilingual model as an STT option, capable of understanding and transcribing 8 different languages.
In addition, the standard English STT is being updated from Nova-2 to Nova-3, for a boost in performance.


## Introducing Voiceflow Credits: A simpler way to track usage
Today marks a significant milestone in Voiceflow's journey as we officially launch our new credit-based billing system. This update represents a fundamental shift in how you'll track, manage, and optimize your Voiceflow usage - all designed to bring greater simplicity, transparency, and predictability to your experience.
**What's New**
**🎉 Voiceflow Credits**
We've completely overhauled our billing system, moving away from the complex token-based approach to a streamlined credit system that unifies tracking across all platform features:
- Simplified Measurement: One unified credit system for all actions (calls, messages, LLM responses, TTS)
- Predictable Costs: Clear pricing tiers that make budget planning straightforward
- Transparent Usage: Detailed visibility into exactly how your credits are being consumed
- Developer-Friendly: Messages only count toward credits when your agent is used in production - not when developing in-app or using shareable prototypes
**📊 New Usage Dashboard**
We've launched a brand-new Usage Dashboard that gives you comprehensive insights into your credit consumption. The dashboard allows you to:
- View your total available and used credits
- Track usage across all agents or drill down into specific ones
- Monitor editor and agent allocation
- Analyze usage patterns over time
**💼 Enhanced Team Management**
Additional editor seats are now just \$50 per month with no complicated caps or restrictions. Add as many team members as needed, whenever you need them.
**🏢 Business Plans (formerly Teams)**
As part of this update, we're renaming our Teams plans to Business plans, with enhanced features and capabilities for enterprise customers.
**Resources to Help You Transition**
We've created dedicated resources to help you understand and make the most of the new credit system:
- [What are Voiceflow Credits?](https://www.voiceflow.com/blog) - A comprehensive guide to understanding how credits work
- [Introducing Voiceflow Credits](https://www.voiceflow.com/stories/introducing-voiceflow-credits) - Learn about the philosophy behind the change and how it benefits you
- [Credit Calculator](https://www.voiceflow.com/stories/introducing-voiceflow-credits#calculator) - Estimate your credit needs based on your specific usage patterns
**Frequently Asked Questions**
What do I need to do? Use our [Credit Calculator](https://www.voiceflow.com/stories/introducing-voiceflow-credits#calculator) to understand your usage. For most users, no action is required.
Will my monthly bill increase? Most organizations will see a decrease in costs, particularly those with multiple editor seats. There are three changes to be aware of:
- Annual plans now offer a 10% discount (previously 20%)
- Editor seats now cost \$50/month with no restrictions (a price reduction)
- Business plan (formerly Teams) base tier increases from \$125 to \$150
Do credits roll over? Credits expire at the end of your subscription period. For monthly plans, unused credits don't roll over month-to-month. Annual subscribers receive all credits at once to use throughout the year.
What happens if I exceed my credit allocation? You'll receive a notification as you approach your limit. There's no automatic charging - you can choose whether to upgrade to a higher credit package.
Do messages in development count toward my credit usage? No, messages only count toward credits when your agent is used in production. Messages sent while developing in-app or when using shareable prototypes don't consume credits, giving you the freedom to build and test without worrying about credit usage.
We're committed to making this transition as smooth as possible. If you have any questions or need assistance, please reach out to [support@voiceflow.com](mailto:support@voiceflow.com).

## Support for OpenAI o3 and o4 mini
**Added:**
- Support for OpenAI o3 and o4 mini

## Support for GPT 4.1 models
**Added:**
- Support for GPT 4.1, GPT 4.1 mini and GPT 4.1 nano

## Minor Updates / Fixes
**Improvements:**
- Voice Widget latency decreased by up to 750ms
- Voice Widget now streams with more consistent linear16@16kHz encoding
**Fixes:**
- Reset memory when a new conversation is launched (launch request)
- Global no reply not working on Agent steps
- The maximum allowed length for `{userID}` in the [Dialog API](/docs/api-reference/v4interact/interact-stream) will be set to 128 characters, effective April 18th
- Unable to remove webhook URLs
- Analytics visualization UI bug
- Voice Widget always setting userID to test on transcripts
- Chat Widget no audio output after page reload
- Export variables fails when project has large number of variables
## Call Events Webhook
**Changes:**
- New support added to subscribe to call events via webhook, for both twilio IVR and voice widget projects [Call Events Documentation](/docs/api-reference/webhooks/session-lifecycle) Webhook system is capable of broadcasting additional events in the future

## Streaming Text in Chat Widget Now Optional
**Changes:**
- Added option to disable streaming text in chat widget Stream text can now be turned off in the Modality & interface settings When disabled, the full agent response will be displayed at once instead of being streamed out. Useful for situations where streaming longer messages is not desired

## Max Memory Turns Setting
Conversation memory is a critical component of the Agent and Prompt steps. Having longer memory gives the LLM model more context about the conversation so far, and make better decisions based on previous dialogs.
However, larger memory adds latency and costs more input tokens, so there is a drawback.
Before, memory was always set to 10 turns. All new projects will now have a default of 25 turns in memory. This can now be adjusted this in the settings, up to 100 turns.
For more information on how memory works, reference: [https://docs.voiceflow.com/docs/memory](/docs/documentation/build/behaviour)

## Agent Step, Structured Output Improvements, Gemini 2.0 Flash
We're excited to introduce several major updates that enhance the capabilities of the Agent step and expand our model offerings. These improvements provide more flexibility, control, and opportunities for creating powerful AI agents.
**🧠 Agent Step: Your All-in-One Solution**
The Agent step has been supercharged to create AI agents that can intelligently respond to user queries, search knowledge bases, follow specific conversation paths, and execute functions - all within a single step. Key features include:
- Intelligent Prompting: Craft detailed instructions to guide your agent's behavior and responses.
- Function Integration: Connect your agent with external services to retrieve and update data.
- Conversation Paths: Define specific flows for your agent to follow based on user intent.
- Knowledge Base Integration: Enable your agent to automatically search your knowledge base for relevant information.
For a comprehensive guide on using the Agent step, check out our [Agent Step Documentation](/docs/documentation/build/overview).
**🎨 Expanded Support for Structured Output**
We've significantly expanded our support for structured output, unlocking more use cases and giving you greater control over your agent's responses:
- Arrays and Nested Arrays: You can now define arrays and nested arrays in your output structure.
- Nested Objects: Structured output now supports nested objects, allowing for more complex data structures.
These enhancements enable you to create more sophisticated agents that generate highly structured and detailed responses, reducing the risk of hallucinations and ensuring more accurate outputs.
**⚡ Gemini 2.0 Flash Support**
We've added support for the Gemini 2.0 Flash model, offering you even more options for powering your AI agents. Gemini 2.0 Flash delivers exceptional performance and speed, enabling faster response times and improved user experiences.
To start using Gemini 2.0 Flash, simply select it from the model dropdown when configuring your Agent step.
We can't wait to see what you'll build with these new features and capabilities! As always, we welcome your feedback and suggestions as we continue to improve our platform.
Happy building! 🛠️
The Voiceflow Team

## Variable Handling Update: Consistent Behavior for Undefined Values
**Changes:**
- Updated Voiceflow variable handling for consistency in previously undefined behavior: Variables can be any JavaScript object that is JSON serializable. Any variable set to `undefined` will be saved as `null` (this conversion happens at the end of the step, so it does not affect the internal workings of JavaScript steps and functions). Functions can now return `null` (rather than throwing an error) and can no longer return `undefined` (which could cause agents to crash). Functions that attempt to return `undefined` will now return `null` (to ensure backwards compatibility).
These changes will go info effect March 31st.
## New Analytics Dashboard: Gain Deeper Insights into Your Agent's Performance
We've revamped our Agent Analytics Dashboard, not only giving it a fresh new look but also introducing a range of powerful visualizations that provide unprecedented visibility into your agent's performance.
**🌟 New Visualizations**
The updated Analytics Dashboard offers a comprehensive set of visualizations that allow you to track and analyze various aspects of your agent's performance:
- Tokens Usage: Monitor AI token consumption over time across all models, giving you a clear picture of your agent's token utilization.
- Total Interactions: Keep track of the total number of interactions (requests) between users and your agent over time, providing insights into engagement levels.
- Latency Monitoring: Measure the average response time of your agent to ensure optimal performance and identify any potential bottlenecks.
- Total Call Minutes: Gain visibility into the cumulative duration of voice calls in minutes, helping you understand the volume and significance of voice interactions.
- Unique Users: Identify the count of distinct users interacting with your agent over time, allowing you to track adoption and growth.
- KB Documents Usage: Analyze the frequency of knowledge base document access, with the ability to toggle between ascending and descending order to identify the most or least used documents.
- Intents Usage: Visualize the distribution of triggered intents, with sorting options to analyze intent frequency and identify popular or underutilized intents.
- Functions Usage: Monitor the frequency of function calls, their success/failure and latency, with sorting capabilities to identify the most or least used functions and optimize your agent's functionality.
- Prompts Usage: Gain insights into the usage frequency of agent prompts, with the ability to toggle between ascending and descending order to analyze prompt utilization and effectiveness.
**📅 Data Availability**
Please note that the new Analytics Dashboard service only has data starting from February 9th, 2025. If you require data prior to that date, you can still access it through our Analytics API.
**🔧 Upcoming Analytics API Update**
We're also working on a new version of the Analytics API that will include the additional data points tracked by the new Analytics Dashboard service. Stay tuned for more information on this exciting update!

## New Models, Function Editor Enhancements, and Call Recording
We're thrilled to announce several exciting updates that expand your AI agent building capabilities and improve your workflow. Let's dive into what's new!
**🧠 New Models: Deepseek R1, Llama 3.1 Instant, and Llama 3.2**
We've expanded our model offerings to give you even more options for creating powerful AI agents:
- Deepseek R1: Harness the potential of Deepseek's R1 model for enhanced natural language understanding and generation.
- Llama 3.1 Instant: Experience lightning-fast responses with the Llama 3.1 Instant model.
- Llama 3.2: Leverage the advanced capabilities of Llama 3.2
These new models are available on all paid plans.
**⚙️ Function Editor Enhancements: Modal View and Snippets**
We've made some significant improvements to the Function Editor to streamline your development process:
- Modal View: You can now open the Function Editor as a modal directly from the canvas. This allows you to make quick updates and navigate between your functions and the canvas seamlessly.
- Snippets: We've introduced a new snippets feature that enables you to insert pre-written code snippets for common concepts in Voiceflow functions.
**📞 Call Recording for Twilio Phone Calls**
We're excited to introduce call recording functionality for phone calls made through Twilio:
- Automatic Call Recording: All phone calls between users and your AI agent will now be automatically recorded.
- Twilio Integration: The call recordings will be accessible directly in your Twilio account for easy review and management.
You can enable this option in the Agent Settings page under Voice.


## Retrieval-Augmented Generation (RAG) for Intent Recognition
We're excited to announce a significant upgrade to our intent recognition system, moving from the traditional Natural Language Understanding (NLU) approach to Retrieval-Augmented Generation (RAG) model using embeddings. This transition brings notable improvements to the speed, accuracy, and overall user experience when interacting with AI agents on our platform.
**📅 Phased Rollout**
To ensure a smooth adoption, we will be rolling out the RAG-based intent recognition system to all users in phases over the next week. This gradual deployment allows us to monitor performance and gather feedback while providing ample time for you to adjust to the new system.
**🆕 Default for New Projects**
For all new projects created on our platform, the RAG-based intent recognition will be the default system. This means that new AI agents will automatically benefit from the enhanced speed, accuracy, and natural conversation capabilities offered by RAG.
**🌟 Faster Training and Interaction**
With the new RAG system, agent training and intent recognition are now substantially faster and more efficient. For example, an agent with 37 intents and 305 utterances now trains about 20 times faster, in just around 1 second. This means quicker agent development and smoother conversations for end-users.
**🧠 Automatic Agent Training**
Thanks to the advanced training speed enabled by RAG, explicit training is no longer necessary. Simply test your agent, and the training will happen automatically behind the scenes, streamlining your workflow.
**🎯 Enhanced Understanding of Complex Queries**
RAG leverages embeddings to capture the deeper context and meaning behind words, even when phrased differently. This allows the system to better understand and accurately match complex, detailed questions to the appropriate intents, providing more precise responses to users.
**🗣️ More Natural Conversations**
With the improved understanding of casual language, slang, and diverse phrasing, the RAG system enables a more natural, conversational experience for users interacting with AI agents on our platform.
**🔄 Seamless Transition for Existing Projects**
For existing projects, we will keep both the NLU and RAG systems running concurrently for a period of time. This allows you to explore the new system, test it thoroughly, and make any necessary adjustments to your agents. You can easily switch between the NLU and RAG systems in the intent classification settings within the Intents CMS.
We're thrilled to bring you this enhanced experience and look forward to hearing your feedback as you interact with the new RAG-based intent recognition system. Your input is invaluable in helping us continue to innovate and improve our platform to better serve your needs.
_for_Intent_Recognition/57c510d9a8056fb12195a4bb1522dd15694b942f794421db4bdba86b9af825e7-CleanShot_2025-02-27_at_10.55.212x.png)
## Expanding the Possibilities of User Interaction with Voice
In our mission to redefine how users interact with AI agents, we have introduced a new voice modality option to our web widget. This addition is a step towards creating more natural, intuitive, and engaging user experiences. By enabling voice-based conversations, we are empowering businesses to connect with their customers in a way that feels authentic and effortless.
Voice technology has become an increasingly popular and preferred mode of interaction for many users. By integrating voice functionality into our web widget, we are meeting users where they are and providing them with a seamless way to engage with AI agents. This not only enhances the user experience but also opens up new possibilities for businesses to assist, inform, and guide their customers throughout the customer journey.
**Natural Voice Interaction**
The web widget now supports voice-based communication, allowing users to speak naturally with AI agents. Businesses can integrate this feature to provide their customers with a hands-free, intuitive way to ask questions, receive recommendations, and get assistance while browsing the site.
**Customization Options**
The voice widget offers customization options to ensure seamless integration with your website's branding:
- Launcher Style: Select a launcher style that complements your site's design.
- Color Palette: Choose colors that match your brand guidelines.
- Font Family: Pick a font that aligns with your website's typography.
These options allow you to maintain a consistent brand experience across all customer touchpoints.
**Powered by Advanced Voice Tech**
The voice functionality in the widget leverages the best in voice technologies to deliver high-quality conversations:
- Automated Speech Recognition: Our platform uses advanced STT technology from Deepgram to accurately transcribe user speech in real-time.
- Organic Text-to-Speech: We've integrated with leading providers like 11 Labs and Rime to offer a variety of natural-sounding voices that bring AI agents to life.
These technologies ensure that conversations with AI agents feel authentic, engaging, and representative of your brand's personality.
**Start Exploring Voice**
We invite all our users to start experimenting with the voice capabilities.
As you explore voice functionality, we value your feedback and ideas s- join our Discord community! Your input plays a crucial role in shaping the future of voice-based interactions in the web widget and helping us refine the user experience.


## AI Fallback
We're excited to introduce AI Fallback, a powerful new feature in beta that enhances the reliability and continuity of your AI operations. This feature ensures your AI services remain operational even during provider outages or service interruptions.
**🔄 Automatic Fallback Switching**
AI Fallback automatically switches between models when issues arise. When your primary AI model experiences difficulties, the system seamlessly transitions to your configured backup model, ensuring continuous operation of your AI services.
**⚙️ Easy Configuration**
Setting up AI Fallback is straightforward:
1. Access your agent
2. Navigate to agent settings
3. Set your preferred fallback model by provider
That's all there is to it! The system handles everything else automatically.
**📈 Enhanced Reliability**
AI Fallback delivers key benefits:
- Minimizes service disruptions during model outages
- Maintains consistent AI performance
- Reduces operational impact of provider issues
- Ensures business continuity
**🔬 Under the Hood**
The system continuously monitors your primary AI model's performance and availability. When issues are detected, it automatically:
- Identifies the next available model in your sequence
- Switches ongoing operations to the backup model
- Returns to the primary model once issues are resolved
**🚀 Getting Started**
AI Model Fallback is available exclusively for Teams and Enterprise customers. We're excited to hear your feedback during the beta phase! 🎯

## New Features: Structured Outputs and Variable Pathing
Today we're introducing two powerful new capabilities in Voiceflow: Structured Outputs and Variable Pathing. These features expand the possibilities for working with data from large language models (LLMs) in your agents. Let's explore what they enable!
**🎉 Structured Outputs**
Structured Outputs let you define the format of the data you expect an LLM to return, giving you more control and predictability over the results.
- In a prompt step, enable the new "JSON Output" option to specify the structure of the LLM's response.
- Today, Structured Outputs support the following data types: String Number Boolean Integer Enum
- Support for arrays and nested objects is planned for the near future.
- Structured Outputs are available with `gpt-4o-mini` and `gpt-4o` models.
**💪 Variable Pathing**
Variable Pathing provides a streamlined way to work with complex data structures in your Voiceflow project.
- Store an entire object in a single variable, then access its properties using dot notation (eg: `user.name`, `user.email`).
- Capture Structured Output responses or API results as objects.
- Use object properties directly in conditions, messages, and other steps.
- Reduce the need for multiple variables to represent a single entity.
**🍰 Bringing it All Together**
Combining Structured Outputs and Variable Pathing opens up new design patterns for crafting agent experiences:
- Define precise data requirements for LLMs to provide relevant information
- Capture responses as feature-rich objects in a single step
- Access and manipulate object properties throughout your project
- Streamline your project's design while expanding its capabilities
We're excited to see the voice experiences you create with these new tools! Feel free to share your questions and feedback with us.


## Voiceflow Telephony
We're excited to announce the release of Voiceflow Telephony, bringing enterprise-grade voice capabilities to your conversational experiences. This release represents a significant milestone in our mission to provide comprehensive, low-latency voice solutions for businesses of all sizes.
**Native Twilio Integration**
We've integrated with Twilio to make phone-based interactions as simple as possible. The new integration allows you to:
- Import existing Twilio phone numbers directly into Voiceflow
- Associate phone numbers with specific agents
- Configure separate numbers for development and production environments
- Test different versions of your agent against different phone numbers
Setting up telephony is straightforward: simply connect your Twilio account with existing phone numbers, import them into Voiceflow, and assign them to your agents. Your voice experience will be live within minutes.
**High-Performance Voice**
**Streaming Technology**
We've built our telephony feature on top of our streaming API, delivering exceptional performance improvements:
- Dramatically reduced response times
- Near real-time agent reactions
- Optimized voice processing pipeline
**Speech Recognition**
We've selected Deepgram to provide industry-leading Speech To Text (STT):
- High-accuracy transcription
- Low-latency processing
- Support for over 20 languages
**Advanced Voice Capabilities**
**Outbound Calling**
We've introduced powerful outbound calling capabilities:
- Programmatically initiate calls to any phone number
- Test outbound calls directly from the Voiceflow interface
- Integrate outbound calling into your existing workflows
**Voice Technology Stack**
Our comprehensive voice stack includes:
- Premium text-to-speech voices from industry leaders, such as: ElevenLabs Rime Google
- Support for advanced telephony features through custom actions: Call forwarding DTMF handling Interruption behaviour
**Voice Experience Configuration**
We've exposed detailed configuration options to fine-tune your voice experiences:
**Audio Settings**
- Background audio customization
- Audio cue configuration
**Interaction Parameters**
- Interruption threshold controls
- Utterance end detection
- Response timing optimization
- User input acceptance timing
**Beta Program Details**
**Access and Limitations**
During the beta period, all users will have access to telephony features with the following concurrent call limits:
**Coming Soon**
- Enhanced call analytics and reporting
- Additional voice customization options




## New AI-Native Webchat
We're excited to announce a complete reimagining of the Voiceflow webchat experience. This new version introduces AI-native capabilities, enhanced customization options, and flexible deployment methods to help you create more engaging conversational experiences.
**AI-Native**
Our webchat has been rebuilt from the ground up to provide a more natural, AI-driven conversation experience:
- Streaming Text Support: Experience real-time message generation with character-by-word streaming, creating a more engaging and dynamic conversation flow. Users can see responses being crafted in real-time, similar to popular AI chat interfaces.
- AI Disclaimers: Built-in support for displaying AI disclosure messages and customizable AI usage notifications to maintain transparency with your users.
**Enhanced Customization**
We've significantly expanded the customization capabilities to give you more control over your chat interface:
**Interface Types**
You can now choose from three distinct interface modes:
- Widget: Traditional chat window that appears in the corner of your website
- Popover: Full-screen chat experience that overlays your content
- Embed: Seamlessly integrate the chat interface directly into your webpage layout
**Visual Customization**
The new version introduces comprehensive styling options:
- Color System: Expanded colour palette support with primary, secondary, and accent colour definitions
- Typography: Custom font family support
- Launcher Variations: Classic bubble launcher with customizable icons Button-style launcher with text support
**Important Notes**
- Chat Persistence: Now configured through the snippet rather than UI settings.
- Custom CSS: Maintained compatibility with most existing class names.
- Proactive Messages: Temporarily unavailable in this release, with support coming soon
You can find more details [here](/docs/documentation/deploy/widget/embedding-the-chat-widget).
**Migration**
For detailed instructions on migrating from the legacy webchat, please refer to our [Migration Guide](/docs/documentation/deploy/widget/embedding-the-chat-widget).


## Function libraries, starter templates and ElevenLabs support
**Function Libraries**
Integrate your agent with your favorite tools using our new function libraries. Access pre-built functions for popular platforms like Hubspot, Intercom, Shopify, Zendesk, and Zapier. These functions, sourced from Voiceflow and the community, make it easier than ever to connect Rev with your existing workflows. Showcase readily available integrations to your team and clients.
**Transcript Review Hotkeys**
Reviewing transcripts just got faster and more efficient. You can now press `R` to mark a transcript as Reviewed or `S` to Save it for Later. These handy shortcut keys are perfect for power users who review a high volume of transcripts.
**Project Starter Templates**
Getting started is now a breeze. When creating a new project, choose from a set of templates tailored for common use cases like customer support, ecommerce support, and scheduling. These templates help you hit the ground running without the need for extensive setup and customization. Ideal for new users and busy teams.
**Expanded Voice Support**
We now offer an even greater selection of natural-sounding AI voices. We've added support for a variety of new options from ElevenLabs and Rime. Please note that using these voices consumes AI tokens. Check them out for your projects that could benefit from additional voice choices.



## Important Update: Deprecation of AI Response and AI Set Steps
This is an important update to our platform. As part of our ongoing commitment to enhancing your experience and providing the most advanced tools for AI agent development, we have made the decision to deprecate the AI Response and AI Set steps.
What does this mean for you?
- On February 4th, 2025, the AI Response and AI Set steps will be disabled from the step toolbar in the Voiceflow interface to encourage users to move away of these deprecated steps. Existing steps will remain untouched and will continue working as per normal.
- On June 3rd, 2025, these steps will no longer be supported. Any existing projects using these steps will need to be migrated to the new [Prompt](/docs/documentation/build/steps/message) and [Set](/docs/documentation/build/steps/set) steps. We will be sending out additional communication in advance to the sunset date.
We understand that this change may require some adjustments to your workflow, but rest assured that we are here to support you throughout this transition. The new Prompt and Set steps, along with our powerful Prompt CMS, offer even more flexibility and control over your conversational experiences.
Some key benefits of the new approach include:
- Centralized prompt management:[The Prompt CMS](/docs/documentation/build/global-prompt) serves as a hub for all your prompts, making it easy to create, edit, and reuse them across your projects.
- Advanced prompt configuration: Leverage system prompts, message pairs, conversation history, and variables to craft highly contextual and dynamic responses.
- Seamless integration: The Prompt step allows you to bring your prompts directly into your conversation flows, while the Set step lets you assign prompt outputs to variables for enhanced logic and control.
- Continued innovation: We are committed to expanding the capabilities of these new features, with exciting updates planned for the near future.
For those using the Knowledge Base, we recommend transitioning to the[KB Search step](/docs/documentation/build/querying-the-knowledge-base). This step allows you to query your Knowledge Base and feed the results into a prompt, enabling even more intelligent and relevant responses.
To help guide you through migrating from the AI steps to the Prompt step, check our walkthrough below:
We value your feedback and are here to address any questions or concerns you may have. Our team is dedicated to ensuring a smooth transition and helping you unlock the full potential of these powerful new features.
Thank you for your understanding and continued support. We are excited about the future of conversational AI development on Voiceflow and look forward to seeing the incredible experiences you will create with these enhanced capabilities.
Best regards,
Voiceflow
# Authenticate the vf CLI
Source: https://www.voiceflow.com/docs/cli/authentication
Authenticate the vf CLI with the VF_TOKEN environment variable, the token flag, or an interactive login, and check what is configured with vf auth whoami.
Use a [personal key](/docs/developers/authentication/personal-keys) for development as yourself, or a [service key](/docs/developers/authentication/service-keys) for ongoing automation. Create the key in Voiceflow first; CLI login configures an existing credential.
The CLI resolves credentials from three sources, in priority order: the global
`--token` flag, the `VF_TOKEN` environment variable, and credentials stored
locally by an interactive login.
## Interactive login
```bash
vf auth login
```
Walks you through configuring credentials interactively. All fields are
optional, press Enter to skip any field you don't need.
## Check who you are
```bash
vf auth whoami
```
Shows which credential source is configured (flag, environment variable,
keychain, or config file), with the token masked. Also available as the
top-level alias `vf whoami`.
`whoami` runs entirely offline. It does not validate the token against the
API, so for a live check run a read command permitted by your key for the intended project. A narrowly scoped key may not be allowed to list workspaces.
## Sign out
```bash
vf auth logout
```
Clears all stored credentials.
## Non-interactive use (CI and coding agents)
The CLI reads the `VF_TOKEN` environment variable natively, so there is no
login step and nothing stored on disk:
```bash
export VF_TOKEN=vfp_...
vf workspace list --output-format json
```
Every command also accepts the token directly with the global `--token` flag:
```bash
vf workspace list --token "$VF_TOKEN"
```
Store the token as a secret in your CI provider. Never commit it. Access depends on the credential’s identity, selected resources, and permissions. Full flag reference:
[vf auth](/docs/cli/commands/auth).
# vf agent - Operations for agent
Source: https://www.voiceflow.com/docs/cli/commands/agent
vf agent: operations for agent. Groups 11 subcommands, including add-tool-message, delete-tool-message, get, patch-instructions, patch-prompt.
Operations for agent.
## Usage
```bash
vf agent [flags]
```
## Flags
```text
-h, --help help for agent
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf agent add-tool-message](/docs/cli/commands/agent/add-tool-message) - Add agent tool message
- [vf agent delete-tool-message](/docs/cli/commands/agent/delete-tool-message) - Delete agent tool message
- [vf agent get](/docs/cli/commands/agent/get) - Get agent
- [vf agent patch-instructions](/docs/cli/commands/agent/patch-instructions) - Patch agent instructions
- [vf agent patch-prompt](/docs/cli/commands/agent/patch-prompt) - Patch the global prompt
- [vf agent read-instructions](/docs/cli/commands/agent/read-instructions) - Read agent instructions
- [vf agent read-prompt](/docs/cli/commands/agent/read-prompt) - Read the global prompt
- [vf agent search-instructions](/docs/cli/commands/agent/search-instructions) - Search agent instructions
- [vf agent search-prompt](/docs/cli/commands/agent/search-prompt) - Search the global prompt
- [vf agent update](/docs/cli/commands/agent/update) - Update agent
- [vf agent update-tool-message](/docs/cli/commands/agent/update-tool-message) - Update agent tool message
# vf agent add-tool-message
Source: https://www.voiceflow.com/docs/cli/commands/agent/add-tool-message
vf agent add-tool-message: add agent tool message. Requires --body-param, --environment-alias, --project-id and --slot, with a worked example.
Set a message on one of the agent's tools. Rejected when that message already exists.
## Usage
```bash
vf agent add-tool-message [flags]
```
## Examples
```bash
vf agent add-tool-message --project-id --environment-alias --slot execution
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-b, --body-param string JSON value (variants: generative: { type: string, examples: string[] }, scripted: { type: string, messageID: string })
--body-param.generative string StableToolMessageRequest_Generative variant as JSON
--body-param.scripted string StableToolMessageRequest_Scripted variant as JSON
--body-param.scripted.message-id string The ID of an existing response in this environment — the same ID this slot reports as MessageID on a read. [required]
-e, --environment-alias string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. [required]
-h, --help help for add-tool-message
-n, --native-tool string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. (options: endTool, cardTool, buttonTool, carouselTool, webSearchTool, callForwardTool, knowledgeBaseTool)
-p, --project-id string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. [required]
-s, --slot string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. (options: delay, failure, execution, completion) [required]
-t, --tool-id string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent delete-tool-message
Source: https://www.voiceflow.com/docs/cli/commands/agent/delete-tool-message
vf agent delete-tool-message: delete agent tool message. Requires --environment-alias, --project-id and --slot, with a worked example.
Remove a message from one of the agent's tools, in whichever form it is stored.
## Usage
```bash
vf agent delete-tool-message [flags]
```
## Examples
```bash
vf agent delete-tool-message --project-id --environment-alias --slot completion
```
## Flags
```text
-e, --environment-alias string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. [required]
-h, --help help for delete-tool-message
-n, --native-tool string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. (options: endTool, cardTool, buttonTool, carouselTool, webSearchTool, callForwardTool, knowledgeBaseTool)
-p, --project-id string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. [required]
-s, --slot string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. (options: delay, failure, execution, completion) [required]
-t, --tool-id string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent get - Get agent
Source: https://www.voiceflow.com/docs/cli/commands/agent/get
vf agent get: get agent. Requires --environment-alias and --project-id, with a worked example.
Get agent configuration.
## Usage
```bash
vf agent get [flags]
```
## Examples
```bash
vf agent get --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for get
--include-instructions boolean flag
--include-prompt boolean flag
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent patch-instructions
Source: https://www.voiceflow.com/docs/cli/commands/agent/patch-instructions
vf agent patch-instructions: patch agent instructions. Requires --environment-alias, --new-string, --old-string and --project-id, with a worked example.
Replace an exact string in the main agent's instructions.
## Usage
```bash
vf agent patch-instructions [flags]
```
## Examples
```bash
vf agent patch-instructions --project-id --environment-alias --old-string --new-string
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for patch-instructions
-n, --new-string string The text to put in its place. May be empty to delete. [required]
--old-string string The exact text to replace, copied verbatim from a read or search result. Matching is literal — whitespace, punctuation and case must match. Do not include the line numbers a read adds. [required]
-p, --project-id string [required]
-r, --replace-all Replace every occurrence. When false, more than one match is an error rather than a guess.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent patch-prompt
Source: https://www.voiceflow.com/docs/cli/commands/agent/patch-prompt
vf agent patch-prompt: patch the global prompt. Requires --environment-alias, --new-string, --old-string and --project-id, with a worked example.
Replace an exact string in the global prompt.
## Usage
```bash
vf agent patch-prompt [flags]
```
## Examples
```bash
vf agent patch-prompt --project-id --environment-alias --old-string --new-string
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for patch-prompt
-n, --new-string string The text to put in its place. May be empty to delete. [required]
--old-string string The exact text to replace, copied verbatim from a read or search result. Matching is literal — whitespace, punctuation and case must match. Do not include the line numbers a read adds. [required]
-p, --project-id string [required]
-r, --replace-all Replace every occurrence. When false, more than one match is an error rather than a guess.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent read-instructions
Source: https://www.voiceflow.com/docs/cli/commands/agent/read-instructions
vf agent read-instructions: read agent instructions. Requires --environment-alias and --project-id, with a worked example.
Read a page of the main agent's routing instructions as numbered lines.
## Usage
```bash
vf agent read-instructions [flags]
```
## Examples
```bash
vf agent read-instructions --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for read-instructions
-l, --limit int integer value (default 400)
--offset int integer value (default 1)
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent read-prompt
Source: https://www.voiceflow.com/docs/cli/commands/agent/read-prompt
vf agent read-prompt: read the global prompt. Requires --environment-alias and --project-id, with a worked example.
Read a page of the global prompt as numbered lines.
## Usage
```bash
vf agent read-prompt [flags]
```
## Examples
```bash
vf agent read-prompt --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for read-prompt
-l, --limit int integer value (default 400)
--offset int integer value (default 1)
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent search-instructions
Source: https://www.voiceflow.com/docs/cli/commands/agent/search-instructions
vf agent search-instructions: search agent instructions. Requires --environment-alias, --pattern and --project-id, with a worked example.
Search the main agent's instructions with a regular expression.
## Usage
```bash
vf agent search-instructions [flags]
```
## Examples
```bash
vf agent search-instructions --project-id --environment-alias --pattern
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-c, --context-lines int How many lines either side of each match to return.
-e, --environment-alias string [required]
-h, --help help for search-instructions
-i, --ignore-case Match case-insensitively. Defaults to false, like grep.
-l, --limit int The maximum number of matching LINES to return. The reported totals cover the whole document. (default 50)
--pattern string A JavaScript regular expression, evaluated against each line on its own. [required]
--project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent search-prompt
Source: https://www.voiceflow.com/docs/cli/commands/agent/search-prompt
vf agent search-prompt: search the global prompt. Requires --environment-alias, --pattern and --project-id, with a worked example.
Search the global prompt with a regular expression.
## Usage
```bash
vf agent search-prompt [flags]
```
## Examples
```bash
vf agent search-prompt --project-id --environment-alias --pattern
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-c, --context-lines int How many lines either side of each match to return.
-e, --environment-alias string [required]
-h, --help help for search-prompt
-i, --ignore-case Match case-insensitively. Defaults to false, like grep.
-l, --limit int The maximum number of matching LINES to return. The reported totals cover the whole document. (default 50)
--pattern string A JavaScript regular expression, evaluated against each line on its own. [required]
--project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent update - Update agent
Source: https://www.voiceflow.com/docs/cli/commands/agent/update
vf agent update: update agent. Requires --environment-alias and --project-id, with a worked example.
Update agent configuration.
## Usage
```bash
vf agent update [flags]
```
## Examples
```bash
vf agent update --project-id --environment-alias
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-b, --button-tool string JSON object
--call-forward-tool string JSON object
--card-tool string JSON object
--carousel-tool string JSON object
--end-tool string JSON object
--environment-alias string [required]
-h, --help help for update
--include-guidelines Whether to append the default prompting guidelines to the global prompt.
--instructions string string value
-k, --knowledge-base-tool string JSON object
-l, --llm string JSON object
--path-tool-order stringArray The ordered list of path tool IDs that controls the order of the agent exit paths.
--playbooks string Playbooks available for the agent to invoke. This list REPLACES the registry: send the complete list you want, or omit the field to leave routing untouched. An agent with no playbooks AND no workflows registered cannot run - the runtime fails the conversation - so never send an empty list unless 'workflows' still holds at least one.
--project-id string [required]
--prompt string string value
-s, --skip-turn-tool string JSON object
-v, --voice string JSON object
--web-search-tool string JSON object
--workflows string Workflows available for the agent to invoke. This list REPLACES the registry: send the complete list you want, or omit the field to leave routing untouched. An agent with no workflows AND no playbooks registered cannot run, so never send an empty list unless 'playbooks' still holds at least one.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf agent update-tool-message
Source: https://www.voiceflow.com/docs/cli/commands/agent/update-tool-message
vf agent update-tool-message: update agent tool message. Requires --body-param, --environment-alias, --project-id and --slot, with a worked example.
Replace a message on one of the agent's tools. Rejected when there is none to replace.
## Usage
```bash
vf agent update-tool-message [flags]
```
## Examples
```bash
vf agent update-tool-message --project-id --environment-alias --slot execution
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-b, --body-param string JSON value (variants: generative: { type: string, examples: string[] }, scripted: { type: string, messageID: string })
--body-param.generative string StableToolMessageRequest_Generative variant as JSON
--body-param.scripted string StableToolMessageRequest_Scripted variant as JSON
--body-param.scripted.message-id string The ID of an existing response in this environment — the same ID this slot reports as MessageID on a read. [required]
-e, --environment-alias string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. [required]
-h, --help help for update-tool-message
-n, --native-tool string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. (options: endTool, cardTool, buttonTool, carouselTool, webSearchTool, callForwardTool, knowledgeBaseTool)
-p, --project-id string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. [required]
-s, --slot string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected. (options: delay, failure, execution, completion) [required]
-t, --tool-id string Addresses one message on one tool. Exactly one of toolID and nativeTool is required; sending neither or both is rejected.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf agent](/docs/cli/commands/agent) - Operations for agent
# vf analytics - Operations for analytics
Source: https://www.voiceflow.com/docs/cli/commands/analytics
vf analytics: operations for analytics. Groups 1 subcommand: query.
Operations for analytics.
## Usage
```bash
vf analytics [flags]
```
## Flags
```text
-h, --help help for analytics
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query
vf analytics query: operations for query. Groups 26 subcommands, including api-tool-usage, call-count, call-duration, category-token-usage, daily-token-usage.
Operations for query.
## Usage
```bash
vf analytics query [flags]
```
## Flags
```text
-h, --help help for query
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics](/docs/cli/commands/analytics) - Operations for analytics
- [vf analytics query api-tool-usage](/docs/cli/commands/analytics/query/api-tool-usage) - Query API tool usage
- [vf analytics query call-count](/docs/cli/commands/analytics/query/call-count) - Query call count
- [vf analytics query call-duration](/docs/cli/commands/analytics/query/call-duration) - Query call duration
- [vf analytics query category-token-usage](/docs/cli/commands/analytics/query/category-token-usage) - Query category token usage
- [vf analytics query daily-token-usage](/docs/cli/commands/analytics/query/daily-token-usage) - Query daily token usage
- [vf analytics query entity-token-usage](/docs/cli/commands/analytics/query/entity-token-usage) - Query entity token usage
- [vf analytics query function-usage](/docs/cli/commands/analytics/query/function-usage) - Query function usage
- [vf analytics query hourly-organization-token-usage](/docs/cli/commands/analytics/query/hourly-organization-token-usage) - Query hourly organization token usage
- [vf analytics query hourly-project-token-usage](/docs/cli/commands/analytics/query/hourly-project-token-usage) - Query hourly project token usage
- [vf analytics query integration-usage](/docs/cli/commands/analytics/query/integration-usage) - Query integration usage
- [vf analytics query intent-usage](/docs/cli/commands/analytics/query/intent-usage) - Query intent usage
- [vf analytics query knowledge-base-document-usage](/docs/cli/commands/analytics/query/knowledge-base-document-usage) - Query knowledge base document usage
- [vf analytics query mcp-tool-usage](/docs/cli/commands/analytics/query/mcp-tool-usage) - Query MCP tool usage
- [vf analytics query objective-metrics](/docs/cli/commands/analytics/query/objective-metrics) - Query objective metrics
- [vf analytics query organization-token-usage](/docs/cli/commands/analytics/query/organization-token-usage) - Query organization token usage
- [vf analytics query playbook-usage](/docs/cli/commands/analytics/query/playbook-usage) - Query playbook usage
- [vf analytics query project-interaction-count](/docs/cli/commands/analytics/query/project-interaction-count) - Query project interaction count
- [vf analytics query project-token-usage](/docs/cli/commands/analytics/query/project-token-usage) - Query project token usage
- [vf analytics query project-transcript-cost](/docs/cli/commands/analytics/query/project-transcript-cost) - Query transcript cost
- [vf analytics query project-transcript-count](/docs/cli/commands/analytics/query/project-transcript-count) - Query project transcript count
- [vf analytics query prompt-usage](/docs/cli/commands/analytics/query/prompt-usage) - Query prompt usage
- [vf analytics query unique-user-count](/docs/cli/commands/analytics/query/unique-user-count) - Query unique user count
- [vf analytics query workflow-usage](/docs/cli/commands/analytics/query/workflow-usage) - Query workflow usage
- [vf analytics query workspace-interaction-count](/docs/cli/commands/analytics/query/workspace-interaction-count) - Query workspace interaction count
- [vf analytics query workspace-token-usage](/docs/cli/commands/analytics/query/workspace-token-usage) - Query workspace token usage
- [vf analytics query workspace-transcript-count](/docs/cli/commands/analytics/query/workspace-transcript-count) - Query workspace transcript count
# vf analytics query api-tool-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/api-tool-usage
vf analytics query api-tool-usage: query API tool usage. Requires --end-date, --project-id and --start-date, with a worked example.
Query API tool usage for a project.
## Usage
```bash
vf analytics query api-tool-usage [flags]
```
## Examples
```bash
vf query api-tool-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for api-tool-usage
-l, --limit float number value (default 10)
--order-by string options: count, averageLatencyMS
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query call-count
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/call-count
vf analytics query call-count: query call count. Requires --end-date, --interval, --project-id and --start-date, with a worked example.
Query call count for a project.
## Usage
```bash
vf analytics query call-count [flags]
```
## Examples
```bash
vf query call-count --project-id --end-date --start-date --interval week
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for call-count
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query call-duration
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/call-duration
vf analytics query call-duration: query call duration. Requires --end-date, --interval, --project-id and --start-date, with a worked example.
Query real call duration (talk time) for a project.
## Usage
```bash
vf analytics query call-duration [flags]
```
## Examples
```bash
vf query call-duration --project-id --end-date --start-date --interval week
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for call-duration
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query category-token-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/category-token-usage
vf analytics query category-token-usage: query category token usage. Requires --end-date, --interval, --project-id and --start-date, with a worked example.
Query timezone-aware hourly token usage for a project grouped by usage category.
## Usage
```bash
vf analytics query category-token-usage [flags]
```
## Examples
```bash
vf query category-token-usage --project-id --end-date --start-date --interval day
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for category-token-usage
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-u, --usage-class string options: Host, Build, Test, Monitor
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query daily-token-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/daily-token-usage
vf analytics query daily-token-usage: query daily token usage. Requires --end-date, --organization-id and --start-date, with a worked example.
Daily breakdown of organization token usage grouped by class and category within a date range.
## Usage
```bash
vf analytics query daily-token-usage [flags]
```
## Examples
```bash
vf query daily-token-usage --organization-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --end-date string [required]
-h, --help help for daily-token-usage
--organization-id string [required]
-p, --project-ids stringArray The IDs of the projects to filter results by. Defaults to all projects in the workspace.
-s, --start-date string [required]
-t, --timezone string string value
-w, --workspace-ids stringArray list of values
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query entity-token-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/entity-token-usage
vf analytics query entity-token-usage: query entity token usage. Requires --end-date, --organization-id and --start-date, with a worked example.
Token totals grouped per project and per workspace for an organization.
## Usage
```bash
vf analytics query entity-token-usage [flags]
```
## Examples
```bash
vf query entity-token-usage --organization-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --end-date string [required]
-h, --help help for entity-token-usage
--organization-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query function-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/function-usage
vf analytics query function-usage: query function usage. Requires --end-date, --project-id and --start-date, with a worked example.
Query function usage for a project.
## Usage
```bash
vf analytics query function-usage [flags]
```
## Examples
```bash
vf query function-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for function-usage
-l, --limit float number value (default 10)
--order-by string options: count, averageLatencyMS
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query hourly-organization-token-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/hourly-organization-token-usage
vf analytics query hourly-organization-token-usage: query hourly organization token usage. Requires --end-date, --organization-id and --start-date.
Query hourly token usage for an organization with optional workspace/project filters.
## Usage
```bash
vf analytics query hourly-organization-token-usage [flags]
```
## Examples
```bash
vf query hourly-organization-token-usage --organization-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --end-date string [required]
-h, --help help for hourly-organization-token-usage
--organization-id string [required]
-p, --project-ids stringArray The IDs of the projects to filter results by. Defaults to all projects in the workspace.
-s, --start-date string [required]
-t, --timezone string string value
-w, --workspace-ids stringArray list of values
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query hourly-project-token-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/hourly-project-token-usage
vf analytics query hourly-project-token-usage: query hourly project token usage. Requires --end-date, --interval, --project-id and --start-date.
Query timezone-aware hourly token usage for a project.
## Usage
```bash
vf analytics query hourly-project-token-usage [flags]
```
## Examples
```bash
vf query hourly-project-token-usage --project-id --end-date --start-date --interval hour
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for hourly-project-token-usage
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-u, --usage-class string options: Host, Build, Test, Monitor
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query integration-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/integration-usage
vf analytics query integration-usage: query integration usage. Requires --end-date, --project-id and --start-date, with a worked example.
Query integration usage for a project.
## Usage
```bash
vf analytics query integration-usage [flags]
```
## Examples
```bash
vf query integration-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for integration-usage
-l, --limit float number value (default 10)
--order-by string options: count, averageLatencyMS
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query intent-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/intent-usage
vf analytics query intent-usage: query intent usage. Requires --end-date, --project-id and --start-date, with a worked example.
Query intent usage for a project.
## Usage
```bash
vf analytics query intent-usage [flags]
```
## Examples
```bash
vf query intent-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for intent-usage
-l, --limit float number value (default 10)
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query knowledge-base-document-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/knowledge-base-document-usage
vf analytics query knowledge-base-document-usage: query knowledge base document usage. Requires --end-date, --project-id and --start-date.
Query knowledge base document usage for a project.
## Usage
```bash
vf analytics query knowledge-base-document-usage [flags]
```
## Examples
```bash
vf query knowledge-base-document-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for knowledge-base-document-usage
-l, --limit float number value (default 10)
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query mcp-tool-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/mcp-tool-usage
vf analytics query mcp-tool-usage: query MCP tool usage. Requires --end-date, --project-id and --start-date, with a worked example.
Query MCP tool usage for a project.
## Usage
```bash
vf analytics query mcp-tool-usage [flags]
```
## Examples
```bash
vf query mcp-tool-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for mcp-tool-usage
-l, --limit float number value (default 10)
--order-by string options: count, averageLatencyMS
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query objective-metrics
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/objective-metrics
vf analytics query objective-metrics: query objective metrics. Requires --end-date, --project-id and --start-date, with a worked example.
Query the metric for the assistant's configured objective over a date range.
## Usage
```bash
vf analytics query objective-metrics [flags]
```
## Examples
```bash
vf query objective-metrics --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for objective-metrics
-i, --interfaces stringArray The channels to filter results by. Defaults to all channels.
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query organization-token-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/organization-token-usage
vf analytics query organization-token-usage: query organization token usage. Requires --end-date, --organization-id and --start-date, with a worked example.
Query token usage for an organization.
## Usage
```bash
vf analytics query organization-token-usage [flags]
```
## Examples
```bash
vf query organization-token-usage --organization-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --end-date string [required]
-h, --help help for organization-token-usage
--organization-id string [required]
-p, --project-ids stringArray The IDs of the projects to filter results by. Defaults to all projects in the workspace.
-s, --start-date string [required]
-t, --timezone string string value
-w, --workspace-ids stringArray list of values
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query playbook-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/playbook-usage
vf analytics query playbook-usage: query playbook usage. Requires --end-date, --project-id and --start-date, with a worked example.
Query playbook usage for a project.
## Usage
```bash
vf analytics query playbook-usage [flags]
```
## Examples
```bash
vf query playbook-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for playbook-usage
-l, --limit float number value (default 10)
--order-by string options: count, averageLatencyMS
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query project-interaction-count
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/project-interaction-count
vf analytics query project-interaction-count: query project interaction count. Requires --end-date, --interval, --project-id and --start-date.
Query interaction count for a project.
## Usage
```bash
vf analytics query project-interaction-count [flags]
```
## Examples
```bash
vf query project-interaction-count --project-id --end-date --start-date --interval week
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for project-interaction-count
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query project-token-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/project-token-usage
vf analytics query project-token-usage: query project token usage. Requires --end-date, --interval, --project-id and --start-date, with a worked example.
Query token usage for a project.
## Usage
```bash
vf analytics query project-token-usage [flags]
```
## Examples
```bash
vf query project-token-usage --project-id --end-date --start-date --interval hour
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for project-token-usage
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query project-transcript-cost
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/project-transcript-cost
vf analytics query project-transcript-cost: query transcript cost. Requires --end-date, --interval, --project-id and --start-date, with a worked example.
Query per-interval cost and transcript count for a project.
## Usage
```bash
vf analytics query project-transcript-cost [flags]
```
## Examples
```bash
vf query project-transcript-cost --project-id --end-date --start-date --interval month
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for project-transcript-cost
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-u, --usage-class string options: Host, Build, Test, Monitor
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query project-transcript-count
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/project-transcript-count
vf analytics query project-transcript-count: query project transcript count. Requires --end-date, --interval, --project-id and --start-date.
Query transcript count for a project.
## Usage
```bash
vf analytics query project-transcript-count [flags]
```
## Examples
```bash
vf query project-transcript-count --project-id --end-date --start-date --interval hour
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for project-transcript-count
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query prompt-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/prompt-usage
vf analytics query prompt-usage: query prompt usage. Requires --end-date, --project-id and --start-date, with a worked example.
Query prompt usage for a project.
## Usage
```bash
vf analytics query prompt-usage [flags]
```
## Examples
```bash
vf query prompt-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for prompt-usage
-l, --limit float number value (default 10)
--order-by string options: count, averageLatencyMS
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query unique-user-count
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/unique-user-count
vf analytics query unique-user-count: query unique user count. Requires --end-date, --interval, --project-id and --start-date, with a worked example.
Query unique users for a project.
## Usage
```bash
vf analytics query unique-user-count [flags]
```
## Examples
```bash
vf query unique-user-count --project-id --end-date --start-date --interval hour
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
-h, --help help for unique-user-count
-i, --interval string options: hour, day, week, month [required]
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query workflow-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/workflow-usage
vf analytics query workflow-usage: query workflow usage. Requires --end-date, --project-id and --start-date, with a worked example.
Query workflow usage for a project.
## Usage
```bash
vf analytics query workflow-usage [flags]
```
## Examples
```bash
vf query workflow-usage --project-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--end-date string [required]
--environment-alias string The ID or alias of the environment to filter results by. Defaults to all environments.
--exclude-id stringArray list of values
-h, --help help for workflow-usage
-l, --limit float number value (default 10)
--order-direction string options: ASC, DESC
-p, --project-id string [required]
-s, --start-date string [required]
-t, --timezone string string value
-v, --version-param string Filters results to the draft or published version of the environment. Defaults to both. (options: draft, published)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query workspace-interaction-count
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/workspace-interaction-count
vf analytics query workspace-interaction-count: query workspace interaction count. Requires --end-date, --start-date and --workspace-id, with a worked example.
Query interaction count for a workspace.
## Usage
```bash
vf analytics query workspace-interaction-count [flags]
```
## Examples
```bash
vf query workspace-interaction-count --workspace-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --end-date string [required]
-h, --help help for workspace-interaction-count
-p, --project-ids stringArray The IDs of the projects to filter results by. Defaults to all projects in the workspace.
-s, --start-date string [required]
-t, --timezone string string value
-w, --workspace-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query workspace-token-usage
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/workspace-token-usage
vf analytics query workspace-token-usage: query workspace token usage. Requires --end-date, --start-date and --workspace-id, with a worked example.
Query token usage for a workspace.
## Usage
```bash
vf analytics query workspace-token-usage [flags]
```
## Examples
```bash
vf query workspace-token-usage --workspace-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --end-date string [required]
-h, --help help for workspace-token-usage
-p, --project-ids stringArray The IDs of the projects to filter results by. Defaults to all projects in the workspace.
-s, --start-date string [required]
-t, --timezone string string value
-w, --workspace-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf analytics query workspace-transcript-count
Source: https://www.voiceflow.com/docs/cli/commands/analytics/query/workspace-transcript-count
vf analytics query workspace-transcript-count: query workspace transcript count. Requires --end-date, --start-date and --workspace-id, with a worked example.
Query transcript count for a workspace.
## Usage
```bash
vf analytics query workspace-transcript-count [flags]
```
## Examples
```bash
vf query workspace-transcript-count --workspace-id --end-date --start-date
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --end-date string [required]
-h, --help help for workspace-transcript-count
-p, --project-ids stringArray The IDs of the projects to filter results by. Defaults to all projects in the workspace.
-s, --start-date string [required]
-t, --timezone string string value
-w, --workspace-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf analytics query](/docs/cli/commands/analytics/query) - Operations for query
# vf api-tool - Operations for api-tool
Source: https://www.voiceflow.com/docs/cli/commands/api-tool
vf api-tool: operations for api-tool. Groups 8 subcommands: create, delete, execute, get, get-schema, list, update, variable.
Operations for api-tool.
## Usage
```bash
vf api-tool [flags]
```
## Flags
```text
-h, --help help for api-tool
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf api-tool create](/docs/cli/commands/api-tool/create) - Create API tool
- [vf api-tool delete](/docs/cli/commands/api-tool/delete) - Delete API tool
- [vf api-tool execute](/docs/cli/commands/api-tool/execute) - Execute API tool
- [vf api-tool get](/docs/cli/commands/api-tool/get) - Get API tool
- [vf api-tool get-schema](/docs/cli/commands/api-tool/get-schema) - Get API tool schema
- [vf api-tool list](/docs/cli/commands/api-tool/list) - List API tools
- [vf api-tool update](/docs/cli/commands/api-tool/update) - Update API tool
- [vf api-tool variable](/docs/cli/commands/api-tool/variable) - Operations for api-tool-variable
# vf api-tool create - Create API tool
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/create
vf api-tool create: create API tool. Requires --body-param, --environment-alias, --http-method, --name and --project-id, with a worked example.
Create a new API tool.
## Usage
```bash
vf api-tool create [flags]
```
## Examples
```bash
vf api-tool create --project-id --environment-alias --name --http-method post
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-b, --body-param string JSON value (variants: raw-input: { type: string, contentType: string, content: string }, form-data: { type: string, formData: object[] }, url-encoded: { type: string, params: object[] })
--body-param.form-data string StableAPIToolCreateRequestV2_StableAPIToolFormDataBody variant as JSON
--body-param.raw-input string StableAPIToolCreateRequestV2_StableAPIToolRawBody variant as JSON
--body-param.raw-input.content string Plain text. {input_name} inserts one of THIS API tool's declared input variables — not a project variable and not a secret. {input_name.path} reads a field of that input; the declared input is the base name, so {order.id} declares an input named order. Escape a literal { or \ with a backslash. A name matching no declared input declares one on this tool as part of the write. A bare 24-hex token is the residue of a deleted reference rather than a name: it declares nothing and is reported as resource-id. Until an attachment binds a default for it, a declared input is filled by the model at runtime. A credential reaches an API tool through the attachment's inputVariables[].defaultValue. [required]
--body-param.raw-input.content-type string options: text, json, xml
--body-param.url-encoded string StableAPIToolCreateRequestV2_StableAPIToolURLEncodedBody variant as JSON
--description string A description of what the API tool does, used by the agent to decide when to call it.
-e, --environment-alias string [required]
--headers string list of values
-h, --help help for create
--http-method string options: get, put, post, patch, delete [required]
-n, --name string [required]
-p, --project-id string [required]
--query-parameters string list of values
-s, --settings string JSON object
-u, --url string string value
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool](/docs/cli/commands/api-tool) - Operations for api-tool
# vf api-tool delete - Delete API tool
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/delete
vf api-tool delete: delete API tool. Requires --environment-alias, --project-id and --tool-id, with a worked example.
Delete an API tool by ID.
## Usage
```bash
vf api-tool delete [flags]
```
## Examples
```bash
vf api-tool delete --tool-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for delete
-p, --project-id string [required]
-t, --tool-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool](/docs/cli/commands/api-tool) - Operations for api-tool
# vf api-tool execute - Execute API tool
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/execute
vf api-tool execute: execute API tool. Requires --environment-alias, --project-id and --tool-id, with a worked example.
Send the saved request of an API tool once with the given inputs, without a conversation.
## Usage
```bash
vf api-tool execute [flags]
```
## Examples
```bash
vf api-tool execute --tool-id --project-id --environment-alias
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for execute
-i, --inputs string A value for each of the API tool's input variables, keyed by input name. Each value replaces the tool's {input_name} placeholder in the URL, headers, query and body. Every declared input needs a value, and a name the tool does not declare is refused. List them with get_schema.
-p, --project-id string [required]
-t, --tool-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool](/docs/cli/commands/api-tool) - Operations for api-tool
# vf api-tool get - Get API tool
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/get
vf api-tool get: get API tool. Requires --environment-alias, --project-id and --tool-id, with a worked example.
Get an API tool by ID.
## Usage
```bash
vf api-tool get [flags]
```
## Examples
```bash
vf api-tool get --tool-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for get
-p, --project-id string [required]
-t, --tool-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool](/docs/cli/commands/api-tool) - Operations for api-tool
# vf api-tool get-schema
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/get-schema
vf api-tool get-schema: get API tool schema. Requires --environment-alias, --project-id and --tool-id, with a worked example.
List the inputs an API tool takes, as execute takes them.
## Usage
```bash
vf api-tool get-schema [flags]
```
## Examples
```bash
vf api-tool get-schema --tool-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for get-schema
-p, --project-id string [required]
-t, --tool-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool](/docs/cli/commands/api-tool) - Operations for api-tool
# vf api-tool list - List API tools
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/list
vf api-tool list: list API tools. Requires --environment-alias and --project-id, with a worked example.
List all API tools by project ID.
## Usage
```bash
vf api-tool list [flags]
```
## Examples
```bash
vf api-tool list --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for list
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool](/docs/cli/commands/api-tool) - Operations for api-tool
# vf api-tool update - Update API tool
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/update
vf api-tool update: update API tool. Requires --body-param, --environment-alias, --project-id and --tool-id, with a worked example.
Update an API tool by ID.
## Usage
```bash
vf api-tool update [flags]
```
## Examples
```bash
vf api-tool update --tool-id --project-id --environment-alias
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-b, --body-param string JSON value (variants: raw-input: { type: string, contentType: string, content: string }, form-data: { type: string, formData: object[] }, url-encoded: { type: string, params: object[] })
--body-param.form-data string StableAPIToolUpdateRequestV2_StableAPIToolFormDataBody variant as JSON
--body-param.raw-input string StableAPIToolUpdateRequestV2_StableAPIToolRawBody variant as JSON
--body-param.raw-input.content string Plain text. {input_name} inserts one of THIS API tool's declared input variables — not a project variable and not a secret. {input_name.path} reads a field of that input; the declared input is the base name, so {order.id} declares an input named order. Escape a literal { or \ with a backslash. A name matching no declared input declares one on this tool as part of the write. A bare 24-hex token is the residue of a deleted reference rather than a name: it declares nothing and is reported as resource-id. Until an attachment binds a default for it, a declared input is filled by the model at runtime. A credential reaches an API tool through the attachment's inputVariables[].defaultValue. [required]
--body-param.raw-input.content-type string options: text, json, xml
--body-param.url-encoded string StableAPIToolUpdateRequestV2_StableAPIToolURLEncodedBody variant as JSON
--description string A description of what the API tool does, used by the agent to decide when to call it.
-e, --environment-alias string [required]
--headers string list of values
-h, --help help for update
--http-method string options: get, put, post, patch, delete
-n, --name string string value
-p, --project-id string [required]
--query-parameters string list of values
-s, --settings string JSON object
-t, --tool-id string [required]
-u, --url string string value
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool](/docs/cli/commands/api-tool) - Operations for api-tool
# vf api-tool variable
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/variable
vf api-tool variable: operations for api-tool-variable. Groups 5 subcommands: create, delete, get, list, update.
Operations for api-tool-variable.
## Usage
```bash
vf api-tool variable [flags]
```
## Flags
```text
-h, --help help for variable
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool](/docs/cli/commands/api-tool) - Operations for api-tool
- [vf api-tool variable create](/docs/cli/commands/api-tool/variable/create) - Create variable
- [vf api-tool variable delete](/docs/cli/commands/api-tool/variable/delete) - Delete variable
- [vf api-tool variable get](/docs/cli/commands/api-tool/variable/get) - Get variable
- [vf api-tool variable list](/docs/cli/commands/api-tool/variable/list) - List variables
- [vf api-tool variable update](/docs/cli/commands/api-tool/variable/update) - Update variable
# vf api-tool variable create
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/variable/create
vf api-tool variable create: create variable. Requires --api-tool-id, --environment-alias, --name and --project-id, with a worked example.
Create a new variable.
## Usage
```bash
vf api-tool variable create [flags]
```
## Examples
```bash
vf api-tool-variable create --project-id --environment-alias --name --api-tool-id
```
## Flags
```text
-a, --api-tool-id string The ID of the API tool this variable belongs to. [required]
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--description string A description of the variable, used by the agent to determine what value to provide.
-e, --environment-alias string [required]
-h, --help help for create
-n, --name string The name of the variable, referenced within the API tool request as {name}. Letters, digits and underscores only, at most 64 characters. [required]
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool variable](/docs/cli/commands/api-tool/variable) - Operations for api-tool-variable
# vf api-tool variable delete
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/variable/delete
vf api-tool variable delete: delete variable. Requires --environment-alias, --project-id and --variable-id, with a worked example.
Delete a variable by ID.
## Usage
```bash
vf api-tool variable delete [flags]
```
## Examples
```bash
vf api-tool-variable delete --variable-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for delete
-p, --project-id string [required]
-v, --variable-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool variable](/docs/cli/commands/api-tool/variable) - Operations for api-tool-variable
# vf api-tool variable get - Get variable
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/variable/get
vf api-tool variable get: get variable. Requires --environment-alias, --project-id and --variable-id, with a worked example.
Get a variable by ID.
## Usage
```bash
vf api-tool variable get [flags]
```
## Examples
```bash
vf api-tool-variable get --variable-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for get
-p, --project-id string [required]
-v, --variable-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool variable](/docs/cli/commands/api-tool/variable) - Operations for api-tool-variable
# vf api-tool variable list - List variables
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/variable/list
vf api-tool variable list: list variables. Requires --api-tool-id, --environment-alias and --project-id, with a worked example.
List all variables by API tool ID.
## Usage
```bash
vf api-tool variable list [flags]
```
## Examples
```bash
vf api-tool-variable list --project-id --environment-alias --api-tool-id
```
## Flags
```text
-a, --api-tool-id string [required]
-e, --environment-alias string [required]
-h, --help help for list
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool variable](/docs/cli/commands/api-tool/variable) - Operations for api-tool-variable
# vf api-tool variable update
Source: https://www.voiceflow.com/docs/cli/commands/api-tool/variable/update
vf api-tool variable update: update variable. Requires --environment-alias, --project-id and --variable-id, with a worked example.
Update a variable by ID.
## Usage
```bash
vf api-tool variable update [flags]
```
## Examples
```bash
vf api-tool-variable update --variable-id --project-id --environment-alias
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--description string A description of the variable, used by the agent to determine what value to provide.
-e, --environment-alias string [required]
-h, --help help for update
-n, --name string The name of the variable, referenced within the API tool request as {name}. Letters, digits and underscores only, at most 64 characters.
-p, --project-id string [required]
-v, --variable-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf api-tool variable](/docs/cli/commands/api-tool/variable) - Operations for api-tool-variable
# vf auth
Source: https://www.voiceflow.com/docs/cli/commands/auth
vf auth: manage authentication credentials. Groups 3 subcommands: login, logout, whoami.
Manage authentication credentials.
## Usage
```bash
```
## Flags
```text
-h, --help help for auth
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf auth login](/docs/cli/commands/auth/login) - Sign in through the browser or configure credentials
- [vf auth logout](/docs/cli/commands/auth/logout) - Clear all stored authentication credentials
- [vf auth whoami](/docs/cli/commands/auth/whoami) - Display current authentication configuration
# vf auth login
Source: https://www.voiceflow.com/docs/cli/commands/auth/login
vf auth login: sign in through the browser or configure credentials. Takes no required flags.
Sign in to Voiceflow.
By default this opens your browser to complete an OAuth2 authorization code
flow, then stores the resulting access and refresh tokens in the OS keychain
when available, with an owner-only file fallback.
Use --token to store a bearer token non-interactively, or --manual to be
prompted for one. Use the configure command for both authentication and global
parameters.
In agent mode no browser is opened. The sign-in URL is printed as a JSON event
as soon as it exists, for the agent to hand to the user, and the command keeps
waiting for them to finish, run it in the background and read its output. The
URL redirects to a listener on this machine's loopback interface, so the browser
that opens it has to reach this host: if the CLI runs remotely (SSH, container),
forward the callback port first, see "Signing in over SSH" in the README.
## Usage
```bash
vf auth login [flags]
```
## Flags
```text
-h, --help help for login
--login-timeout duration How long to wait for the browser to complete sign-in (default 5m0s)
--manual Prompt for a bearer token instead of signing in through the browser
--no-browser Print the sign-in URL instead of opening a browser (always on in agent mode)
--scope stringArray OAuth scope to request (repeatable). Defaults to the scopes the authorization server advertises.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf auth](/docs/cli/commands/auth) - Manage authentication credentials
# vf auth logout
Source: https://www.voiceflow.com/docs/cli/commands/auth/logout
vf auth logout: clear all stored authentication credentials. Takes no required flags.
Clear all stored authentication credentials from both the OS keychain and config file.
This removes all credentials previously set via auth login or configure.
## Usage
```bash
vf auth logout [flags]
```
## Flags
```text
-h, --help help for logout
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf auth](/docs/cli/commands/auth) - Manage authentication credentials
# vf auth whoami
Source: https://www.voiceflow.com/docs/cli/commands/auth/whoami
vf auth whoami: display current authentication configuration. Takes no required flags.
Display the currently configured settings and their sources.
Sources are shown as:
[flag] - Set via command line flag
[env] - Set via environment variable (VF_*)
[keyring] - Set via OS keychain (stored by login/configure command)
[config] - Set via config file (~/.config/vf/config.yaml)
[unset] - Not configured
Credential values are masked for security.
## Usage
```bash
vf auth whoami [flags]
```
## Flags
```text
-h, --help help for whoami
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf auth](/docs/cli/commands/auth) - Manage authentication credentials
# vf configure
Source: https://www.voiceflow.com/docs/cli/commands/configure
vf configure: configure authentication credentials and preferences. Takes no required flags.
Interactively configure authentication credentials and preferences for the CLI.
Settings are stored in ~/.config/vf/config.yaml.
Secret credentials are stored in the OS keychain when available.
You can also set values via environment variables with the VF_ prefix
(eg: VF_API_KEY) or pass them as flags to individual commands.
Priority: CLI flags > environment variables > OS keychain > config file
## Usage
```bash
vf configure [flags]
```
## Flags
```text
-h, --help help for configure
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
# vf conversation
Source: https://www.voiceflow.com/docs/cli/commands/conversation
vf conversation: operations for conversation. Groups 2 subcommands: send, state.
Operations for conversation.
## Usage
```bash
vf conversation [flags]
```
## Flags
```text
-h, --help help for conversation
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf conversation send](/docs/cli/commands/conversation/send) - Send
- [vf conversation state](/docs/cli/commands/conversation/state) - Operations for state
# vf conversation send - Send
Source: https://www.voiceflow.com/docs/cli/commands/conversation/send
vf conversation send: send. Requires --environment-alias, --project-id, --user-id and --version-param, with a worked example.
Send message to a conversation.
## Usage
```bash
vf conversation send [flags]
```
## Examples
```bash
vf conversation send --user-id --project-id --environment-alias --action '{"type":"end"}' --version-param draft
```
## Flags
```text
-a, --action string JSON value (one of: { type: string, payload: object, diagramID: string, time: number, ... } | { type: string, payload: string, diagramID: string, time: number, ... } | { type: string, diagramID: string, time: number, metadata: object, ... } | { type: string, payload: value, diagramID: string, time: number, ... })
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-c, --config-param string Options controlling how the response is shaped.
-e, --environment-alias string [required]
-h, --help help for send
-p, --project-id string [required]
-s, --session-id string The unique ID of the conversation session to continue.
-u, --user-id string [required]
-v, --version-param string Whether to run the conversation against the draft or published version of the environment. (options: draft, published) [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf conversation](/docs/cli/commands/conversation) - Operations for conversation
# vf conversation state
Source: https://www.voiceflow.com/docs/cli/commands/conversation/state
vf conversation state: operations for state. Groups 4 subcommands: delete, get, update, update-variables.
Operations for state.
## Usage
```bash
vf conversation state [flags]
```
## Flags
```text
-h, --help help for state
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf conversation](/docs/cli/commands/conversation) - Operations for conversation
- [vf conversation state delete](/docs/cli/commands/conversation/state/delete) - Delete state
- [vf conversation state get](/docs/cli/commands/conversation/state/get) - Get state
- [vf conversation state update](/docs/cli/commands/conversation/state/update) - Update state
- [vf conversation state update-variables](/docs/cli/commands/conversation/state/update-variables) - Update variables
# vf conversation state delete
Source: https://www.voiceflow.com/docs/cli/commands/conversation/state/delete
vf conversation state delete: delete state. Requires --environment-alias, --project-id, --user-id and --version-param, with a worked example.
Delete conversation state for a user.
## Usage
```bash
vf conversation state delete [flags]
```
## Examples
```bash
vf state delete --user-id --project-id --environment-alias --version-param draft
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for delete
-p, --project-id string [required]
-u, --user-id string [required]
-v, --version-param string options: draft, published [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf conversation state](/docs/cli/commands/conversation/state) - Operations for state
# vf conversation state get - Get state
Source: https://www.voiceflow.com/docs/cli/commands/conversation/state/get
vf conversation state get: get state. Requires --environment-alias, --project-id, --user-id and --version-param, with a worked example.
Get conversation state for a user.
## Usage
```bash
vf conversation state get [flags]
```
## Examples
```bash
vf state get --user-id --project-id --environment-alias --version-param draft
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for get
-p, --project-id string [required]
-u, --user-id string [required]
-v, --version-param string options: draft, published [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf conversation state](/docs/cli/commands/conversation/state) - Operations for state
# vf conversation state update
Source: https://www.voiceflow.com/docs/cli/commands/conversation/state/update
vf conversation state update: update state. Requires --environment-alias, --project-id, --stack, --storage, --user-id, --variables and --version-param.
Update conversation state for a user.
## Usage
```bash
vf conversation state update [flags]
```
## Examples
```bash
vf state update --user-id --project-id --environment-alias --version-param published --stack '[]'
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for update
-p, --project-id string [required]
--stack string The execution stack for the conversation, from root to innermost frame. [required]
--storage string Internal runtime storage persisted across turns of the session. [required]
-u, --user-id string [required]
--variables string The current values of the agent variables for this session. [required]
--version-param string options: draft, published [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf conversation state](/docs/cli/commands/conversation/state) - Operations for state
# vf conversation state update-variables
Source: https://www.voiceflow.com/docs/cli/commands/conversation/state/update-variables
vf conversation state update-variables: update variables. Requires --environment-alias, --project-id, --user-id, --variables and --version-param.
Updates variables in the conversation state by merging with the properties in the request body.
## Usage
```bash
vf conversation state update-variables [flags]
```
## Examples
```bash
vf state update-variables --user-id --project-id --environment-alias --version-param published --variables '{"key":"","key1":"","key2":""}'
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for update-variables
-p, --project-id string [required]
-u, --user-id string [required]
--variables string Variable values to set on the conversation session, keyed by variable name. [required]
--version-param string options: draft, published [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf conversation state](/docs/cli/commands/conversation/state) - Operations for state
# vf docs
Source: https://www.voiceflow.com/docs/cli/commands/docs
vf docs: search and read the Voiceflow documentation from the terminal. Groups 2 subcommands: get, search.
Search and read the Voiceflow documentation from the terminal.
## Usage
```bash
```
## Flags
```text
-h, --help help for docs
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf docs get](/docs/cli/commands/docs/get) - Print a documentation page as markdown
- [vf docs search](/docs/cli/commands/docs/search) - Search the Voiceflow documentation
# vf docs get
Source: https://www.voiceflow.com/docs/cli/commands/docs/get
vf docs get: print a documentation page as markdown. Takes no required flags, and carries a worked example.
Fetch one documentation page and print its markdown to stdout.
Accepts a page path (from 'vf docs search' output) or a full
voiceflow.com/docs URL.
## Usage
```bash
vf docs get [flags]
```
## Examples
```bash
vf docs get api-reference/authentication
vf docs get cli/commands/workspace
vf docs get https://www.voiceflow.com/docs/cli/overview
```
## Flags
```text
-h, --help help for get
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf docs](/docs/cli/commands/docs) - Search and read the Voiceflow documentation from the terminal
# vf docs search
Source: https://www.voiceflow.com/docs/cli/commands/docs/search
vf docs search: search the Voiceflow documentation. Takes no required flags, and carries a worked example.
Search the Voiceflow documentation and print matching pages with their
titles, links, and content excerpts.
Pass --output-format json for structured results ({title, link, page, content}).
Fetch any result in full with: vf docs get <page>
## Usage
```bash
vf docs search [flags]
```
## Examples
```bash
vf docs search "personal access token"
vf docs search "publish an environment" --output-format json
```
## Flags
```text
-h, --help help for search
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf docs](/docs/cli/commands/docs) - Search and read the Voiceflow documentation from the terminal
# vf document
Source: https://www.voiceflow.com/docs/cli/commands/document
vf document: operations for document. Groups 11 subcommands, including create-managed-sitemap, create-sitemap, create-table, create-text, create-url, delete.
Operations for document.
## Usage
```bash
vf document [flags]
```
## Flags
```text
-h, --help help for document
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf document create-managed-sitemap](/docs/cli/commands/document/create-managed-sitemap) - Create managed sitemap
- [vf document create-sitemap](/docs/cli/commands/document/create-sitemap) - Create documents from sitemap
- [vf document create-table](/docs/cli/commands/document/create-table) - Create table document
- [vf document create-text](/docs/cli/commands/document/create-text) - Create text document
- [vf document create-url](/docs/cli/commands/document/create-url) - Create URL document
- [vf document delete](/docs/cli/commands/document/delete) - Delete document
- [vf document get](/docs/cli/commands/document/get) - Get document
- [vf document list](/docs/cli/commands/document/list) - List documents
- [vf document preview-sitemap](/docs/cli/commands/document/preview-sitemap) - Preview sitemap URLs
- [vf document update](/docs/cli/commands/document/update) - Update document
- [vf document update-managed-sitemap](/docs/cli/commands/document/update-managed-sitemap) - Update managed sitemap
# vf document create-managed-sitemap
Source: https://www.voiceflow.com/docs/cli/commands/document/create-managed-sitemap
vf document create-managed-sitemap: create managed sitemap. Requires --environment-alias, --project-id and --sitemap-url, with a worked example.
Create a sitemap document that imports the pages its sitemap lists in the background and keeps them in sync.
## Usage
```bash
vf document create-managed-sitemap [flags]
```
## Examples
```bash
vf document create-managed-sitemap --project-id --environment-alias --sitemap-url https://amazing-cow.com/
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for create-managed-sitemap
--llm-based-chunks string JSON value (one of: boolean | StableDocumentController_createManagedSitemap_llmBasedChunks_enum)
--llm-content-summarization string JSON value (one of: boolean | StableDocumentController_createManagedSitemap_llmContentSummarization_enum)
--llm-generated-q string JSON value (one of: boolean | StableDocumentController_createManagedSitemap_llmGeneratedQ_enum)
--llm-prepend-context string JSON value (one of: boolean | StableDocumentController_createManagedSitemap_llmPrependContext_enum)
--markdown-conversion string JSON value (one of: boolean | StableDocumentController_createManagedSitemap_markdownConversion_enum)
--metadata string Metadata tags attached to the sitemap and to every page it imports, used to filter knowledge base retrieval at runtime.
--patterns string Which of the pages the sitemap lists it keeps. Matching is case-insensitive and unanchored: a pattern with no '*' matches any URL containing it as a substring ('/blog/'), while '*' matches any run of characters ('*/tag/*', '*.pdf').
--project-id string [required]
-r, --refresh-rate string How often the sitemap is re-read to add the pages it newly lists and remove the ones it no longer does. Its pages are re-crawled on the same schedule. (options: daily, weekly, monthly, never) (default "never")
--single-chunk string JSON value (one of: boolean | StableDocumentController_createManagedSitemap_singleChunk_enum)
--sitemap-url string The HTTPS URL of the sitemap to read. A bare site URL works too — when it does not end in '.xml', '/sitemap.xml', '/sitemap_index.xml' and '/sitemap/sitemap.xml' are probed in turn. [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document create-sitemap
Source: https://www.voiceflow.com/docs/cli/commands/document/create-sitemap
vf document create-sitemap: create documents from sitemap. Requires --environment-alias, --project-id and --sitemap-url, with a worked example.
Read a sitemap and create one URL document per page it lists.
## Usage
```bash
vf document create-sitemap [flags]
```
## Examples
```bash
vf document create-sitemap --project-id --environment-alias --sitemap-url https://common-papa.com/
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--environment-alias string [required]
--exclude stringArray Patterns that drop a URL from the import when any one of them matches. Matching is case-insensitive and unanchored: a pattern with no '*' matches any URL containing it as a substring ('/blog/'), while '*' matches any run of characters ('*/tag/*', '*.pdf').
-h, --help help for create-sitemap
--llm-based-chunks string JSON value (one of: boolean | StableDocumentController_createSitemap_llmBasedChunks_enum)
--llm-content-summarization string JSON value (one of: boolean | StableDocumentController_createSitemap_llmContentSummarization_enum)
--llm-generated-q string JSON value (one of: boolean | StableDocumentController_createSitemap_llmGeneratedQ_enum)
--llm-prepend-context string JSON value (one of: boolean | StableDocumentController_createSitemap_llmPrependContext_enum)
--markdown-conversion string JSON value (one of: boolean | StableDocumentController_createSitemap_markdownConversion_enum)
--metadata string Metadata tags attached to the document, used to filter knowledge base retrieval at runtime.
-p, --project-id string [required]
-r, --refresh-rate string How often the URL is automatically re-crawled to refresh the document content. (options: daily, weekly, monthly, never) (default "never")
--single-chunk string JSON value (one of: boolean | StableDocumentController_createSitemap_singleChunk_enum)
--sitemap-url string The HTTPS URL of the sitemap to read. A bare site URL works too — when it does not end in '.xml', '/sitemap.xml', '/sitemap_index.xml' and '/sitemap/sitemap.xml' are probed in turn. [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document create-table
Source: https://www.voiceflow.com/docs/cli/commands/document/create-table
vf document create-table: create table document. Requires --environment-alias, --items, --name, --project-id and --schema, with a worked example.
Create a new document from structured data.
## Usage
```bash
vf document create-table [flags]
```
## Examples
```bash
vf document create-table --project-id --environment-alias --name --items '[{"key":""},{},{}]' --schema '{"searchableFields":["","",""]}'
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for create-table
-i, --items string The table rows to ingest; each row is a flat object and becomes its own chunk. [required]
--llm-based-chunks string JSON value (one of: boolean | StableDocumentController_createTable_llmBasedChunks_enum)
--llm-content-summarization string JSON value (one of: boolean | StableDocumentController_createTable_llmContentSummarization_enum)
--llm-generated-q string JSON value (one of: boolean | StableDocumentController_createTable_llmGeneratedQ_enum)
--llm-prepend-context string JSON value (one of: boolean | StableDocumentController_createTable_llmPrependContext_enum)
--markdown-conversion string JSON value (one of: boolean | StableDocumentController_createTable_markdownConversion_enum)
--max-chunk-size string JSON value (one of: string | number)
--metadata string Metadata tags attached to the document, used to filter knowledge base retrieval at runtime.
-n, --name string [required]
--overwrite string JSON value (one of: boolean | StableDocumentController_createTable_overwrite_enum)
-p, --project-id string [required]
--schema string Declares which top-level keys of each row are full-text searchable versus row-level metadata. [required]
--single-chunk string JSON value (one of: boolean | StableDocumentController_createTable_singleChunk_enum)
-u, --url string An optional source URL to associate with the table document.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document create-text
Source: https://www.voiceflow.com/docs/cli/commands/document/create-text
vf document create-text: create text document. Requires --environment-alias, --file and --project-id, with a worked example.
Create a new document from raw text.
## Usage
```bash
vf document create-text [flags]
```
## Examples
```bash
vf document create-text --project-id --environment-alias
```
## Flags
```text
-c, --can-edit If true, the document content can be edited in the Creator after upload.
-e, --environment-alias string [required]
-f, --file string Path to file to upload [required]
-h, --help help for create-text
--llm-based-chunks string JSON value (one of: boolean | StableDocumentController_createText_llmBasedChunks_enum)
--llm-content-summarization string JSON value (one of: boolean | StableDocumentController_createText_llmContentSummarization_enum)
--llm-generated-q string JSON value (one of: boolean | StableDocumentController_createText_llmGeneratedQ_enum)
--llm-prepend-context string JSON value (one of: boolean | StableDocumentController_createText_llmPrependContext_enum)
--markdown-conversion string JSON value (one of: boolean | StableDocumentController_createText_markdownConversion_enum)
--max-chunk-size string JSON value (one of: string | number)
--metadata string A JSON-encoded array of '{ key, values }' metadata tags attached to the document, used to filter knowledge base retrieval at runtime.
--overwrite string JSON value (one of: boolean | StableDocumentController_createText_overwrite_enum)
-p, --project-id string [required]
-s, --single-chunk string JSON value (one of: boolean | StableDocumentController_createText_singleChunk_enum)
-u, --url string An optional source URL to associate with the uploaded document.
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document create-url
Source: https://www.voiceflow.com/docs/cli/commands/document/create-url
vf document create-url: create URL document. Requires --environment-alias, --project-id and --url, with a worked example.
Create a new document from a URL.
## Usage
```bash
vf document create-url [flags]
```
## Examples
```bash
vf document create-url --project-id --environment-alias --url https://deserted-swordfish.info/
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for create-url
--llm-based-chunks string JSON value (one of: boolean | StableDocumentController_createURL_llmBasedChunks_enum)
--llm-content-summarization string JSON value (one of: boolean | StableDocumentController_createURL_llmContentSummarization_enum)
--llm-generated-q string JSON value (one of: boolean | StableDocumentController_createURL_llmGeneratedQ_enum)
--llm-prepend-context string JSON value (one of: boolean | StableDocumentController_createURL_llmPrependContext_enum)
--markdown-conversion string JSON value (one of: boolean | StableDocumentController_createURL_markdownConversion_enum)
--max-chunk-size string JSON value (one of: string | number)
--metadata string Metadata tags attached to the document, used to filter knowledge base retrieval at runtime.
--overwrite string JSON value (one of: boolean | StableDocumentController_createURL_overwrite_enum)
-p, --project-id string [required]
-r, --refresh-rate string How often the URL is automatically re-crawled to refresh the document content. (options: daily, weekly, monthly, never)
-s, --single-chunk string JSON value (one of: boolean | StableDocumentController_createURL_singleChunk_enum)
-u, --url string The URL of the web page to crawl and ingest into the knowledge base. [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document delete
Source: https://www.voiceflow.com/docs/cli/commands/document/delete
vf document delete: delete document. Requires --document-id, --environment-alias and --project-id, with a worked example.
Delete a document by ID.
## Usage
```bash
vf document delete [flags]
```
## Examples
```bash
vf document delete --document-id --project-id --environment-alias
```
## Flags
```text
--document-id string [required]
-e, --environment-alias string [required]
-h, --help help for delete
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document get - Get document
Source: https://www.voiceflow.com/docs/cli/commands/document/get
vf document get: get document. Requires --document-id, --environment-alias and --project-id, with a worked example.
Get a document by ID.
## Usage
```bash
vf document get [flags]
```
## Examples
```bash
vf document get --document-id --project-id --environment-alias
```
## Flags
```text
--document-id string [required]
-e, --environment-alias string [required]
-h, --help help for get
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document list - List documents
Source: https://www.voiceflow.com/docs/cli/commands/document/list
vf document list: list documents. Requires --environment-alias and --project-id, with a worked example.
List all documents by project ID.
## Usage
```bash
vf document list [flags]
```
## Examples
```bash
vf document list --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for list
-p, --project-id string [required]
-s, --sitemap-document-id string string value
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document preview-sitemap
Source: https://www.voiceflow.com/docs/cli/commands/document/preview-sitemap
vf document preview-sitemap: preview sitemap URLs. Requires --project-id and --sitemap-url, with a worked example.
Read a sitemap and return the URLs an import would create documents for.
## Usage
```bash
vf document preview-sitemap [flags]
```
## Examples
```bash
vf document preview-sitemap --project-id --sitemap-url https://fake-marimba.org
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --exclude stringArray Patterns that drop a URL from the import when any one of them matches. Matching is case-insensitive and unanchored: a pattern with no '*' matches any URL containing it as a substring ('/blog/'), while '*' matches any run of characters ('*/tag/*', '*.pdf').
-h, --help help for preview-sitemap
-p, --project-id string [required]
-s, --sitemap-url string The HTTPS URL of the sitemap to read. A bare site URL works too — when it does not end in '.xml', '/sitemap.xml', '/sitemap_index.xml' and '/sitemap/sitemap.xml' are probed in turn. [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document update
Source: https://www.voiceflow.com/docs/cli/commands/document/update
vf document update: update document. Requires --document-id, --environment-alias, --metadata and --project-id, with a worked example.
Update a document by ID.
## Usage
```bash
vf document update [flags]
```
## Examples
```bash
vf document update --document-id --project-id --environment-alias --metadata '[]'
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--document-id string [required]
-e, --environment-alias string [required]
-h, --help help for update
-m, --metadata string Metadata tags attached to the document, used to filter knowledge base retrieval at runtime. [required]
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf document update-managed-sitemap
Source: https://www.voiceflow.com/docs/cli/commands/document/update-managed-sitemap
vf document update-managed-sitemap: update managed sitemap. Requires --document-id, --environment-alias and --project-id, with a worked example.
Update a managed sitemap's URL patterns, refresh rate or smart chunking.
## Usage
```bash
vf document update-managed-sitemap [flags]
```
## Examples
```bash
vf document update-managed-sitemap --document-id --project-id --environment-alias
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--document-id string [required]
-e, --environment-alias string [required]
-h, --help help for update-managed-sitemap
--llm-based-chunks string JSON value (one of: boolean | StableDocumentUpdateManagedSitemapRequest_llmBasedChunks_enum)
--llm-content-summarization string JSON value (one of: boolean | StableDocumentUpdateManagedSitemapRequest_llmContentSummarization_enum)
--llm-generated-q string JSON value (one of: boolean | StableDocumentUpdateManagedSitemapRequest_llmGeneratedQ_enum)
--llm-prepend-context string JSON value (one of: boolean | StableDocumentUpdateManagedSitemapRequest_llmPrependContext_enum)
-m, --markdown-conversion string JSON value (one of: boolean | StableDocumentUpdateManagedSitemapRequest_markdownConversion_enum)
--patterns string Replaces the stored patterns whole, so send both lists even when changing one. Matching is case-insensitive and unanchored: a pattern with no '*' matches any URL containing it as a substring ('/blog/'), while '*' matches any run of characters ('*/tag/*', '*.pdf').
--project-id string [required]
-r, --refresh-rate string How often the sitemap is re-read to add the pages it newly lists and remove the ones it no longer does. Its pages are re-crawled on the same schedule. Also applied to the pages it has already imported. (options: daily, weekly, monthly, never)
-s, --single-chunk string JSON value (one of: boolean | StableDocumentUpdateManagedSitemapRequest_singleChunk_enum)
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf document](/docs/cli/commands/document) - Operations for document
# vf environment
Source: https://www.voiceflow.com/docs/cli/commands/environment
vf environment: operations for environment. Groups 9 subcommands: clone, compile, delete, get, list, merge, publish, update, update-traffic-split.
Operations for environment.
## Usage
```bash
vf environment [flags]
```
## Flags
```text
-h, --help help for environment
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf environment clone](/docs/cli/commands/environment/clone) - Clone environment
- [vf environment compile](/docs/cli/commands/environment/compile) - Compile environment
- [vf environment delete](/docs/cli/commands/environment/delete) - Delete environment
- [vf environment get](/docs/cli/commands/environment/get) - Get environment
- [vf environment list](/docs/cli/commands/environment/list) - List environments
- [vf environment merge](/docs/cli/commands/environment/merge) - Merge environments
- [vf environment publish](/docs/cli/commands/environment/publish) - Publish environment
- [vf environment update](/docs/cli/commands/environment/update) - Update environment
- [vf environment update-traffic-split](/docs/cli/commands/environment/update-traffic-split) - Update traffic split
# vf environment clone
Source: https://www.voiceflow.com/docs/cli/commands/environment/clone
vf environment clone: clone environment. Requires --alias, --environment-alias, --name and --project-id, with a worked example.
Clone an environment.
## Usage
```bash
vf environment clone [flags]
```
## Examples
```bash
vf environment clone --environment-alias --project-id --name --alias
```
## Flags
```text
-a, --alias string Short URL-safe identifier; cannot be 'main' (reserved). [required]
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for clone
-n, --name string The display name of the new environment. [required]
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf environment compile
Source: https://www.voiceflow.com/docs/cli/commands/environment/compile
vf environment compile: compile environment. Requires --environment-alias and --project-id, with a worked example.
Compile an environment.
## Usage
```bash
vf environment compile [flags]
```
## Examples
```bash
vf environment compile --environment-alias --project-id
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for compile
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf environment delete
Source: https://www.voiceflow.com/docs/cli/commands/environment/delete
vf environment delete: delete environment. Requires --environment-alias and --project-id, with a worked example.
Delete an environment by alias or ID.
## Usage
```bash
vf environment delete [flags]
```
## Examples
```bash
vf environment delete --environment-alias --project-id
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for delete
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf environment get - Get environment
Source: https://www.voiceflow.com/docs/cli/commands/environment/get
vf environment get: get environment. Requires --environment-alias and --project-id, with a worked example.
Get an environment by alias or ID.
## Usage
```bash
vf environment get [flags]
```
## Examples
```bash
vf environment get --environment-alias --project-id
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for get
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf environment list
Source: https://www.voiceflow.com/docs/cli/commands/environment/list
vf environment list: list environments. Requires --project-id, with a worked example.
List all environments by project ID.
## Usage
```bash
vf environment list [flags]
```
## Examples
```bash
vf environment list --project-id
```
## Flags
```text
-h, --help help for list
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf environment merge
Source: https://www.voiceflow.com/docs/cli/commands/environment/merge
vf environment merge: merge environments. Requires --project-id, --source-environment-alias and --target-environment-alias, with a worked example.
Merge one environment into another.
## Usage
```bash
vf environment merge [flags]
```
## Examples
```bash
vf environment merge --project-id --source-environment-alias --target-environment-alias
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-h, --help help for merge
-p, --project-id string [required]
-r, --remove-source-environment If true, the source environment is deleted after the merge.
-s, --source-environment-alias string The alias of the environment whose changes are merged. [required]
-t, --target-environment-alias string The alias of the environment that receives the merged changes. [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf environment publish
Source: https://www.voiceflow.com/docs/cli/commands/environment/publish
vf environment publish: publish environment. Requires --environment-alias, --name and --project-id, with a worked example.
Publish live version of an environment.
## Usage
```bash
vf environment publish [flags]
```
## Examples
```bash
vf environment publish --environment-alias --project-id --name
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
--description string An optional description of what changed in this release. (default "null")
-e, --environment-alias string [required]
-h, --help help for publish
-n, --name string The name of the release created by publishing. [required]
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf environment update
Source: https://www.voiceflow.com/docs/cli/commands/environment/update
vf environment update: update environment. Requires --environment-alias and --project-id, with a worked example.
Update a environment by alias or ID.
## Usage
```bash
vf environment update [flags]
```
## Examples
```bash
vf environment update --environment-alias --project-id
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-h, --help help for update
-n, --name string string value
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf environment update-traffic-split
Source: https://www.voiceflow.com/docs/cli/commands/environment/update-traffic-split
vf environment update-traffic-split: update traffic split. Requires --project-id and --traffic, with a worked example.
Update the percentage of traffic routed to each environment.
## Usage
```bash
vf environment update-traffic-split [flags]
```
## Examples
```bash
vf environment update-traffic-split --project-id --traffic '{"key":1314.98,"key1":2310.29}'
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-h, --help help for update-traffic-split
-p, --project-id string [required]
-t, --traffic string Map of environmentAlias → traffic percentage (0-100). Values must sum to 100. [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf environment](/docs/cli/commands/environment) - Operations for environment
# vf evaluation
Source: https://www.voiceflow.com/docs/cli/commands/evaluation
vf evaluation: operations for evaluation. Groups 6 subcommands: create, delete, get, list, run, update.
Operations for evaluation.
## Usage
```bash
vf evaluation [flags]
```
## Flags
```text
-h, --help help for evaluation
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf evaluation create](/docs/cli/commands/evaluation/create) - Create evaluation
- [vf evaluation delete](/docs/cli/commands/evaluation/delete) - Delete evaluation
- [vf evaluation get](/docs/cli/commands/evaluation/get) - Get evaluation
- [vf evaluation list](/docs/cli/commands/evaluation/list) - List evaluations
- [vf evaluation run](/docs/cli/commands/evaluation/run) - Run evaluation
- [vf evaluation update](/docs/cli/commands/evaluation/update) - Update evaluation
# vf evaluation create
Source: https://www.voiceflow.com/docs/cli/commands/evaluation/create
vf evaluation create: create evaluation. Requires --body-param and --project-id, with a worked example.
Create a new evaluation.
## Usage
```bash
vf evaluation create [flags]
```
## Examples
```bash
vf evaluation create --project-id
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-b, --body-param string JSON value (variants: boolean: { type: string, truePrompt: string, falsePrompt: string, name: string, ... }, number: { type: string, minimumValue: number, maximumValue: number, minimumPrompt: string, ... }, string: { type: string, name: string, prompt: string, enabled: boolean, ... }, option: { type: string, options: object[], name: string, prompt: string, ... })
--body-param.boolean string StableEvaluationCreateRequest_Boolean variant as JSON
--body-param.boolean.description string A human-readable description of what this evaluation measures.
--body-param.boolean.enabled Whether this evaluation runs automatically against new transcripts. [required]
--body-param.boolean.false-prompt string The criteria describing when the evaluator should return 'false'. [required]
--body-param.boolean.name string [required]
--body-param.boolean.prompt string The criteria the evaluator uses to judge a transcript. [required]
--body-param.boolean.true-prompt string The criteria describing when the evaluator should return 'true'. [required]
--body-param.number string StableEvaluationCreateRequest_Number variant as JSON
--body-param.number.description string A human-readable description of what this evaluation measures.
--body-param.number.enabled Whether this evaluation runs automatically against new transcripts. [required]
--body-param.number.maximum-prompt string The criteria describing what warrants the 'maximumValue' score. [required]
--body-param.number.maximum-value float The highest score the evaluator can assign. [required]
--body-param.number.minimum-prompt string The criteria describing what warrants the 'minimumValue' score. [required]
--body-param.number.minimum-value float The lowest score the evaluator can assign. [required]
--body-param.number.name string [required]
--body-param.number.prompt string The criteria the evaluator uses to judge a transcript. [required]
--body-param.option string StableEvaluationCreateRequest_Option_2 variant as JSON
--body-param.string string StableEvaluationCreateRequest_String variant as JSON
--body-param.string.description string A human-readable description of what this evaluation measures.
--body-param.string.enabled Whether this evaluation runs automatically against new transcripts. [required]
--body-param.string.name string [required]
--body-param.string.prompt string The criteria the evaluator uses to judge a transcript. [required]
-h, --help help for create
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf evaluation](/docs/cli/commands/evaluation) - Operations for evaluation
# vf evaluation delete
Source: https://www.voiceflow.com/docs/cli/commands/evaluation/delete
vf evaluation delete: delete evaluation. Requires --evaluation-id and --project-id, with a worked example.
Delete an evaluation by ID.
## Usage
```bash
vf evaluation delete [flags]
```
## Examples
```bash
vf evaluation delete --evaluation-id --project-id
```
## Flags
```text
-e, --evaluation-id string [required]
-h, --help help for delete
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf evaluation](/docs/cli/commands/evaluation) - Operations for evaluation
# vf evaluation get - Get evaluation
Source: https://www.voiceflow.com/docs/cli/commands/evaluation/get
vf evaluation get: get evaluation. Requires --evaluation-id and --project-id, with a worked example.
Get an evaluation by ID.
## Usage
```bash
vf evaluation get [flags]
```
## Examples
```bash
vf evaluation get --evaluation-id --project-id
```
## Flags
```text
-e, --evaluation-id string [required]
-h, --help help for get
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf evaluation](/docs/cli/commands/evaluation) - Operations for evaluation
# vf evaluation list - List evaluations
Source: https://www.voiceflow.com/docs/cli/commands/evaluation/list
vf evaluation list: list evaluations. Requires --project-id, with a worked example.
List all evaluations by project ID.
## Usage
```bash
vf evaluation list [flags]
```
## Examples
```bash
vf evaluation list --project-id
```
## Flags
```text
-h, --help help for list
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf evaluation](/docs/cli/commands/evaluation) - Operations for evaluation
# vf evaluation run - Run evaluation
Source: https://www.voiceflow.com/docs/cli/commands/evaluation/run
vf evaluation run: run evaluation. Requires --evaluation-id, --project-id and --transcript-id, with a worked example.
Run an evaluation.
## Usage
```bash
vf evaluation run [flags]
```
## Examples
```bash
vf evaluation run --evaluation-id --project-id --transcript-id
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --evaluation-id string [required]
-h, --help help for run
-p, --project-id string [required]
-t, --transcript-id string The ID of the transcript to run the evaluation against. [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf evaluation](/docs/cli/commands/evaluation) - Operations for evaluation
# vf evaluation update
Source: https://www.voiceflow.com/docs/cli/commands/evaluation/update
vf evaluation update: update evaluation. Requires --evaluation-id and --project-id, with a worked example.
Update an evaluation by ID.
## Usage
```bash
vf evaluation update [flags]
```
## Examples
```bash
vf evaluation update --evaluation-id --project-id
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-b, --body-param string JSON value (variants: boolean: { truePrompt: string, falsePrompt: string, name: string, prompt: string, ... }, number: { minimumValue: number, maximumValue: number, minimumPrompt: string, maximumPrompt: string, ... }, string: { name: string, prompt: string, enabled: boolean, settings: object, ... }, option: { options: object[], name: string, prompt: string, enabled: boolean, ... })
--body-param.boolean string StableEvaluationUpdateRequest_Boolean variant as JSON
--body-param.number string StableEvaluationUpdateRequest_Number variant as JSON
--body-param.option string StableEvaluationUpdateRequest_Option_2 variant as JSON
--body-param.string string StableEvaluationUpdateRequest_String variant as JSON
-e, --evaluation-id string [required]
-h, --help help for update
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf evaluation](/docs/cli/commands/evaluation) - Operations for evaluation
# vf explore
Source: https://www.voiceflow.com/docs/cli/commands/explore
vf explore: interactively browse and run commands. Takes no required flags.
Launch an interactive command explorer to browse available commands, view their descriptions and flags, and execute them.
## Usage
```bash
vf explore [flags]
```
## Flags
```text
-h, --help help for explore
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
# vf function - Operations for function
Source: https://www.voiceflow.com/docs/cli/commands/function
vf function: operations for function. Groups 9 subcommands: create, delete, execute, get, get-schema, list, path, update, variable.
Operations for function.
## Usage
```bash
vf function [flags]
```
## Flags
```text
-h, --help help for function
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf](/docs/cli/commands/overview) - Realtime: Realtime gateway API service
- [vf function create](/docs/cli/commands/function/create) - Create function
- [vf function delete](/docs/cli/commands/function/delete) - Delete function
- [vf function execute](/docs/cli/commands/function/execute) - Execute function
- [vf function get](/docs/cli/commands/function/get) - Get function
- [vf function get-schema](/docs/cli/commands/function/get-schema) - Get function schema
- [vf function list](/docs/cli/commands/function/list) - List functions
- [vf function path](/docs/cli/commands/function/path) - Operations for function-path
- [vf function update](/docs/cli/commands/function/update) - Update function
- [vf function variable](/docs/cli/commands/function/variable) - Operations for function-variable
# vf function create - Create function
Source: https://www.voiceflow.com/docs/cli/commands/function/create
vf function create: create function. Requires --code, --environment-alias, --name and --project-id, with a worked example.
Create a new function.
## Usage
```bash
vf function create [flags]
```
## Examples
```bash
vf function create --project-id --environment-alias --name --code
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-c, --code string The JavaScript source code executed when the function runs. [required]
--description string A human-readable description of what the function does.
-e, --environment-alias string [required]
-h, --help help for create
-n, --name string [required]
-p, --project-id string [required]
-s, --settings string JSON object
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function](/docs/cli/commands/function) - Operations for function
# vf function delete - Delete function
Source: https://www.voiceflow.com/docs/cli/commands/function/delete
vf function delete: delete function. Requires --environment-alias, --function-id and --project-id, with a worked example.
Delete a function by ID.
## Usage
```bash
vf function delete [flags]
```
## Examples
```bash
vf function delete --function-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-f, --function-id string [required]
-h, --help help for delete
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function](/docs/cli/commands/function) - Operations for function
# vf function execute
Source: https://www.voiceflow.com/docs/cli/commands/function/execute
vf function execute: execute function. Requires --environment-alias, --function-id and --project-id, with a worked example.
Run a function once with the given inputs, without a conversation.
## Usage
```bash
vf function execute [flags]
```
## Examples
```bash
vf function execute --function-id --project-id --environment-alias
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-f, --function-id string [required]
-h, --help help for execute
-i, --inputs string A value for each of the function's input variables, keyed by input name. Every declared input needs a value, and a name the function does not declare is refused. List them with get_schema.
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function](/docs/cli/commands/function) - Operations for function
# vf function get - Get function
Source: https://www.voiceflow.com/docs/cli/commands/function/get
vf function get: get function. Requires --environment-alias, --function-id and --project-id, with a worked example.
Get a function by ID.
## Usage
```bash
vf function get [flags]
```
## Examples
```bash
vf function get --function-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-f, --function-id string [required]
-h, --help help for get
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function](/docs/cli/commands/function) - Operations for function
# vf function get-schema
Source: https://www.voiceflow.com/docs/cli/commands/function/get-schema
vf function get-schema: get function schema. Requires --environment-alias, --function-id and --project-id, with a worked example.
List the inputs, output variables and exit paths of a function, as execute takes and returns them.
## Usage
```bash
vf function get-schema [flags]
```
## Examples
```bash
vf function get-schema --function-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-f, --function-id string [required]
-h, --help help for get-schema
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function](/docs/cli/commands/function) - Operations for function
# vf function list - List functions
Source: https://www.voiceflow.com/docs/cli/commands/function/list
vf function list: list functions. Requires --environment-alias and --project-id, with a worked example.
List all functions by project ID.
## Usage
```bash
vf function list [flags]
```
## Examples
```bash
vf function list --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for list
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function](/docs/cli/commands/function) - Operations for function
# vf function path
Source: https://www.voiceflow.com/docs/cli/commands/function/path
vf function path: operations for function-path. Groups 5 subcommands: create, delete, get, list, update.
Operations for function-path.
## Usage
```bash
vf function path [flags]
```
## Flags
```text
-h, --help help for path
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function](/docs/cli/commands/function) - Operations for function
- [vf function path create](/docs/cli/commands/function/path/create) - Create path
- [vf function path delete](/docs/cli/commands/function/path/delete) - Delete path
- [vf function path get](/docs/cli/commands/function/path/get) - Get path
- [vf function path list](/docs/cli/commands/function/path/list) - List paths
- [vf function path update](/docs/cli/commands/function/path/update) - Update path
# vf function path create - Create path
Source: https://www.voiceflow.com/docs/cli/commands/function/path/create
vf function path create: create path. Requires --environment-alias, --function-id, --name and --project-id, with a worked example.
Create a new path.
## Usage
```bash
vf function path create [flags]
```
## Examples
```bash
vf function-path create --project-id --environment-alias --name --function-id
```
## Flags
```text
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-e, --environment-alias string [required]
-f, --function-id string The ID of the function this path belongs to. [required]
-h, --help help for create
-l, --label string The display label shown for this path in the Voiceflow UI; falls back to 'name' when null. (default "null")
-n, --name string The name of the exit path, referenced by the function code when returning which path to take. [required]
-p, --project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function path](/docs/cli/commands/function/path) - Operations for function-path
# vf function path delete - Delete path
Source: https://www.voiceflow.com/docs/cli/commands/function/path/delete
vf function path delete: delete path. Requires --environment-alias, --path-id and --project-id, with a worked example.
Delete a path by ID.
## Usage
```bash
vf function path delete [flags]
```
## Examples
```bash
vf function-path delete --path-id --project-id --environment-alias
```
## Flags
```text
-e, --environment-alias string [required]
-h, --help help for delete
--path-id string [required]
--project-id string [required]
```
## Global flags
These flags are inherited from the parent command and work on every invocation.
```text
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--token string Voiceflow bearer token
--usage Print the CLI Usage schema in KDL format
```
## See also
- [vf function path](/docs/cli/commands/function/path) - Operations for function-path
# vf function path get - Get path
Source: https://www.voiceflow.com/docs/cli/commands/function/path/get
vf function path get: get path. Requires --environment-alias, --path-id and --project-id, with a worked example.
Get a path by ID.
## Usage
```bash
vf function path get [flags]
```
## Examples
```bash
vf function-path get --path-id --project-id --environment-alias