dialogbrain-com Billing Tts API

The billing-tts API from dialogbrain-com — 3 operation(s) for billing-tts.

Operations 4

GET /api/billing/tts-keys Get Tts Keys #
PUT /api/billing/tts-keys/{provider} Put Tts Key #
DELETE /api/billing/tts-keys/{provider} Delete Tts Key #
PATCH /api/billing/tts-keys/{provider}/workspaces/{workspace_id} Patch Workspace Toggle #

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/dialogbrain-com:dialogbrain-com-billing-tts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

dialogbrain-com-billing-tts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DialogBrain v2 API Gateway Billing Tts API
  description: Clean refactored API gateway with minimal vertical slice
  version: 0.1.0
tags:
- name: billing-tts
paths:
  /api/billing/tts-keys:
    get:
      tags:
      - billing-tts
      summary: Get Tts Keys
      operationId: get_tts_keys_api_billing_tts_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TtsKeyListResponse'
  /api/billing/tts-keys/{provider}:
    put:
      tags:
      - billing-tts
      summary: Put Tts Key
      operationId: put_tts_key_api_billing_tts_keys__provider__put
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TtsKeyUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TtsKeyState'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - billing-tts
      summary: Delete Tts Key
      operationId: delete_tts_key_api_billing_tts_keys__provider__delete
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/tts-keys/{provider}/workspaces/{workspace_id}:
    patch:
      tags:
      - billing-tts
      summary: Patch Workspace Toggle
      operationId: patch_workspace_toggle_api_billing_tts_keys__provider__workspaces__workspace_id__patch
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      - name: workspace_id
        in: path
        required: true
        schema:
          type: integer
          title: Workspace Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceTtsToggleRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceTtsBYOKItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TtsKeyState:
      properties:
        provider:
          type: string
          title: Provider
        label:
          type: string
          title: Label
        has_key:
          type: boolean
          title: Has Key
        masked_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Masked Key
        last_uploaded_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Uploaded At
      type: object
      required:
      - provider
      - label
      - has_key
      title: TtsKeyState
      description: One provider's BYOK status for the calling user.
    TtsKeyUpdateRequest:
      properties:
        api_key:
          type: string
          format: password
          title: Api Key
          writeOnly: true
      type: object
      required:
      - api_key
      title: TtsKeyUpdateRequest
    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
    WorkspaceTtsToggleRequest:
      properties:
        enabled:
          type: boolean
          title: Enabled
      type: object
      required:
      - enabled
      title: WorkspaceTtsToggleRequest
    TtsKeyListResponse:
      properties:
        providers:
          items:
            $ref: '#/components/schemas/TtsKeyState'
          type: array
          title: Providers
        workspace_toggles:
          items:
            $ref: '#/components/schemas/WorkspaceTtsBYOKItem'
          type: array
          title: Workspace Toggles
      type: object
      required:
      - providers
      - workspace_toggles
      title: TtsKeyListResponse
      description: 'GET /api/billing/tts-keys — every provider''s status for the user

        plus the per-workspace toggle matrix the UI renders.'
    WorkspaceTtsBYOKItem:
      properties:
        workspace_id:
          type: integer
          title: Workspace Id
        workspace_name:
          type: string
          title: Workspace Name
        enabled_by_provider:
          additionalProperties:
            type: boolean
          type: object
          title: Enabled By Provider
      type: object
      required:
      - workspace_id
      - workspace_name
      - enabled_by_provider
      title: WorkspaceTtsBYOKItem