BrainstormRouter Tenant Kms API

The tenant_kms API from BrainstormRouter — 2 operation(s) for tenant_kms.

Operations 4

DELETE /auth/tenant/kms Clear the tenant's KMS config (existing keys still decrypt via row-level ARNs) #
GET /auth/tenant/kms Get the tenant's KMS configuration #
PUT /auth/tenant/kms Set the tenant's KMS ARNs (kmsArn required) #
POST /auth/tenant/kms/validate Round-trip a test plaintext through the supplied KMS config #

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-tenant-kms-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-tenant-kms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BrainstormRouter Tenant Kms 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: tenant_kms
paths:
  /auth/tenant/kms:
    delete:
      operationId: authTenantKmsDelete
      summary: Clear the tenant's KMS config (existing keys still decrypt via row-level ARNs)
      tags:
      - tenant_kms
      x-br-capability-id: auth.tenant.kms.delete
      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:
      - SupabaseJwt: []
    get:
      operationId: authTenantKmsGet
      summary: Get the tenant's KMS configuration
      tags:
      - tenant_kms
      x-br-capability-id: auth.tenant.kms.get
      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:
      - SupabaseJwt: []
    put:
      operationId: authTenantKmsPut
      summary: Set the tenant's KMS ARNs (kmsArn required)
      tags:
      - tenant_kms
      x-br-capability-id: auth.tenant.kms.put
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties:
                kmsArn:
                  type: string
                roleArn:
                  type: string
                externalId:
                  type: string
              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:
      - SupabaseJwt: []
  /auth/tenant/kms/validate:
    post:
      operationId: authTenantKmsValidate
      summary: Round-trip a test plaintext through the supplied KMS config
      tags:
      - tenant_kms
      x-br-capability-id: auth.tenant.kms.validate
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties:
                kmsArn:
                  type: string
                roleArn:
                  type: string
                externalId:
                  type: string
              required:
              - kmsArn
              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:
      - SupabaseJwt: []
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)