StudioMeyer Academy Ask API

The Ask API from StudioMeyer Academy — 1 operation(s) for ask.

GitHub OpenAPI

Operations 3

GET /ask Search public free learning resources using NLWeb0.55 #
POST /ask Submit a public search-only NLWeb0.55 query #
OPTIONS /ask Nlweb ask preflight #

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/studiomeyer-academy:studiomeyer-academy-ask-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

studiomeyer-academy-ask-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Studiomeyer Academy Ask API
  version: 1.0.0
  description: 'Operations tagged Ask across 2 of this provider''s published API definitions: openapi.json, studiomeyer-academy-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://studiomeyer.academy
tags:
- name: Ask
paths:
  /ask:
    get:
      operationId: nlwebAskGet
      summary: Search public free learning resources using NLWeb0.55
      security: []
      parameters:
      - name: query.text
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 2000
      - name: locale
        in: query
        schema:
          type: string
          enum:
          - de
          - en
          - es
      - name: prefer.limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 20
          default: 5
      - name: prefer.streaming
        in: query
        schema:
          type: boolean
          default: false
      - name: Accept
        in: header
        schema:
          type: string
      - name: Accept-Language
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Public lexical search. NO_RESULTS is an application-level failure with HTTP200. Streaming requires prefer.streaming=true plus Accept:text/event-stream; events are start, result(index,item)*, error on failure, complete with final _meta. No generated answer, tutor, purchase or account access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
            text/event-stream:
              schema:
                type: string
        '400':
          description: Invalid query, protocol version, response_format or mode.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '403':
          description: Rejected CORS preflight.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '405':
          description: Method not allowed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '406':
          description: Streaming requested without acceptable text/event-stream.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '413':
          description: Request body exceeds 256KiB.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '415':
          description: POST requires application/json.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '429':
          description: Shared anonymous read rate limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
          headers:
            Retry-After:
              schema:
                type: string
        '503':
          description: Public search or limiter unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '504':
          description: Search timed out.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
      tags:
      - Ask
    post:
      operationId: nlwebAsk
      summary: Submit a public search-only NLWeb0.55 query
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                query:
                  type: object
                  properties:
                    text:
                      type: string
                      minLength: 1
                      maxLength: 2000
                    language:
                      type: string
                      enum:
                      - de
                      - en
                      - es
                  required:
                  - text
                  additionalProperties: false
                prefer:
                  type: object
                  properties:
                    streaming:
                      type: boolean
                    limit:
                      type: integer
                      minimum: 1
                      maximum: 20
                    mode:
                      type: string
                      maxLength: 100
                    response_format:
                      type: string
                      maxLength: 100
                    accept-language:
                      type: string
                      enum:
                      - de
                      - en
                      - es
                  additionalProperties: false
                meta:
                  type: object
                  properties:
                    version:
                      type: string
                      maxLength: 20
                  additionalProperties: false
              required:
              - query
              additionalProperties: false
      responses:
        '200':
          description: Public lexical search. NO_RESULTS is an application-level failure with HTTP200. Streaming requires prefer.streaming=true plus Accept:text/event-stream; events are start, result(index,item)*, error on failure, complete with final _meta. No generated answer, tutor, purchase or account access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
            text/event-stream:
              schema:
                type: string
        '400':
          description: Invalid query, protocol version, response_format or mode.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '403':
          description: Rejected CORS preflight.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '405':
          description: Method not allowed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '406':
          description: Streaming requested without acceptable text/event-stream.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '413':
          description: Request body exceeds 256KiB.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '415':
          description: POST requires application/json.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '429':
          description: Shared anonymous read rate limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
          headers:
            Retry-After:
              schema:
                type: string
        '503':
          description: Public search or limiter unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
        '504':
          description: Search timed out.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
      tags:
      - Ask
    options:
      operationId: nlwebAskPreflight
      security: []
      responses:
        '204':
          description: Public CORS preflight with GET,POST,OPTIONS; no cookie credentials.
        '403':
          description: Rejected CORS preflight.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NlwebResponse'
      tags:
      - Ask
      summary: Nlweb ask preflight
      x-summary-source: derived
    servers:
    - url: https://studiomeyer.academy
components:
  schemas:
    NlwebResponse:
      type: object
      required:
      - _meta
      - results
      properties:
        _meta:
          type: object
          required:
          - response_type
          - version
          - response_format
          properties:
            response_type:
              type: string
              enum:
              - answer
              - failure
            version:
              type: string
              const: '0.55'
            response_format:
              type: string
              const: conversational_search
            streaming:
              type: boolean
              const: true
        results:
          type: array
          items:
            type: object
            required:
            - '@context'
            - '@type'
            - url
            - name
            - description
            - inLanguage
            - isAccessibleForFree
            properties:
              '@context':
                type: string
                const: https://schema.org
              '@type':
                type: string
                enum:
                - LearningResource
                - DefinedTerm
              url:
                type: string
                format: uri
              name:
                type: string
              description:
                type: string
              inLanguage:
                type: string
                enum:
                - de
                - en
                - es
              isAccessibleForFree:
                type: boolean
                const: true
            additionalProperties: false
          maxItems: 20
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - NO_RESULTS
              - INVALID_QUERY
              - UNSUPPORTED_FORMAT
              - UNSUPPORTED_MODE
              - RATE_LIMITED
              - INTERNAL_ERROR
              - TIMEOUT
            message:
              type: string
          additionalProperties: false
      additionalProperties: false
  securitySchemes:
    OAuth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://mcp.studiomeyer.academy/authorize
          tokenUrl: https://mcp.studiomeyer.academy/token
          scopes:
            learn:read: Read your learning records
            learn:write: Change your learning records
            credits:spend: Spend credits only with explicit confirmation and an idempotency key
    PersonalApiKey:
      type: http
      scheme: bearer
      description: Personal academy_ key. Read/write only; cannot spend credits.
x-refined-from:
- openapi.json
- studiomeyer-academy-openapi.json