PolyAPI Assistants API

Manage AI assistants and conversations for AI-powered document assistance and discovery.

Operations 4

GET /assistants/{slug}/conversations PolyAPI List conversations #
POST /assistants/{slug}/conversations PolyAPI Create a conversation #
GET /assistants/{slug}/conversations/{conversationSlug} PolyAPI Get a conversation #
DELETE /assistants/{slug}/conversations/{conversationSlug} PolyAPI Delete a conversation #

Documentation

Specifications

Schemas & Data

Other Resources

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/polyapi-assistants-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

polyapi-assistants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PolyAPI Platform API Functions Assistants API
  description: PolyAPI is a modern enterprise middleware platform that provides a unified REST API for managing cloud service resources including functions, variables, webhooks, triggers, jobs, schemas, and environments. Built using AI and Kubernetes-native technology, it accelerates development and simplifies the operation of integrations, orchestrations, and microservices.
  version: 1.0.0
  contact:
    name: PolyAPI
    url: https://polyapi.io/
  license:
    name: Proprietary
    url: https://polyapi.io/
  termsOfService: https://polyapi.io/
servers:
- url: https://na1.polyapi.io
  description: North America (AWS us-west-2)
- url: https://eu1.polyapi.io
  description: Europe (AWS eu-west-1)
security:
- bearerAuth: []
tags:
- name: Assistants
  description: Manage AI assistants and conversations for AI-powered document assistance and discovery.
paths:
  /assistants/{slug}/conversations:
    get:
      operationId: listConversations
      summary: PolyAPI List conversations
      description: Retrieve a list of all conversations for a specific assistant.
      tags:
      - Assistants
      parameters:
      - name: slug
        in: path
        required: true
        description: The assistant slug identifier.
        schema:
          type: string
      responses:
        '200':
          description: A list of conversations.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Conversation'
        '401':
          $ref: '#/components/responses/Unauthorized'
    post:
      operationId: createConversation
      summary: PolyAPI Create a conversation
      description: Create a new conversation with the specified assistant.
      tags:
      - Assistants
      parameters:
      - name: slug
        in: path
        required: true
        description: The assistant slug identifier.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConversationInput'
      responses:
        '201':
          description: The created conversation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Conversation'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /assistants/{slug}/conversations/{conversationSlug}:
    get:
      operationId: getConversation
      summary: PolyAPI Get a conversation
      description: Retrieve details of a specific conversation.
      tags:
      - Assistants
      parameters:
      - name: slug
        in: path
        required: true
        description: The assistant slug identifier.
        schema:
          type: string
      - name: conversationSlug
        in: path
        required: true
        description: The conversation slug identifier.
        schema:
          type: string
      responses:
        '200':
          description: The conversation details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Conversation'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: deleteConversation
      summary: PolyAPI Delete a conversation
      description: Delete a specific conversation.
      tags:
      - Assistants
      parameters:
      - name: slug
        in: path
        required: true
        description: The assistant slug identifier.
        schema:
          type: string
      - name: conversationSlug
        in: path
        required: true
        description: The conversation slug identifier.
        schema:
          type: string
      responses:
        '204':
          description: The conversation was deleted successfully.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Error:
      type: object
      properties:
        statusCode:
          type: integer
          description: The HTTP status code.
        message:
          type: string
          description: A human-readable error message.
        error:
          type: string
          description: The error type.
    ConversationInput:
      type: object
      required:
      - message
      properties:
        message:
          type: string
          description: The initial message to start the conversation.
    Conversation:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the conversation.
        slug:
          type: string
          description: The slug identifier for the conversation.
        messages:
          type: array
          items:
            type: object
            properties:
              role:
                type: string
                enum:
                - user
                - assistant
              content:
                type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
  responses:
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Authentication is required or the provided credentials are invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: PolyAPI uses Bearer token authentication. Include your API key in the Authorization header as 'Bearer {your-api-key}'.
externalDocs:
  description: PolyAPI Documentation
  url: https://docs.polyapi.io/