ThoughtBox Advisors API

The advisors API from ThoughtBox — 5 operation(s) for advisors.

GitHub OpenAPI

Operations 8

GET /api/advisors List Advisors #
POST /api/advisors Create Advisor #
PATCH /api/advisors/{advisor_id} Update Advisor #
DELETE /api/advisors/{advisor_id} Delete Advisor #
POST /api/advisors/{advisor_id}/avatar Upload Advisor Avatar #
DELETE /api/advisors/{advisor_id}/avatar Delete Advisor Avatar #
POST /api/advisors/{advisor_id}/avatar/make Make Advisor Avatar #
POST /api/advisors/{advisor_id}/avatar/use Use Advisor Avatar #

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-advisors-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-advisors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThoughtBox Advisors API
  description: Document proxy and AI chat platform with MCP support
  version: 0.1.0
tags:
- name: advisors
paths:
  /api/advisors:
    get:
      tags:
      - advisors
      summary: List Advisors
      operationId: list_advisors_api_advisors_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/AdvisorOut'
                type: array
                title: Response List Advisors Api Advisors Get
      security:
      - HTTPBearer: []
    post:
      tags:
      - advisors
      summary: Create Advisor
      operationId: create_advisor_api_advisors_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAdvisorRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdvisorOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/advisors/{advisor_id}:
    patch:
      tags:
      - advisors
      summary: Update Advisor
      operationId: update_advisor_api_advisors__advisor_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: advisor_id
        in: path
        required: true
        schema:
          type: string
          title: Advisor Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAdvisorRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdvisorOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - advisors
      summary: Delete Advisor
      operationId: delete_advisor_api_advisors__advisor_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: advisor_id
        in: path
        required: true
        schema:
          type: string
          title: Advisor Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/advisors/{advisor_id}/avatar:
    post:
      tags:
      - advisors
      summary: Upload Advisor Avatar
      description: 'Upload a custom avatar image for one advisor (thoughtbox#209).


        Same 2MB/JPEG-PNG-GIF-WebP validation and storage pattern as a user''s own

        avatar (auth.upload_avatar) — stored under the same per-user avatars

        folder, keyed by advisor id so it can''t collide with the user''s own

        avatar file or another advisor''s.'
      operationId: upload_advisor_avatar_api_advisors__advisor_id__avatar_post
      security:
      - HTTPBearer: []
      parameters:
      - name: advisor_id
        in: path
        required: true
        schema:
          type: string
          title: Advisor Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_advisor_avatar_api_advisors__advisor_id__avatar_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - advisors
      summary: Delete Advisor Avatar
      description: Remove an advisor's custom avatar — reverts to the provider-icon fallback.
      operationId: delete_advisor_avatar_api_advisors__advisor_id__avatar_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: advisor_id
        in: path
        required: true
        schema:
          type: string
          title: Advisor Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/advisors/{advisor_id}/avatar/make:
    post:
      tags:
      - advisors
      summary: Make Advisor Avatar
      description: A picture to try for a panel member, from what it should look like (#617), as for the user's own.
      operationId: make_advisor_avatar_api_advisors__advisor_id__avatar_make_post
      security:
      - HTTPBearer: []
      parameters:
      - name: advisor_id
        in: path
        required: true
        schema:
          type: string
          title: Advisor Id
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_make_advisor_avatar_api_advisors__advisor_id__avatar_make_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/advisors/{advisor_id}/avatar/use:
    post:
      tags:
      - advisors
      summary: Use Advisor Avatar
      operationId: use_advisor_avatar_api_advisors__advisor_id__avatar_use_post
      security:
      - HTTPBearer: []
      parameters:
      - name: advisor_id
        in: path
        required: true
        schema:
          type: string
          title: Advisor Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UseAvatar'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UseAvatar:
      properties:
        path:
          type: string
          title: Path
      type: object
      required:
      - path
      title: UseAvatar
    UpdateAdvisorRequest:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Name
        persona:
          anyOf:
          - type: string
          - type: 'null'
          title: Persona
        position:
          anyOf:
          - type: integer
          - type: 'null'
          title: Position
        voice:
          anyOf:
          - type: string
            pattern: ^([A-Za-z]{2,20})?$
          - type: 'null'
          title: Voice
      type: object
      title: UpdateAdvisorRequest
    Body_upload_advisor_avatar_api_advisors__advisor_id__avatar_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - file
      title: Body_upload_advisor_avatar_api_advisors__advisor_id__avatar_post
    AdvisorOut:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        provider:
          type: string
          title: Provider
        model:
          type: string
          title: Model
        persona:
          anyOf:
          - type: string
          - type: 'null'
          title: Persona
        avatar_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Avatar Url
        voice:
          anyOf:
          - type: string
          - type: 'null'
          title: Voice
        position:
          type: integer
          title: Position
        created_at:
          type: string
          title: Created At
        updated_at:
          type: string
          title: Updated At
      type: object
      required:
      - id
      - name
      - provider
      - model
      - persona
      - avatar_url
      - position
      - created_at
      - updated_at
      title: AdvisorOut
    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
    CreateAdvisorRequest:
      properties:
        name:
          type: string
          maxLength: 100
          title: Name
        provider:
          type: string
          maxLength: 50
          title: Provider
        model:
          type: string
          maxLength: 100
          title: Model
        persona:
          anyOf:
          - type: string
          - type: 'null'
          title: Persona
        position:
          type: integer
          title: Position
          default: 0
      type: object
      required:
      - name
      - provider
      - model
      title: CreateAdvisorRequest
    Body_make_advisor_avatar_api_advisors__advisor_id__avatar_make_post:
      properties:
        wanted:
          type: string
          title: Wanted
          default: ''
        inspiration:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: Inspiration
      type: object
      title: Body_make_advisor_avatar_api_advisors__advisor_id__avatar_make_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer