AutoGPT Otto API

The otto API from AutoGPT — 1 operation(s) for otto.

Operations 1

POST /api/otto/ask Proxy Otto Chat Request #

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/autogpt:autogpt-otto-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

autogpt-otto-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AutoGPT Agent Server Otto API
  summary: AutoGPT Agent Server
  description: This server is used to execute agents that are created by the AutoGPT system.
  version: '0.1'
tags:
- name: otto
paths:
  /api/otto/ask:
    post:
      tags:
      - otto
      summary: Proxy Otto Chat Request
      description: 'Proxy requests to Otto API while adding necessary security headers and logging.

        Requires an authenticated user.'
      operationId: postV2ProxyOttoChatRequest
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearerJWT: []
      x-operation-id-source: normalized
      x-operation-id-original: postV2Proxy otto chat request
components:
  responses:
    HTTP401NotAuthenticatedError:
      description: Authentication required
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
  schemas:
    ApiResponse:
      properties:
        answer:
          type: string
          title: Answer
        documents:
          items:
            $ref: '#/components/schemas/Document'
          type: array
          title: Documents
        success:
          type: boolean
          title: Success
      type: object
      required:
      - answer
      - documents
      - success
      title: ApiResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ChatRequest:
      properties:
        query:
          type: string
          title: Query
        conversation_history:
          items:
            $ref: '#/components/schemas/Message'
          type: array
          title: Conversation History
        message_id:
          type: string
          title: Message Id
        include_graph_data:
          type: boolean
          title: Include Graph Data
          default: false
        graph_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Graph Id
      type: object
      required:
      - query
      - conversation_history
      - message_id
      title: ChatRequest
    Document:
      properties:
        url:
          type: string
          title: Url
        relevance_score:
          type: number
          title: Relevance Score
      type: object
      required:
      - url
      - relevance_score
      title: Document
    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
    Message:
      properties:
        query:
          type: string
          title: Query
        response:
          type: string
          title: Response
      type: object
      required:
      - query
      - response
      title: Message
  securitySchemes:
    APIKeyAuthenticator-X-Postmark-Webhook-Token:
      type: apiKey
      in: header
      name: X-Postmark-Webhook-Token
    HTTPBearer:
      type: http
      scheme: bearer
    HTTPBearerJWT:
      type: http
      scheme: bearer
      bearerFormat: jwt