BrainstormRouter Pdp API

The pdp API from BrainstormRouter — 3 operation(s) for pdp.

Operations 3

POST /auth/governance/scope-check Dry multi-source scope composition (per-source lanes, no enforcement side… #
POST /auth/grants/{id}/check Signed PDP verdict for a principal + requested scope (the dashboard simulator) #
POST /v1/grants/{id}/check Standalone PDP: signed allow/deny verdict for a principal + requested scope #

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-pdp-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-pdp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BrainstormRouter Pdp 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: pdp
paths:
  /auth/governance/scope-check:
    post:
      operationId: authGovernanceScope_check
      summary: Dry multi-source scope composition (per-source lanes, no enforcement side…
      tags:
      - pdp
      x-br-capability-id: auth.governance.scope_check
      x-br-version: v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties:
                requested:
                  type: object
                  properties:
                    models:
                      minItems: 1
                      type: array
                      items:
                        type: string
                  required:
                  - models
                  additionalProperties: false
                sources:
                  type: object
                  properties:
                    api_key:
                      type: array
                      items:
                        type: string
                    br_scope:
                      type: array
                      items:
                        type: string
                    plan:
                      type: array
                      items:
                        type: string
                    delegation:
                      type: array
                      items:
                        type: string
                  additionalProperties: false
              required:
              - requested
              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/grants/{id}/check:
    post:
      operationId: authGrantsCheck
      summary: Signed PDP verdict for a principal + requested scope (the dashboard simulator)
      tags:
      - pdp
      x-br-capability-id: auth.grants.check
      x-br-version: v1
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties:
                principal:
                  type: string
                  minLength: 1
                requested:
                  type: object
                  properties:
                    models:
                      type: array
                      items:
                        type: string
                    tools:
                      type: array
                      items:
                        type: string
                  additionalProperties: false
              required:
              - principal
              - requested
              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: []
  /v1/grants/{id}/check:
    post:
      operationId: grantsCheck
      summary: 'Standalone PDP: signed allow/deny verdict for a principal + requested scope'
      tags:
      - pdp
      x-br-capability-id: grants.check
      x-br-version: v1
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          description: Grant id (the leaf to evaluate)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: http://json-schema.org/draft-07/schema#
              type: object
              properties:
                principal:
                  type: string
                  minLength: 1
                  description: Subject principal URI being authorized
                requested:
                  type: object
                  properties:
                    models:
                      type: array
                      items:
                        type: string
                    tools:
                      type: array
                      items:
                        type: string
                  additionalProperties: false
              required:
              - principal
              - requested
              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: []
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)