ThoughtBox Micro Apps API
The micro-apps API from ThoughtBox — 6 operation(s) for micro-apps.
The micro-apps API from ThoughtBox — 6 operation(s) for micro-apps.
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-micro-apps-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 Micro Apps API
description: Document proxy and AI chat platform with MCP support
version: 0.1.0
tags:
- name: micro-apps
paths:
/api/apps/language/generate:
post:
tags:
- micro-apps
summary: Language Generate
description: Generate a micro-story for language learning.
operationId: language_generate_api_apps_language_generate_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LanguageGenerateRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LanguageGenerateResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/apps/language/check:
post:
tags:
- micro-apps
summary: Language Check
description: Coach a learner's translation attempt with warm, specific feedback.
operationId: language_check_api_apps_language_check_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LanguageCheckRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LanguageCheckResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/apps/language/card/{card_id}:
get:
tags:
- micro-apps
summary: Language Card By Id
description: Return a specific pre-built corpus card by ID (used by SRS due-card fetch).
operationId: language_card_by_id_api_apps_language_card__card_id__get
parameters:
- name: card_id
in: path
required: true
schema:
type: string
title: Card Id
- name: cefr
in: query
required: false
schema:
type: string
default: A1
title: Cefr
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LanguageCardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/apps/language/card:
get:
tags:
- micro-apps
summary: Language Card
description: 'Return a random pre-built card (with image) for the selection.
404 if there''s no corpus for this language/cefr — the caller should
then fall back to /language/generate (live, text-only).
`exclude` is a comma-separated list of card IDs to skip (SRS: cards not yet due).
If all cards are excluded the exclude list is ignored so the user always gets a card.'
operationId: language_card_api_apps_language_card_get
parameters:
- name: language
in: query
required: false
schema:
type: string
default: Chinese
title: Language
- name: cefr
in: query
required: false
schema:
type: string
default: A1
title: Cefr
- name: exclude
in: query
required: false
schema:
type: string
default: ''
title: Exclude
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LanguageCardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/apps/language/card/{card_id}/image:
get:
tags:
- micro-apps
summary: Language Card Image
description: Serve a corpus card's PNG.
operationId: language_card_image_api_apps_language_card__card_id__image_get
parameters:
- name: card_id
in: path
required: true
schema:
type: string
title: Card Id
- name: cefr
in: query
required: false
schema:
type: string
default: A1
title: Cefr
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/apps/language/story-for-picture:
post:
tags:
- micro-apps
summary: Language Story For Picture
description: Generate a new story inspired by a corpus card's image (vision call).
operationId: language_story_for_picture_api_apps_language_story_for_picture_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LanguageStoryForPictureRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LanguageGenerateResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
LanguageCardResponse:
properties:
id:
type: string
title: Id
story:
type: string
title: Story
romanization:
type: string
title: Romanization
english_translation:
type: string
title: English Translation
image_url:
type: string
title: Image Url
words:
items:
$ref: '#/components/schemas/Word'
type: array
title: Words
default: []
cefr:
type: string
title: Cefr
default: ''
difficulty_score:
type: integer
title: Difficulty Score
default: 0
type: object
required:
- id
- story
- romanization
- english_translation
- image_url
title: LanguageCardResponse
LanguageGenerateRequest:
properties:
language:
type: string
title: Language
default: Chinese
difficulty:
type: string
title: Difficulty
default: beginner
type: object
title: LanguageGenerateRequest
Word:
properties:
hanzi:
type: string
title: Hanzi
gloss:
type: string
title: Gloss
pinyin:
type: string
title: Pinyin
type: object
required:
- hanzi
- gloss
- pinyin
title: Word
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
LanguageStoryForPictureRequest:
properties:
card_id:
type: string
title: Card Id
language:
type: string
title: Language
default: Chinese
difficulty:
type: string
title: Difficulty
default: beginner
cefr:
type: string
title: Cefr
default: A1
type: object
required:
- card_id
title: LanguageStoryForPictureRequest
LanguageCheckResponse:
properties:
verdict:
type: string
title: Verdict
feedback:
type: string
title: Feedback
type: object
required:
- verdict
- feedback
title: LanguageCheckResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
LanguageCheckRequest:
properties:
story:
type: string
title: Story
reference:
type: string
title: Reference
attempt:
type: string
title: Attempt
type: object
required:
- story
- reference
- attempt
title: LanguageCheckRequest
LanguageGenerateResponse:
properties:
story:
type: string
title: Story
romanization:
type: string
title: Romanization
english_translation:
type: string
title: English Translation
image_prompt:
type: string
title: Image Prompt
words:
items:
$ref: '#/components/schemas/Word'
type: array
title: Words
default: []
type: object
required:
- story
- romanization
- english_translation
- image_prompt
title: LanguageGenerateResponse
securitySchemes:
HTTPBearer:
type: http
scheme: bearer