Skip to main content
The Tazo API takes spoken audio and a question, and returns a typed answer with probabilities. You decide the question and the choices. Tazo decides which choice the speaker meant, and tells you how sure it is. Upload an audio file with POST /v1/decisions, or use streaming decisions to send audio over a WebSocket connection and receive answers as it arrives. Working with a coding agent? Install the Tazo agent skill to set up the Python SDK, build an integration, and verify decisions from audio.

Quickstart

Create an API key and make your first decision in a few minutes.

Authentication

Sign-in tokens, API keys, and which one each endpoint accepts.

Decisions

Question types, request shape, and how to read answers.

API reference

Every endpoint, with an interactive playground.

How it works

In the API, the prompt is state plus each question’s instructions, and the options are the question’s criteria. A request has three parts:
  • Audio: one audio file, up to 16 MiB (16,777,216 bytes), or live PCM audio over a WebSocket.
  • State: shared context for the decision, as a string, object, or list of strings.
  • Questions: up to ten questions for Tazo Large, each with an ID you choose. Tazo returns one answer under each ID for the same audio. See Multiple questions for examples and rollout availability.

An example

Say you are building a voice assistant. A user says, “What’s the weather in Paris?” Your app sends Tazo that audio clip, a line of context, and one question: “Which action should be taken?” along with the options Tazo can pick from:
  • Get the weather
  • Play music
  • Set a timer
  • Send a message
  • None of the above
Tazo listens and gives every option a probability, then picks the most likely one:
  • Get the weather: 92%
  • None of the above: 4%
  • Set a timer: 2%
  • Play music: 1%
  • Send a message: 1%
The weather option clearly won, with 92% confidence, so your app looks up the weather for Paris. If the user had said “Tell me a joke” instead, none of your four actions would fit. None of the above would win, and your app could handle it another way, such as replying directly.

Base URL

For live audio, connect to wss://api.tazolabs.com/v1/decisions/stream. All endpoints are under /v1, except /healthz. Fields may be added within v1, but existing fields and answer types are never renamed or removed. A breaking change ships as a new versioned endpoint.