Lynta Ask API

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

GitHub OpenAPI

Operations 3

GET /ask Search public Lynta documentation with a query parameter #
POST /ask Search public Lynta documentation #
OPTIONS /ask Check cross-origin request support #

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/lyntahq-com:lyntahq-com-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

lyntahq-com-ask-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lynta Public Documentation Search Ask API
  version: 1.0.0
  description: Read-only NLWeb endpoint that keyword-ranks public Lynta website documentation. It returns source pages, does not generate answers, does not access customer projects, and is not the Lynta realtime product API. The stable v1 path is /v1/ask; incompatible API changes require a new major path version. /ask remains an unversioned compatibility alias.
  contact:
    url: https://lyntahq.com/contact
servers:
- url: https://lyntahq.com
tags:
- name: Ask
paths:
  /ask:
    get:
      operationId: getPublicLyntaDocumentationSearch
      summary: Search public Lynta documentation with a query parameter
      description: Accepts query as plain natural-language text, or as a JSON-encoded NLWeb query object. Set streaming=true or prefer={"streaming":true} to request Server-Sent Events. This read-only endpoint searches public website pages only.
      parameters:
      - name: query
        in: query
        required: true
        description: Natural-language query, or a URL-encoded JSON query object.
        schema:
          type: string
          minLength: 1
          maxLength: 1000
      - name: streaming
        in: query
        required: false
        schema:
          type: boolean
      - name: prefer
        in: query
        required: false
        description: URL-encoded JSON preference object, for example {"streaming":true}.
        schema:
          type: string
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 10
          default: 5
      - name: cursor
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
        description: Numeric continuation cursor returned in pagination.next_cursor.
      responses:
        '200':
          description: NLWeb answer or application-level failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AskResponse'
            text/event-stream:
              schema:
                type: string
              description: NLWeb start, result, error (when needed), and complete events.
        '400':
          description: Invalid query or pagination parameter.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      tags:
      - Ask
    post:
      operationId: searchPublicLyntaDocumentation
      summary: Search public Lynta documentation
      description: Returns up to five matching public pages ranked by keyword relevance. Set prefer.streaming to true for an NLWeb Server-Sent Events response. The endpoint is read-only and does not call customer product APIs or generate answers.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AskRequest'
            example:
              query:
                text: What are the Lynta Launch plan limits?
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - text
              properties:
                text:
                  type: string
                  minLength: 1
                  maxLength: 1000
      responses:
        '200':
          description: NLWeb answer or application-level failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AskResponse'
            text/event-stream:
              schema:
                type: string
              description: NLWeb start, result, error (when needed), and complete events.
        '400':
          description: Malformed JSON or invalid query/pagination parameters.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '405':
          description: Only GET and POST are supported; OPTIONS is available for CORS preflight.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '413':
          description: The JSON request body exceeds 16 KiB.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      tags:
      - Ask
    options:
      operationId: preflightPublicLyntaDocumentationSearch
      summary: Check cross-origin request support
      responses:
        '204':
          description: CORS preflight accepted.
      tags:
      - Ask
components:
  schemas:
    AskRequest:
      type: object
      required:
      - query
      properties:
        query:
          oneOf:
          - type: string
            minLength: 1
            maxLength: 1000
            description: Natural-language query, as defined by NLWeb.
          - type: object
            required:
            - text
            properties:
              text:
                type: string
                minLength: 1
                maxLength: 1000
                description: Natural-language question about public Lynta website content.
              site:
                type: string
                description: Optional site filter; only lyntahq.com content is indexed.
        prefer:
          type: object
          properties:
            streaming:
              type: boolean
              description: Request NLWeb SSE events.
        page_size:
          type: integer
          minimum: 1
          maximum: 10
          default: 5
        cursor:
          type: integer
          minimum: 0
          description: Numeric continuation cursor returned in pagination.next_cursor.
        meta:
          type: object
          properties:
            version:
              type: string
    AskResponse:
      type: object
      required:
      - _meta
      properties:
        _meta:
          type: object
          required:
          - response_type
          - version
          properties:
            response_type:
              type: string
              enum:
              - answer
              - failure
            response_format:
              type: string
            version:
              type: string
        results:
          type: array
          items:
            $ref: '#/components/schemas/SearchResult'
        pagination:
          type: object
          required:
          - next_cursor
          - total_results
          properties:
            next_cursor:
              type:
              - string
              - 'null'
              description: Cursor for the next page, or null when the result set is complete.
            total_results:
              type: integer
              minimum: 0
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
    SearchResult:
      type: object
      required:
      - '@type'
      - name
      - description
      - url
      properties:
        '@type':
          type: string
          const: WebPage
        name:
          type: string
        description:
          type: string
        url:
          type: string
          format: uri
        grounding:
          type: object
          properties:
            url:
              type: string
              format: uri
    ProblemDetails:
      type: object
      required:
      - type
      - title
      - status
      - detail
      properties:
        type:
          type: string
          format: uri-reference
          const: about:blank
        title:
          type: string
        status:
          type: integer
          minimum: 400
          maximum: 599
        detail:
          type: string
        code:
          type: string
          description: Stable machine-readable error code.
      description: RFC 9457 Problem Details response for HTTP-level request errors.
externalDocs:
  description: Public API versioning and deprecation policy.
  url: https://lyntahq.com/api/versioning.md