BrainstormRouter Completions API

The completions API from BrainstormRouter — 6 operation(s) for completions.

Operations 7

POST /v1/audio/speech OpenAI-compatible TTS (binary audio response) #
POST /v1/audio/transcriptions OpenAI-compatible audio transcription (Whisper, multipart upload) #
POST /v1/chat/completions OpenAI-compatible chat completions — streaming + non-streaming, full… #
POST /v1/embeddings OpenAI-compatible embeddings endpoint (routed through BR provider catalog) #
POST /v1/images/generations OpenAI-compatible image generation (proxied to provider) #
GET /v1/messages Token-validation probe for Anthropic-compatible clients (Claude for… #
POST /v1/messages Anthropic-compatible messages endpoint — translates body to OpenAI format, runs… #

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/brainstormrouter-com:brainstormrouter-com-completions-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

brainstormrouter-com-completions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BrainstormRouter Completions API
  version: 1.0.0
  description: 'Autonomous AI API Engine — multi-tenant gateway that intelligently routes

    AI traffic across providers with built-in memory, cost optimization, and

    autonomous background processing.


    All `/v1/*` endpoints require an API key via `Authorization: Bearer `.'
  contact:
    name: BrainstormRouter
    url: https://brainstormrouter.com
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
- url: https://api.brainstormrouter.com
  description: Production
security:
- BearerAuth: []
tags:
- name: Completions
paths:
  /v1/audio/speech:
    post:
      operationId: audioSpeech
      summary: OpenAI-compatible TTS (binary audio response)
      tags:
      - Completions
      x-br-capability-id: audio.speech
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties:
                model:
                  default: tts-1
                  type: string
                input:
                  type: string
                  minLength: 1
                  maxLength: 4096
                voice:
                  default: alloy
                  type: string
                  enum:
                  - alloy
                  - echo
                  - fable
                  - onyx
                  - nova
                  - shimmer
                response_format:
                  default: mp3
                  type: string
                  enum:
                  - mp3
                  - opus
                  - aac
                  - flac
                  - wav
                  - pcm
                speed:
                  default: 1
                  type: number
                  minimum: 0.25
                  maximum: 4
              required:
              - model
              - input
              - voice
              - response_format
              - speed
              additionalProperties: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                propertyNames:
                  type: string
                additionalProperties: {}
      security:
      - BearerAuth: []
  /v1/audio/transcriptions:
    post:
      operationId: audioTranscribe
      summary: OpenAI-compatible audio transcription (Whisper, multipart upload)
      tags:
      - Completions
      x-br-capability-id: audio.transcribe
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                propertyNames:
                  type: string
                additionalProperties: {}
      security:
      - BearerAuth: []
  /v1/chat/completions:
    post:
      operationId: completionsCreate
      summary: OpenAI-compatible chat completions — streaming + non-streaming, full…
      tags:
      - Completions
      x-br-capability-id: completions.create
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties: {}
              additionalProperties: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                propertyNames:
                  type: string
                additionalProperties: {}
        '400':
          description: provider.only / provider.ignore cannot be enforced in agentic or swarm mode — multi-model orchestration selects its own models. The request is refused rather than run with the filter ignored.
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        const: invalid_request_error
                      code:
                        type: string
                        const: provider_filter_unsupported_mode
                    required:
                    - message
                    - type
                    - code
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '403':
          description: A post-selection path (BYOK fallback cascade) resolved an endpoint outside the request's provider filter. The request is refused at the execution boundary rather than transmitting content to an excluded provider.
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        const: provider_filter_violation
                      code:
                        type: string
                        const: provider_filter_violation
                      provider:
                        type: string
                      allowed_providers:
                        anyOf:
                        - type: array
                          items:
                            type: string
                        - type: 'null'
                      denied_providers:
                        anyOf:
                        - type: array
                          items:
                            type: string
                        - type: 'null'
                    required:
                    - message
                    - type
                    - code
                    - provider
                    - allowed_providers
                    - denied_providers
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
      security:
      - BearerAuth: []
  /v1/embeddings:
    post:
      operationId: embeddingsCreate
      summary: OpenAI-compatible embeddings endpoint (routed through BR provider catalog)
      tags:
      - Completions
      x-br-capability-id: embeddings.create
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                propertyNames:
                  type: string
                additionalProperties: {}
      security:
      - BearerAuth: []
  /v1/images/generations:
    post:
      operationId: imagesGenerate
      summary: OpenAI-compatible image generation (proxied to provider)
      tags:
      - Completions
      x-br-capability-id: images.generate
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties:
                prompt:
                  type: string
                  minLength: 1
                model:
                  default: dall-e-3
                  type: string
                n:
                  default: 1
                  type: integer
                  minimum: 1
                  maximum: 10
                size:
                  default: 1024x1024
                  type: string
                quality:
                  default: standard
                  type: string
                response_format:
                  default: url
                  type: string
                style:
                  default: vivid
                  type: string
              required:
              - prompt
              - model
              - n
              - size
              - quality
              - response_format
              - style
              additionalProperties: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                propertyNames:
                  type: string
                additionalProperties: {}
      security:
      - BearerAuth: []
  /v1/messages:
    get:
      operationId: completionsMessagesHealth
      summary: Token-validation probe for Anthropic-compatible clients (Claude for…
      tags:
      - Completions
      x-br-capability-id: completions.messages.health
      x-br-version: v1
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                propertyNames:
                  type: string
                additionalProperties: {}
      security:
      - BearerAuth: []
    post:
      operationId: completionsMessagesCreate
      summary: Anthropic-compatible messages endpoint — translates body to OpenAI format, runs…
      tags:
      - Completions
      x-br-capability-id: completions.messages.create
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties: {}
              additionalProperties: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                propertyNames:
                  type: string
                additionalProperties: {}
      security:
      - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key (e.g. `br_live_...`)
    SupabaseJWT:
      type: http
      scheme: bearer
      description: Supabase JWT token (dashboard auth)