Cuein answers API

APIs for getting answers

Operations 1

GET /answer Answer question based on Knowledge Articles and other Documents #

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/cuein-answers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cuein-answers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cuein Answers API
  description: API for Cuein Answers Service.
  termsOfService: http://swagger.io/terms/
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
- url: https://api.cuein.ai/answers/v1
tags:
- name: answers
  description: APIs for getting answers
paths:
  /answer:
    get:
      tags:
      - answers
      summary: Answer question based on Knowledge Articles and other Documents
      operationId: getAnswer
      parameters:
      - $ref: '#/components/parameters/question'
      - $ref: '#/components/parameters/customerId'
      - $ref: '#/components/parameters/tenantId'
      - $ref: '#/components/parameters/sessionId'
      - $ref: '#/components/parameters/documentType'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/numDocuments'
      - $ref: '#/components/parameters/userType'
      - $ref: '#/components/parameters/userName'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnswerResponse'
        '400':
          description: Invalid Tenant
          content: {}
      security:
      - ApiKeyAuth: []
components:
  parameters:
    sessionId:
      name: sessionId
      in: query
      description: Unique identifier for the chat session in which the question was asked
      schema:
        type: string
    tenantId:
      name: tenantId
      in: query
      description: Identifier for the tenant/client whose documents will be used for answering the question
      schema:
        type: string
    documentType:
      name: documentType
      in: query
      description: Type of document to be used for search
      schema:
        type: string
        enum:
        - public
        - internal
        - all
        default: public
    filter:
      name: filter
      in: query
      description: Key-Value pairs to be used as filters. All filters will be treated as AND. Ex. ?filter[filter_1]=val_1,val_2&filter[filter_2]=val_3,val_4.
      schema:
        type: object
        additionalProperties:
          type: array
          items:
            type: string
      style: form
      explode: true
    question:
      name: question
      in: query
      description: Question to be answered
      schema:
        type: string
    customerId:
      name: customerId
      in: query
      description: Customer making the request
      schema:
        type: string
    numDocuments:
      name: numDocuments
      in: query
      description: Number of Documents to use as context when generating an Answer (min 1, max 10, default 3)
      schema:
        type: number
    userName:
      name: userName
      in: query
      description: Name of user making the request
      schema:
        type: string
    userType:
      name: userType
      in: query
      description: Type of user making the request
      schema:
        type: string
        enum:
        - chatbot
        - customer
        - agent
        - admin
  schemas:
    AnswerResponse:
      required:
      - answer
      - answered
      type: object
      properties:
        answer:
          type: string
          description: Answer to the question
        referenceDocuments:
          type: array
          description: Documents used in the Answer
          items:
            $ref: '#/components/schemas/ReferenceDocument'
        answered:
          type: boolean
          description: Whether or not the question was answered
    ReferenceDocument:
      required:
      - name
      type: object
      properties:
        name:
          type: string
          description: Name of the Document
        id:
          type: string
          description: Document Id
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: x-api-key
      in: header
externalDocs:
  description: Find out more about Cuein
  url: https://cuein.ai
x-readme:
  explorer-enabled: true
  proxy-enabled: true