Frasma Chat API

The Chat API from Frasma — 1 operation(s) for chat.

GitHub OpenAPI

Operations 1

POST /api/chat Send a chat message to the Frasma assistant #

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/frasma-org:frasma-org-chat-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

frasma-org-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Frasma Public Website Chat API
  version: 0.1.0
  description: Public API description for Frasma website contact, chat, process brief, MCP, and service status endpoints.
servers:
- url: https://www.frasma.org
tags:
- name: Chat
paths:
  /api/chat:
    post:
      operationId: postChat
      summary: Send a chat message to the Frasma assistant
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
      responses:
        '200':
          description: Assistant response or timeout marker
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ChatResponse'
                - $ref: '#/components/schemas/TimeoutResponse'
        '400':
          $ref: '#/components/responses/Error'
        '405':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '500':
          $ref: '#/components/responses/Error'
      tags:
      - Chat
components:
  schemas:
    ChatMessage:
      type: object
      required:
      - role
      - content
      properties:
        role:
          type: string
          enum:
          - user
          - assistant
        content:
          type: string
          maxLength: 30000
          description: User messages are limited to 2000 characters; assistant messages may include a reviewed structured form up to 30000 characters.
    ChatResponse:
      type: object
      required:
      - response
      properties:
        response:
          type: string
        conversationId:
          type: string
          format: uuid
          description: Present when MongoDB persistence is configured and connected.
    TimeoutResponse:
      type: object
      required:
      - code
      properties:
        code:
          type: string
          const: TIMEOUT
        response:
          type: string
          description: Fallback assistant message with PROJECT_BRIEF_FORM markers when the agent times out.
        conversationId:
          type: string
          format: uuid
    ChatRequest:
      type: object
      required:
      - messages
      properties:
        messages:
          type: array
          minItems: 1
          maxItems: 20
          items:
            $ref: '#/components/schemas/ChatMessage'
        lang:
          type: string
          enum:
          - it
          - en
        timezone:
          type: string
          examples:
          - Europe/Rome
        pagePath:
          type: string
          description: Current public website path used to prioritize verified knowledge.
          examples:
          - /
          - /studio
        conversationId:
          type: string
          format: uuid
          description: Existing persisted conversation id, when resuming a session.
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
  responses:
    Error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'