ThoughtBox Dashboard API
The dashboard API from ThoughtBox — 16 operation(s) for dashboard.
The dashboard API from ThoughtBox — 16 operation(s) for dashboard.
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/thoughtbox-ai:thoughtbox-ai-dashboard-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: ThoughtBox Dashboard API
description: Document proxy and AI chat platform with MCP support
version: 0.1.0
tags:
- name: Dashboard
paths:
/api/dashboard/map:
get:
tags:
- Dashboard
summary: Get Map
description: 'thoughtbox#474: whether the Dashboard page shows The Map for this user.'
operationId: get_map_api_dashboard_map_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MapSetting'
security:
- HTTPBearer: []
put:
tags:
- Dashboard
summary: Put Map
description: 'The Account page''s switch. Turning it off keeps the brief''s tiles and
their places; they''re just not listed until it''s on again.'
operationId: put_map_api_dashboard_map_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MapSetting'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MapSetting'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/dashboard/map/view:
put:
tags:
- Dashboard
summary: Put Map View
description: 'thoughtbox#612: remember Canvas or Grid, and where the canvas was panned and zoomed.'
operationId: put_map_view_api_dashboard_map_view_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MapViewRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MapSetting'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/dashboard/map/hidden:
get:
tags:
- Dashboard
summary: Hidden Map Tiles
description: 'The brief and card tiles this user hid from The Map, to put back: from this space''s Map (#812).'
operationId: hidden_map_tiles_api_dashboard_map_hidden_get
security:
- HTTPBearer: []
parameters:
- name: space
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Space
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TileOut'
title: Response Hidden Map Tiles Api Dashboard Map Hidden Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard/{tile_id}/show:
post:
tags:
- Dashboard
summary: Show Map Tile
description: 'Puts a hidden brief or card tile back on The Map, where it was, unless
a tile has been moved into that spot since: then it goes to the first
free one, as a tile that was never moved does.'
operationId: show_map_tile_api_dashboard__tile_id__show_post
security:
- HTTPBearer: []
parameters:
- name: tile_id
in: path
required: true
schema:
type: string
title: Tile Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TileOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard/map/on:
get:
tags:
- Dashboard
summary: On Map
description: 'What''s on the dashboard now (#197, #748): {enabled, sources, cards}, for the brief''s "Put on The
Map" buttons. enabled is The Map''s switch, which only changes the button''s words: with it off the
card goes on the Dashboard. With it on, only the open space''s Map (#812; Home when none, or when it
was deleted), so a card on another space''s Map can be put here, which moves its one tile.'
operationId: on_map_api_dashboard_map_on_get
security:
- HTTPBearer: []
parameters:
- name: space_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Space Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response On Map Api Dashboard Map On Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard/map/put:
post:
tags:
- Dashboard
summary: Put On Map
description: '"Put on The Map" (#197) from any card of a brief: its tile, made the first time, or shown
again if it was hidden. With The Map off it goes on the Dashboard (#748).'
operationId: put_on_map_api_dashboard_map_put_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PutOnMap'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TileOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/dashboard/{tile_id}/glance:
get:
tags:
- Dashboard
summary: Tile Glance
description: A glance tile's glance (#197). Nothing is worked out again here; see /glance/refresh.
operationId: tile_glance_api_dashboard__tile_id__glance_get
security:
- HTTPBearer: []
parameters:
- name: tile_id
in: path
required: true
schema:
type: string
title: Tile Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Tile Glance Api Dashboard Tile Id Glance Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Dashboard
summary: Pick Tile Glance
description: 'What a glance tile shows: one of the options its glance offers.'
operationId: pick_tile_glance_api_dashboard__tile_id__glance_put
security:
- HTTPBearer: []
parameters:
- name: tile_id
in: path
required: true
schema:
type: string
title: Tile Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GlancePick'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Pick Tile Glance Api Dashboard Tile Id Glance Put
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard/{tile_id}/glance/refresh:
post:
tags:
- Dashboard
summary: Refresh Tile Glance
description: 'A stale saved card''s glance, worked out again (a run in the analysis jail) and returned. Any
other card is read live on every look anyway, so this is the same as looking.'
operationId: refresh_tile_glance_api_dashboard__tile_id__glance_refresh_post
security:
- HTTPBearer: []
parameters:
- name: tile_id
in: path
required: true
schema:
type: string
title: Tile Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Refresh Tile Glance Api Dashboard Tile Id Glance Refresh Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard:
get:
tags:
- Dashboard
summary: List Tiles
description: '?map=true is The Map (thoughtbox#474): for a user with it on, the brief
and each card on it come as tiles too. Every other caller (the old
Dashboard, chat''s dashboard panel) gets only the tiles it always has.
space (#812): which space''s Map, Home when none; The Map off ignores it.'
operationId: list_tiles_api_dashboard_get
security:
- HTTPBearer: []
parameters:
- name: map
in: query
required: false
schema:
type: boolean
default: false
title: Map
- name: space
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Space
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TileOut'
title: Response List Tiles Api Dashboard Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Dashboard
summary: Create Tile
operationId: create_tile_api_dashboard_post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateTileRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TileOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard/{tile_id}:
patch:
tags:
- Dashboard
summary: Update Tile
operationId: update_tile_api_dashboard__tile_id__patch
security:
- HTTPBearer: []
parameters:
- name: tile_id
in: path
required: true
schema:
type: string
title: Tile Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateTileRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TileOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Dashboard
summary: Delete Tile
operationId: delete_tile_api_dashboard__tile_id__delete
security:
- HTTPBearer: []
parameters:
- name: tile_id
in: path
required: true
schema:
type: string
title: Tile Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard/layout:
put:
tags:
- Dashboard
summary: Update Layout
description: 'Bulk-persist a freeform grid arrangement — one request per drag/resize
stop (debounced client-side), not one PATCH per tile, since a single
drag with collision resolution active can move several tiles at once.
Must return a JSON body, never 204 — apiFetch (lib/api.ts) unconditionally
calls res.json() on the response.'
operationId: update_layout_api_dashboard_layout_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LayoutRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/dashboard/canvas:
put:
tags:
- Dashboard
summary: Update Canvas
description: 'The Map''s open canvas (thoughtbox#612): save where tiles sit and how big
they are, in pixels, one request per drag or resize (debounced client-side).
The grid''s own cells (grid_*) are left alone: the Dashboard without The Map
still uses them.
A tile''s size class still follows its size, through the nearest grid
footprint (canvas_cells), so a widget is re-made for its new size as on
the grid, and can''t be made smaller than its type''s minimum.'
operationId: update_canvas_api_dashboard_canvas_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CanvasRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/dashboard/{tile_id}/run:
post:
tags:
- Dashboard
summary: Run Tile
description: 'Execute a tile''s prompt against live data and return the AI response.
A legacy tile (widget_type IS NULL) always runs fresh — this endpoint''s
original behavior, untouched. A typed tile''s content is cached: a plain
call returns it if generated within DASHBOARD_STALE_AFTER, ?force=true
(or missing/errored content) always regenerates.'
operationId: run_tile_api_dashboard__tile_id__run_post
security:
- HTTPBearer: []
parameters:
- name: tile_id
in: path
required: true
schema:
type: string
title: Tile Id
- name: force
in: query
required: false
schema:
type: boolean
default: false
title: Force
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard/preview:
post:
tags:
- Dashboard
summary: Create Tile Preview Route
operationId: create_tile_preview_route_api_dashboard_preview_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PreviewCreateRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/dashboard/preview/{preview_id}:
get:
tags:
- Dashboard
summary: Get Tile Preview Route
operationId: get_tile_preview_route_api_dashboard_preview__preview_id__get
security:
- HTTPBearer: []
parameters:
- name: preview_id
in: path
required: true
schema:
type: string
title: Preview Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/dashboard/preview/{preview_id}/commit:
post:
tags:
- Dashboard
summary: Commit Tile Preview
operationId: commit_tile_preview_api_dashboard_preview__preview_id__commit_post
security:
- HTTPBearer: []
parameters:
- name: preview_id
in: path
required: true
schema:
type: string
title: Preview Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PreviewCommitRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TileOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
PreviewCreateRequest:
properties:
title:
type: string
title: Title
prompt:
type: string
title: Prompt
widget_type:
type: string
title: Widget Type
needs_data:
type: boolean
title: Needs Data
default: true
type: object
required:
- title
- prompt
- widget_type
title: PreviewCreateRequest
PreviewCommitRequest:
properties:
size:
type: string
title: Size
space_id:
anyOf:
- type: string
- type: 'null'
title: Space Id
type: object
required:
- size
title: PreviewCommitRequest
TileOut:
properties:
id:
type: string
title: Id
title:
type: string
title: Title
prompt:
anyOf:
- type: string
- type: 'null'
title: Prompt
sandbox_artifact_id:
anyOf:
- type: string
- type: 'null'
title: Sandbox Artifact Id
icon:
anyOf:
- type: string
- type: 'null'
title: Icon
data_sources:
items:
type: string
type: array
title: Data Sources
renderer:
type: string
title: Renderer
size:
type: string
title: Size
position:
type: integer
title: Position
created_at:
type: string
title: Created At
updated_at:
type: string
title: Updated At
widget_type:
anyOf:
- type: string
- type: 'null'
title: Widget Type
content:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Content
content_generated_at:
anyOf:
- type: string
- type: 'null'
title: Content Generated At
content_error:
anyOf:
- type: string
- type: 'null'
title: Content Error
needs_data:
type: boolean
title: Needs Data
grid_x:
anyOf:
- type: integer
- type: 'null'
title: Grid X
grid_y:
anyOf:
- type: integer
- type: 'null'
title: Grid Y
grid_w:
anyOf:
- type: integer
- type: 'null'
title: Grid W
grid_h:
anyOf:
- type: integer
- type: 'null'
title: Grid H
canvas_x:
anyOf:
- type: integer
- type: 'null'
title: Canvas X
canvas_y:
anyOf:
- type: integer
- type: 'null'
title: Canvas Y
canvas_w:
anyOf:
- type: integer
- type: 'null'
title: Canvas W
canvas_h:
anyOf:
- type: integer
- type: 'null'
title: Canvas H
brief_card_id:
anyOf:
- type: string
- type: 'null'
title: Brief Card Id
source:
anyOf:
- type: string
- type: 'null'
title: Source
space_id:
anyOf:
- type: string
- type: 'null'
title: Space Id
type: object
required:
- id
- title
- prompt
- sandbox_artifact_id
- icon
- data_sources
- renderer
- size
- position
- created_at
- updated_at
- widget_type
- content
- content_generated_at
- content_error
- needs_data
- grid_x
- grid_y
- grid_w
- grid_h
title: TileOut
GlancePick:
properties:
pick:
type: string
title: Pick
type: object
required:
- pick
title: GlancePick
CanvasRequest:
properties:
tiles:
items:
$ref: '#/components/schemas/CanvasItem'
type: array
title: Tiles
type: object
required:
- tiles
title: CanvasRequest
CanvasItem:
properties:
id:
type: string
title: Id
x:
type: integer
maximum: 2147483647.0
minimum: -2147483647.0
title: X
y:
type: integer
maximum: 2147483647.0
minimum: -2147483647.0
title: Y
w:
type: integer
maximum: 2147483647.0
minimum: 1.0
title: W
h:
type: integer
maximum: 2147483647.0
minimum: 1.0
title: H
type: object
required:
- id
- x
- y
- w
- h
title: CanvasItem
LayoutItem:
properties:
id:
type: string
title: Id
x:
type: integer
title: X
y:
type: integer
title: Y
w:
type: integer
title: W
h:
type: integer
title: H
type: object
required:
- id
- x
- y
- w
- h
title: LayoutItem
MapSetting:
properties:
enabled:
type: boolean
title: Enabled
view:
type: string
enum:
- canvas
- grid
title: View
default: canvas
viewport:
anyOf:
- $ref: '#/components/schemas/MapViewport'
- type: 'null'
type: object
required:
- enabled
title: MapSetting
PutOnMap:
properties:
brief_id:
anyOf:
- type: string
- type: 'null'
title: Brief Id
card:
additionalProperties: true
type: object
title: Card
space_id:
anyOf:
- type: string
- type: 'null'
title: Space Id
type: object
required:
- card
title: PutOnMap
description: 'A card of a brief, as the brief''s share button names it (#681): {kind, id?, index?, feed_id?,
item_id?}. An analysis is its saved card; anything else becomes a glance of that card.
brief_id: the brief it''s on; none for a saved card in chat, which is found by its id (#780).'
MapViewport:
properties:
x:
type: number
title: X
y:
type: number
title: Y
zoom:
type: number
title: Zoom
type: object
required:
- x
- y
- zoom
title: MapViewport
LayoutRequest:
properties:
tiles:
items:
$ref: '#/components/schemas/LayoutItem'
type: array
title: Tiles
type: object
required:
- tiles
title: LayoutRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
MapViewRequest:
properties:
view:
anyOf:
- type: string
enum:
- canvas
- grid
- type: 'null'
title: View
viewport:
anyOf:
- $ref: '#/components/schemas/MapViewport'
- type: 'null'
space:
anyOf:
- type: string
- type: 'null'
title: Space
type: object
title: MapViewRequest
description: 'Either or both: The Map''s view, and the canvas''s pan and zoom. space (#812): whose pan and zoom; none
is Home''s.'
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
UpdateTileRequest:
properties:
title:
anyOf:
- type: string
- type: 'null'
title: Title
prompt:
anyOf:
- type: string
- type: 'null'
title: Prompt
position:
anyOf:
- type: integer
- type: 'null'
title: Position
renderer:
anyOf:
- type: string
- type: 'null'
title: Renderer
size:
anyOf:
- type: string
- type: 'null'
title: Size
widget_type:
anyOf:
- type: string
- type: 'null'
title: Widget Type
needs_data:
anyOf:
- type: boolean
- type: 'null'
title: Needs Data
type: object
title: UpdateTileRequest
CreateTileRequest:
properties:
title:
anyOf:
- type: string
- type: 'null'
title: Title
prompt:
anyOf:
- type: string
- type: 'null'
title: Prompt
sandbox_artifact_id:
anyOf:
- type: string
- type: 'null'
title: Sandbox Artifact Id
data_sources:
items:
type: string
type: array
title: Data Sources
default: []
renderer:
type: string
title: Renderer
default: mermaid
size:
type: string
title: Size
default: medium
position:
type: integer
title: Position
default: 0
widget_type:
anyOf:
- type: string
- type: 'null'
title: Widget Type
needs_data:
type: boolean
title: Needs Data
default: true
space_id:
anyOf:
- type: string
- type: 'null'
title: Space Id
type: object
title: CreateTileRequest
securitySchemes:
HTTPBearer:
type: http
scheme: bearer