ThoughtBox Sandbox Data API

The sandbox-data API from ThoughtBox — 4 operation(s) for sandbox-data.

GitHub OpenAPI

Operations 4

GET /api/sandbox/ List Sandbox Apps #
GET /api/sandbox/{id} Get Sandbox App For Iframe #
PUT /api/sandbox/{id}/storage Set Sandbox App Storage #
POST /api/sandbox/{id}/ai-ask Sandbox App Ai Ask #

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/thoughtbox-ai:thoughtbox-ai-sandbox-data-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. 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 Specification

thoughtbox-ai-sandbox-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThoughtBox Sandbox Data API
  description: Document proxy and AI chat platform with MCP support
  version: 0.1.0
tags:
- name: sandbox-data
paths:
  /api/sandbox/:
    get:
      tags:
      - sandbox-data
      summary: List Sandbox Apps
      operationId: list_sandbox_apps_api_sandbox__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxListResponse'
      security:
      - HTTPBearer: []
  /api/sandbox/{id}:
    get:
      tags:
      - sandbox-data
      summary: Get Sandbox App For Iframe
      description: 'Fetch an app''s HTML plus its saved storage, pre-wrapped with the same

        sandboxed runtime shim the MCP widget uses — ready to drop straight into

        an iframe''s srcdoc, no client-side wrapping logic needed.'
      operationId: get_sandbox_app_for_iframe_api_sandbox__id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          title: Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxAppResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sandbox/{id}/storage:
    put:
      tags:
      - sandbox-data
      summary: Set Sandbox App Storage
      operationId: set_sandbox_app_storage_api_sandbox__id__storage_put
      security:
      - HTTPBearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          title: Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetStorageRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetStorageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sandbox/{id}/ai-ask:
    post:
      tags:
      - sandbox-data
      summary: Sandbox App Ai Ask
      description: 'id is accepted (and the app''s existence/ownership implicitly checked

        below) for a consistent per-app REST surface, even though the underlying

        sandbox_ai_ask tool itself has no per-app scoping today — same limitation

        that already exists on the MCP path, not introduced here.'
      operationId: sandbox_app_ai_ask_api_sandbox__id__ai_ask_post
      security:
      - HTTPBearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          title: Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiAskRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiAskResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SetStorageResponse:
      properties:
        saved:
          type: boolean
          title: Saved
      type: object
      required:
      - saved
      title: SetStorageResponse
    SandboxAppSummary:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        kind:
          type: string
          title: Kind
        updatedAt:
          type: string
          title: Updatedat
      type: object
      required:
      - id
      - title
      - kind
      - updatedAt
      title: SandboxAppSummary
    AiAskRequest:
      properties:
        prompt:
          type: string
          title: Prompt
      type: object
      required:
      - prompt
      title: AiAskRequest
    SandboxAppResponse:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        wrapped_html:
          type: string
          title: Wrapped Html
        manifest:
          additionalProperties: true
          type: object
          title: Manifest
      type: object
      required:
      - id
      - title
      - wrapped_html
      - manifest
      title: SandboxAppResponse
    AiAskResponse:
      properties:
        text:
          type: string
          title: Text
      type: object
      required:
      - text
      title: AiAskResponse
    SandboxListResponse:
      properties:
        summary:
          type: string
          title: Summary
        apps:
          items:
            $ref: '#/components/schemas/SandboxAppSummary'
          type: array
          title: Apps
      type: object
      required:
      - summary
      - apps
      title: SandboxListResponse
    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
    SetStorageRequest:
      properties:
        data:
          additionalProperties: true
          type: object
          title: Data
      type: object
      required:
      - data
      title: SetStorageRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer