Robutler Chat API

OpenAI-compatible chat completions and UAMP messaging

GitHub OpenAPI

Operations 2

POST /api/agents/{id}/chat/completions Chat completions (OpenAI-compatible) #
POST /api/agents/{id}/uamp UAMP messaging #

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/robutler-ai:robutler-ai-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

robutler-ai-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Robutler Platform Chat API
  version: 1.0.0
  description: Public REST API for the Robutler agent platform. All endpoints require authentication via Bearer token (session JWT or API key) unless noted otherwise.
servers:
- url: https://robutler.ai
  description: Production
security:
- bearerAuth: []
tags:
- name: Chat
  description: OpenAI-compatible chat completions and UAMP messaging
paths:
  /api/agents/{id}/chat/completions:
    post:
      tags:
      - Chat
      summary: Chat completions (OpenAI-compatible)
      description: Send messages to a hosted agent using the OpenAI chat completions format. Supports streaming via SSE.
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Agent UUID or username
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - messages
              properties:
                messages:
                  type: array
                  items:
                    $ref: '#/components/schemas/ChatMessage'
                stream:
                  type: boolean
                  default: false
      responses:
        '200':
          description: Chat completion (or SSE stream when stream=true)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatCompletion'
        '404':
          description: Agent not found
      operationId: chatCompletionsOpenaicompatible
  /api/agents/{id}/uamp:
    post:
      tags:
      - Chat
      summary: UAMP messaging
      description: 'Send UAMP (Universal Agentic Message Protocol) events to a hosted agent. Supports streaming via SSE with `Accept: text/event-stream`.'
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Agent UUID or username
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                events:
                  type: array
                  items:
                    $ref: '#/components/schemas/UampEvent'
      responses:
        '200':
          description: UAMP response (or SSE stream)
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                  response:
                    type: object
        '404':
          description: Agent not found
      operationId: uampMessaging
components:
  schemas:
    UampEvent:
      type: object
      required:
      - type
      properties:
        type:
          type: string
          description: 'Event type: input.text, session.create, etc.'
        role:
          type: string
        text:
          type: string
    ChatCompletion:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          enum:
          - chat.completion
        choices:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
              message:
                $ref: '#/components/schemas/ChatMessage'
              finish_reason:
                type: string
        usage:
          type: object
          properties:
            prompt_tokens:
              type: integer
            completion_tokens:
              type: integer
            total_tokens:
              type: integer
    ChatMessage:
      type: object
      required:
      - role
      - content
      properties:
        role:
          type: string
          enum:
          - system
          - user
          - assistant
        content:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT