BrainstormRouter Logs API
The logs API from BrainstormRouter — 5 operation(s) for logs.
The logs API from BrainstormRouter — 5 operation(s) for logs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/brainstormrouter-com:brainstormrouter-com-logs-api"
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.
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: 3.2.0
info:
title: BrainstormRouter Logs 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: Logs
paths:
/auth/logs:
get:
operationId: authLogsList
summary: Paginated request log listing (provider/model/status/search filters)
tags:
- Logs
x-br-capability-id: auth.logs.list
x-br-version: v1
parameters:
- name: provider
in: query
required: false
schema:
type: string
- name: model
in: query
required: false
schema:
type: string
- name: status
in: query
required: false
schema:
type: string
- name: search
in: query
required: false
schema:
type: string
- name: cursor
in: query
required: false
schema:
type: string
- name: limit
in: query
required: false
schema:
type: string
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/logs/{requestId}:
get:
operationId: authLogsDetail
summary: Single request log detail
tags:
- Logs
x-br-capability-id: auth.logs.detail
x-br-version: v1
parameters:
- name: requestId
in: path
required: true
schema:
type: string
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/logs/{requestId}/content:
get:
operationId: authLogsContent
summary: Replay request/response content (opt-in via tenant content-logging flag)
tags:
- Logs
x-br-capability-id: auth.logs.content
x-br-version: v1
parameters:
- name: requestId
in: path
required: true
schema:
type: string
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/logs/{requestId}/rewrite:
get:
operationId: authLogsRewrite
summary: Poll for an async prompt-rewrite suggestion for a flagged request
tags:
- Logs
x-br-capability-id: auth.logs.rewrite
x-br-version: v1
parameters:
- name: requestId
in: path
required: true
schema:
type: string
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/logs/{requestId}/trace:
get:
operationId: authLogsTrace
summary: Decision trace (Thompson-sampling routing breakdown) for a request
tags:
- Logs
x-br-capability-id: auth.logs.trace
x-br-version: v1
parameters:
- name: requestId
in: path
required: true
schema:
type: string
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)