DecisionLink Chat API

The chat API from DecisionLink — 10 operation(s) for chat.

Operations 11

POST /v1/value-chat/chat/id generate a chat id #
GET /v1/value-chat/chat/{chat_id}/history generate return chat history #
GET /v1/value-chat/chat/{chat_id}/status Get chat status #
GET /v1/value-chat/chat/history generate return chat history #
PATCH /v1/value-chat/chat/{chat_id} update chat title #
DELETE /v1/value-chat/chat/{chat_id} delete chat history #
GET /v1/value-chat/chat/questions get default questions #
GET /v1/value-chat/chat/search-titles/ Search Titles Route #
GET /v1/value-chat/chat/search-history/ Search History Route #
POST /v1/value-chat/chat/feedback Submit feedback for a specific chat message #
POST /v1/value-chat/chat/{chat_id}/upload Upload a document to a chat session #

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/decisionlink-chat-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

decisionlink-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Value Server Chat API
  description: Value chat service
  version: '1.0'
  x-api-evangelist-source: https://api.xfactor.io/api/v1/value-chat/openapi.json
servers:
- url: https://api.xfactor.io
  description: Production API host (Auth0 audience of the Xfactor.io web application)
tags:
- name: chat
paths:
  /v1/value-chat/chat/id:
    post:
      tags:
      - chat
      summary: 'generate a chat id '
      description: Generate a new unique chat ID
      operationId: get_chat_id_v1_value_chat_chat_id_post
      responses:
        '200':
          description: Return HTTP Status Code 200 (OK)
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /v1/value-chat/chat/{chat_id}/history:
    get:
      tags:
      - chat
      summary: generate return chat history
      description: Retrieve chat history for a specific chat ID
      operationId: get_chat_history_v1_value_chat_chat__chat_id__history_get
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Return HTTP Status Code 200 (OK)
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/value-chat/chat/{chat_id}/status:
    get:
      tags:
      - chat
      summary: Get chat status
      description: Get the status of a specific chat (e.g. in_progress, completed)
      operationId: chat_status_v1_value_chat_chat__chat_id__status_get
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/value-chat/chat/history:
    get:
      tags:
      - chat
      summary: generate return chat history
      description: Retrieve all chat IDs for the authenticated user
      operationId: get_old_chat_ids_v1_value_chat_chat_history_get
      responses:
        '200':
          description: Return HTTP Status Code 200 (OK)
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /v1/value-chat/chat/{chat_id}:
    patch:
      tags:
      - chat
      summary: update chat title
      description: Update the title of a specific chat
      operationId: update_chat_title_v1_value_chat_chat__chat_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_update_chat_title_v1_value_chat_chat__chat_id__patch'
      responses:
        '200':
          description: Return HTTP Status Code 200 (OK)
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - chat
      summary: delete chat history
      description: Delete a specific chat's history
      operationId: delete_chat_v1_value_chat_chat__chat_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Return HTTP Status Code 200 (OK)
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/value-chat/chat/questions:
    get:
      tags:
      - chat
      summary: get default questions
      description: 'Get default questions for the chat based on

        client configuration and user roles.'
      operationId: get_chat_questions_v1_value_chat_chat_questions_get
      responses:
        '200':
          description: Return HTTP Status Code 200 (OK)
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /v1/value-chat/chat/search-titles/:
    get:
      tags:
      - chat
      summary: Search Titles Route
      description: Search for chats with titles similar to the search term
      operationId: search_titles_route_v1_value_chat_chat_search_titles__get
      security:
      - HTTPBearer: []
      parameters:
      - name: search_term
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Search Term
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/value-chat/chat/search-history/:
    get:
      tags:
      - chat
      summary: Search History Route
      description: Search for specific text within chat message contents
      operationId: search_history_route_v1_value_chat_chat_search_history__get
      security:
      - HTTPBearer: []
      parameters:
      - name: search_term
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Search Term
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/value-chat/chat/feedback:
    post:
      tags:
      - chat
      summary: Submit feedback for a specific chat message
      description: Insert chat feedback into the database
      operationId: submit_chat_feedback_v1_value_chat_chat_feedback_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatFeedbackIn'
        required: true
      responses:
        '200':
          description: Returns the inserted feedback row
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /v1/value-chat/chat/{chat_id}/upload:
    post:
      tags:
      - chat
      summary: Upload a document to a chat session
      operationId: upload_chat_file_v1_value_chat_chat__chat_id__upload_post
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_chat_file_v1_value_chat_chat__chat_id__upload_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_update_chat_title_v1_value_chat_chat__chat_id__patch:
      properties:
        title:
          type: string
          title: Title
      type: object
      required:
      - title
      title: Body_update_chat_title_v1_value_chat_chat__chat_id__patch
    ChatFeedbackIn:
      properties:
        chat_id:
          type: string
          title: Chat Id
          description: The ID of the chat
        message_index:
          type: integer
          title: Message Index
          description: The index of the message
        vote_score:
          type: integer
          title: Vote Score
          description: The vote score
        comments:
          anyOf:
          - type: string
          - type: 'null'
          title: Comments
          description: The comments
      type: object
      required:
      - chat_id
      - message_index
      - vote_score
      title: ChatFeedbackIn
      description: Chat feedback input model
    Body_upload_chat_file_v1_value_chat_chat__chat_id__upload_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - file
      title: Body_upload_chat_file_v1_value_chat_chat__chat_id__upload_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      description: Access token in the form of a JWT
      scheme: bearer