ThoughtBox Voice API

The voice API from ThoughtBox — 5 operation(s) for voice.

GitHub OpenAPI

Operations 6

GET /api/voice/voices Voices #
GET /api/voice/settings Get Voice Setting #
PUT /api/voice/settings Set Voice Setting #
POST /api/voice/speak Speak #
POST /api/voice/finished Finished #
POST /api/voice/trace Trace #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thoughtbox-ai:thoughtbox-ai-voice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thoughtbox-ai-voice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThoughtBox Voice API
  description: Document proxy and AI chat platform with MCP support
  version: 0.1.0
tags:
- name: Voice
paths:
  /api/voice/voices:
    get:
      tags:
      - Voice
      summary: Voices
      description: The voices a user can pick for ThoughtBox and each advisor.
      operationId: voices_api_voice_voices_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Voices Api Voice Voices Get
      security:
      - HTTPBearer: []
  /api/voice/settings:
    get:
      tags:
      - Voice
      summary: Get Voice Setting
      operationId: get_voice_setting_api_voice_settings_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Get Voice Setting Api Voice Settings Get
      security:
      - HTTPBearer: []
    put:
      tags:
      - Voice
      summary: Set Voice Setting
      description: ThoughtBox's voice for this user (one of /voices), and how fast it reads (one of SPEEDS). Either or both.
      operationId: set_voice_setting_api_voice_settings_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VoiceSetting'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Set Voice Setting Api Voice Settings Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/voice/speak:
    post:
      tags:
      - Voice
      summary: Speak
      description: The text as MP3, in the voice asked for or the user's own.
      operationId: speak_api_voice_speak_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpeakRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/voice/finished:
    post:
      tags:
      - Voice
      summary: Finished
      description: '#454 hands-free: after a pause, has the speaker finished, and was it said to the assistant? Judgment, so the

        model''s (CLAUDE.md), not a number of seconds or a wake word. {"finished": bool, "for_assistant": bool}: the page

        sends only what''s both, and drops talk between people unsent. The decision and word count are logged, never the

        words (hands-free can hear people who aren''t talking to ThoughtBox).'
      operationId: finished_api_voice_finished_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FinishedCheck'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Finished Api Voice Finished Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/voice/trace:
    post:
      tags:
      - Voice
      summary: Trace
      description: 'Dale''s drive (11-22): conversation mode stopped listening after an answer, with no error and the page in front,

        and nothing in the logs could say why. The page reports each change of its hands-free state here (state and

        flags, no words), logged as [hf] with the user''s sub.'
      operationId: trace_api_voice_trace_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandsFreeTrace'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    SpeakRequest:
      properties:
        text:
          type: string
          maxLength: 3000
          minLength: 1
          title: Text
        voice:
          anyOf:
          - type: string
            pattern: ^[A-Za-z]{2,20}$
          - type: 'null'
          title: Voice
      type: object
      required:
      - text
      title: SpeakRequest
    FinishedCheck:
      properties:
        text:
          type: string
          maxLength: 4000
          minLength: 1
          title: Text
        last_answer:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Last Answer
        stopped:
          type: boolean
          title: Stopped
          default: false
      type: object
      required:
      - text
      title: FinishedCheck
    VoiceSetting:
      properties:
        voice:
          anyOf:
          - type: string
            pattern: ^[A-Za-z]{2,20}$
          - type: 'null'
          title: Voice
        speed:
          anyOf:
          - type: number
          - type: 'null'
          title: Speed
        read_brief_aloud:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Read Brief Aloud
        brief_music:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Brief Music
      type: object
      title: VoiceSetting
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    HandsFreeTrace:
      properties:
        state:
          type: string
          maxLength: 20
          title: State
        flags:
          additionalProperties:
            anyOf:
            - type: boolean
            - type: string
          type: object
          title: Flags
      type: object
      required:
      - state
      title: HandsFreeTrace
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer