BrainstormRouter Workspace API
The workspace API from BrainstormRouter — 2 operation(s) for workspace.
The workspace API from BrainstormRouter — 2 operation(s) for workspace.
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-workspace-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 Workspace 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: Workspace
paths:
/auth/workspace/files:
get:
operationId: workspaceFilesList
summary: List workspace filenames for the caller's agent scope
tags:
- Workspace
x-br-capability-id: workspace.files.list
x-br-version: v1
parameters:
- name: agentId
in: query
required: false
schema:
type: string
- name: prefix
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
properties:
files:
type: array
items:
type: string
agentId:
type: string
required:
- files
- agentId
additionalProperties: false
security:
- SupabaseJwt: []
/auth/workspace/files/{filename}:
delete:
operationId: workspaceFilesDelete
summary: Delete a workspace file
tags:
- Workspace
x-br-capability-id: workspace.files.delete
x-br-version: v1
parameters:
- name: filename
in: path
required: true
schema:
type: string
- name: agentId
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
properties:
ok:
type: boolean
deleted:
type: string
agentId:
type: string
required:
- ok
- deleted
- agentId
additionalProperties: false
security:
- SupabaseJwt: []
get:
operationId: workspaceFilesRead
summary: Read a workspace file
tags:
- Workspace
x-br-capability-id: workspace.files.read
x-br-version: v1
parameters:
- name: filename
in: path
required: true
schema:
type: string
- name: agentId
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
properties:
filename:
type: string
content:
type: string
contentHash:
anyOf:
- type: string
- type: 'null'
updatedAt:
type: string
agentId:
type: string
required:
- filename
- content
- contentHash
- updatedAt
- agentId
additionalProperties: false
security:
- SupabaseJwt: []
put:
operationId: workspaceFilesWrite
summary: Create or update a workspace file
tags:
- Workspace
x-br-capability-id: workspace.files.write
x-br-version: v1
parameters:
- name: filename
in: path
required: true
schema:
type: string
- name: agentId
in: query
required: false
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$schema: http://json-schema.org/draft-07/schema#
type: object
properties:
content:
type: string
required:
- content
additionalProperties: false
responses:
'200':
description: Success
content:
application/json:
schema:
$schema: http://json-schema.org/draft-07/schema#
type: object
properties:
ok:
type: boolean
filename:
type: string
agentId:
type: string
required:
- ok
- filename
- agentId
additionalProperties: false
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)