ThoughtBox Stream API

The stream API from ThoughtBox — 8 operation(s) for stream.

GitHub OpenAPI

Operations 9

GET /api/stream Your Stream #
GET /api/stream/here Here #
GET /api/stream/more More #
POST /api/stream/seen Seen #
POST /api/stream/items/{item_id} React #
GET /api/stream/shares/{share_id}/thumb Share Thumb #
PUT /api/stream/shares/{share_id}/thumb Thumb Share #
POST /api/stream/items/{item_id}/mail-reaction React To Mail #
GET /api/stream/icons/{domain} Icon #

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-stream-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-stream-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThoughtBox Stream API
  description: Document proxy and AI chat platform with MCP support
  version: 0.1.0
tags:
- name: Stream
paths:
  /api/stream:
    get:
      tags:
      - Stream
      summary: Your Stream
      description: 'visit: the open page''s own id. A story seen on an earlier visit has left.'
      operationId: your_stream_api_stream_get
      security:
      - HTTPBearer: []
      parameters:
      - name: visit
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Visit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Your Stream Api Stream Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/stream/here:
    get:
      tags:
      - Stream
      summary: Here
      description: 'Whether this deployment has streams: the sidebar lists Your stream only where this answers (PR #866 review:

        streams are made from shares and feeds, which only some deployments have).'
      operationId: here_api_stream_here_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Here Api Stream Here Get
      security:
      - HTTPBearer: []
  /api/stream/more:
    get:
      tags:
      - Stream
      summary: More
      description: 'before, before_id: the last row''s arrived_at and id, for the screenful after it.'
      operationId: more_api_stream_more_get
      security:
      - HTTPBearer: []
      parameters:
      - name: before
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Before
      - name: before_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Before Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response More Api Stream More Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/stream/seen:
    post:
      tags:
      - Stream
      summary: Seen
      operationId: seen_api_stream_seen_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Seen'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/stream/items/{item_id}:
    post:
      tags:
      - Stream
      summary: React
      operationId: react_api_stream_items__item_id__post
      security:
      - HTTPBearer: []
      parameters:
      - name: item_id
        in: path
        required: true
        schema:
          type: string
          title: Item Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Reaction'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response React Api Stream Items  Item Id  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/stream/shares/{share_id}/thumb:
    get:
      tags:
      - Stream
      summary: Share Thumb
      operationId: share_thumb_api_stream_shares__share_id__thumb_get
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Share Thumb Api Stream Shares  Share Id  Thumb Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Stream
      summary: Thumb Share
      description: 'A thumb or an emoji on something shared with you: whoever shared it sees it (#856, #897).'
      operationId: thumb_share_api_stream_shares__share_id__thumb_put
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Thumb'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Thumb Share Api Stream Shares  Share Id  Thumb Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/stream/items/{item_id}/mail-reaction:
    post:
      tags:
      - Stream
      summary: React To Mail
      description: An emoji to the sender of an email in the stream, as Gmail's own reaction from the user's Gmail (#897).
      operationId: react_to_mail_api_stream_items__item_id__mail_reaction_post
      security:
      - HTTPBearer: []
      parameters:
      - name: item_id
        in: path
        required: true
        schema:
          type: string
          title: Item Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MailReaction'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response React To Mail Api Stream Items  Item Id  Mail Reaction Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/stream/icons/{domain}:
    get:
      tags:
      - Stream
      summary: Icon
      description: The icon of the company an email came from, for its stream row.
      operationId: icon_api_stream_icons__domain__get
      security:
      - HTTPBearer: []
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
          title: Domain
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Reaction:
      properties:
        action:
          type: string
          enum:
          - done
          - pin
          - unpin
          - clear
          - up
          - down
          - wanted
          - skip
          title: Action
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - action
      title: Reaction
    Seen:
      properties:
        ids:
          items:
            type: string
          type: array
          maxItems: 500
          title: Ids
      type: object
      title: Seen
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Thumb:
      properties:
        thumb:
          anyOf:
          - type: string
            maxLength: 10
          - type: 'null'
          title: Thumb
      type: object
      title: Thumb
    MailReaction:
      properties:
        emoji:
          type: string
          maxLength: 10
          title: Emoji
      type: object
      required:
      - emoji
      title: MailReaction
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer