DNA Nanobots AI API

The Ai API from DNA Nanobots, for ai.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

POST /api/ai Chat #
POST /api/ai/stream Chat Stream #
GET /api/ai/context Get Ai Context #
GET /api/ai/executive/context Get Executive Context #
POST /api/ai/executive Executive Briefing #

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/dna-nanobots:dna-nanobots-ai-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

dna-nanobots-ai-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast AI API
  version: 0.1.0
tags:
- name: AI
paths:
  /api/ai:
    post:
      summary: Chat
      description: 'Chief. Everything an answer does is blocking (model calls, 529

        retry sleeps, DB, vault search), so it runs on a worker thread.

        Running it on the event loop froze the whole single-process server

        -- chat sockets, presence, page loads and every other person''s

        Chief question -- for as long as one answer took. Do NOT fix this

        with more uvicorn workers: presence and the chat sockets keep their

        state in memory in this one process.'
      operationId: chat_api_ai_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - AI
  /api/ai/stream:
    post:
      summary: Chat Stream
      description: 'Chief, streamed: the answer''s text arrives as it is written

        (server-sent events: delta / reset / status / done / error). Same

        work, same limits, same logging as POST /api/ai, which stays as it is

        for the classic UI and anything else that calls it. The page falls

        back to /api/ai if this route isn''t there.'
      operationId: chat_stream_api_ai_stream_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - AI
  /api/ai/context:
    get:
      summary: Get Ai Context
      description: Return the structured Personal Chief context (for frontend sidebar and debugging).
      operationId: get_ai_context_api_ai_context_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      tags:
      - AI
  /api/ai/executive/context:
    get:
      summary: Get Executive Context
      description: Return the structured Executive context.
      operationId: get_executive_context_api_ai_executive_context_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      tags:
      - AI
  /api/ai/executive:
    post:
      summary: Executive Briefing
      description: Generate an executive briefing. Uses structured context; caches text in user prefs.
      operationId: executive_briefing_api_ai_executive_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      tags:
      - AI
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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:
        role:
          type: string
          title: Role
        content:
          type: string
          title: Content
      type: object
      required:
      - role
      - content
      title: Message
    ChatRequest:
      properties:
        messages:
          items:
            $ref: '#/components/schemas/Message'
          type: array
          title: Messages
        context:
          type: string
          title: Context
          default: ''
        supports_cards:
          type: boolean
          title: Supports Cards
          default: false
      type: object
      required:
      - messages
      title: ChatRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer