Mantic Assistant API

The assistant API from Mantic — 2 operation(s) for assistant.

Operations 3

GET /webapp/conversations/{conversation_id}/documents List Conversation Documents #
POST /webapp/conversations/{conversation_id}/documents Attach Conversation Document #
DELETE /webapp/conversations/{conversation_id}/documents/{document_id} Detach Conversation Document #

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/mantic:mantic-assistant-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

mantic-assistant-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Assistant API
  version: 0.1.0
tags:
- name: Assistant
paths:
  /webapp/conversations/{conversation_id}/documents:
    get:
      tags:
      - Assistant
      summary: List Conversation Documents
      operationId: list_conversation_documents_webapp_conversations__conversation_id__documents_get
      security:
      - OAuth2AuthorizationCodeBearer: []
      parameters:
      - name: conversation_id
        in: path
        required: true
        schema:
          type: integer
          title: Conversation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttachedDocumentsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Assistant
      summary: Attach Conversation Document
      description: Attach one of the caller's documents to one of their conversations.
      operationId: attach_conversation_document_webapp_conversations__conversation_id__documents_post
      security:
      - OAuth2AuthorizationCodeBearer: []
      parameters:
      - name: conversation_id
        in: path
        required: true
        schema:
          type: integer
          title: Conversation Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttachDocumentRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttachedDocumentView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /webapp/conversations/{conversation_id}/documents/{document_id}:
    delete:
      tags:
      - Assistant
      summary: Detach Conversation Document
      operationId: detach_conversation_document_webapp_conversations__conversation_id__documents__document_id__delete
      security:
      - OAuth2AuthorizationCodeBearer: []
      parameters:
      - name: conversation_id
        in: path
        required: true
        schema:
          type: integer
          title: Conversation Id
      - name: document_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Document Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AttachedDocumentsResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/AttachedDocumentView'
          type: array
          title: Items
      type: object
      required:
      - items
      title: AttachedDocumentsResponse
    AttachedDocumentView:
      properties:
        document_id:
          type: string
          format: uuid
          title: Document Id
        file_name:
          type: string
          title: File Name
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        status:
          type: string
          title: Status
        scan_status:
          type: string
          title: Scan Status
        failure_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Failure Code
        failure_detail:
          anyOf:
          - type: string
          - type: 'null'
          title: Failure Detail
        mime_type:
          type: string
          title: Mime Type
        page_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Page Count
        char_count:
          type: integer
          title: Char Count
        document_form:
          anyOf:
          - type: string
            enum:
            - paper
            - article
            - book
            - report
            - memo
            - letter
            - presentation
            - contract
            - announcement
            - dataset
            - specification
            - other
          - type: 'null'
          title: Document Form
        document_topic:
          anyOf:
          - type: string
            enum:
            - finance
            - economics
            - business
            - legal
            - politics
            - technology
            - science
            - energy
            - sports
            - society
            - media
            - entertainment
            - personal
            - other
          - type: 'null'
          title: Document Topic
        has_thumbnail:
          type: boolean
          title: Has Thumbnail
        paged:
          type: boolean
          title: Paged
        attached_at:
          type: string
          format: date-time
          title: Attached At
        message_index:
          anyOf:
          - type: integer
          - type: 'null'
          title: Message Index
        detached:
          type: boolean
          title: Detached
          default: false
      type: object
      required:
      - document_id
      - file_name
      - title
      - status
      - scan_status
      - failure_code
      - failure_detail
      - mime_type
      - page_count
      - char_count
      - document_form
      - document_topic
      - has_thumbnail
      - paged
      - attached_at
      - message_index
      title: AttachedDocumentView
      description: A document attached to a conversation, as the composer and the thread render it.
    AttachDocumentRequest:
      properties:
        document_id:
          type: string
          format: uuid
          title: Document Id
      type: object
      required:
      - document_id
      title: AttachDocumentRequest
  securitySchemes:
    OAuth2AuthorizationCodeBearer:
      type: oauth2
      flows:
        authorizationCode:
          scopes: {}
          authorizationUrl: https://app.mantic.com/auth/oauth2/authorize
          tokenUrl: https://app.mantic.com/auth/oauth2/token