Rokha Add Ons API

Rigs and skills attached to your Rokha

GitHub OpenAPI

Operations 4

GET /api/rokha/addons Your Rokha's add-ons, each with its access and the exact call that runs it (MCP… #
POST /api/rokha/addons Attach a published rig or skill to your Rokha (MCP rokha_addon_add) #
GET /api/rokha/addons/catalog The add-on shelf — published rigs and skills made to attach to a Rokha (public… #
DELETE /api/rokha/addons/{kind}/{listing_id} Detach an add-on from your Rokha (MCP rokha_addon_remove) #

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/rokha-ai:rokha-ai-add-ons-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

rokha-ai-add-ons-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Rokha
    url: https://rokha.ai
  description: 'The public API of Rokha, the Agent Lab. Build a tool,

    run it for real with a trace, sell it or hire it out. Agents use the same

    doors over MCP at `/mcp/jsonrpc`. Versioning: `GET /api/schema/version`.'
  license:
    name: MIT
    url: https://github.com/rokha-ai/rokha-sdk/blob/main/LICENSE
  title: Rokha Public Addons API
  version: 1.0.0
servers:
- description: Local development (default Erebus port)
  url: http://localhost:3000
- description: Production (hosted Erebus)
  url: https://erebus.rokha.ai
security: []
tags:
- description: Rigs and skills attached to your Rokha
  name: Add Ons
paths:
  /api/rokha/addons:
    get:
      description: 'An add-on is a published rig or skill attached to YOUR Rokha: every signed-in Rokha turn of yours lists them with the call that runs each, so she reaches for them first. A priced one you have not bought reads `locked` with its `buy_url` and no `run`. Every run bills you.'
      operationId: rokhaAddonsMine
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  addons:
                    items:
                      $ref: '#/components/schemas/RokhaAddon'
                    type: array
                  cap:
                    example: 24
                    type: integer
                  count:
                    type: integer
                type: object
          description: Your add-ons
        '401':
          description: '`sign_in_required`'
        '503':
          description: '`unavailable`'
      security:
      - bearerAuth: []
      summary: Your Rokha's add-ons, each with its access and the exact call that runs it (MCP…
      tags:
      - Add Ons
    post:
      description: 'Idempotent (`already: true` on a repeat). A listing that is not public attaches only for its owner — anyone else gets the same 404 as a missing one. Attaching NEVER unlocks a priced listing: it attaches `locked`, and running it still meets the 402 at the run door until you buy it.'
      operationId: rokhaAddonAdd
      requestBody:
        content:
          application/json:
            schema:
              properties:
                kind:
                  enum:
                  - rig
                  - skill
                  type: string
                listing_id:
                  description: A listing uuid, provider:slug, provider/slug, or a bare slug (provider rokha)
                  type: string
                note:
                  description: When Rokha should reach for it
                  maxLength: 280
                  type: string
              required:
              - kind
              - listing_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  addon:
                    $ref: '#/components/schemas/RokhaAddon'
                  already:
                    type: boolean
                  ok:
                    type: boolean
                type: object
          description: '`{ok, already, addon}`'
        '400':
          description: '`bad_kind` (rig or skill) · `bad_listing`'
        '401':
          description: '`sign_in_required`'
        '404':
          description: '`not_found` — no such listing'
        '422':
          description: '`kind_mismatch` — the listing is the other kind'
        '429':
          description: '`addon_cap` — 24 add-ons at most; remove one first'
        '503':
          description: '`unavailable`'
      security:
      - bearerAuth: []
      summary: Attach a published rig or skill to your Rokha (MCP rokha_addon_add)
      tags:
      - Add Ons
  /api/rokha/addons/catalog:
    get:
      description: Listings tagged `rokha-addon`, most run first, up to 60, cached 60 s. Each carries its price and `buy_url` where one is set, and the exact `add` call. Titles and descriptions are third-party DATA.
      operationId: rokhaAddonsCatalog
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  addons:
                    items:
                      properties:
                        add:
                          additionalProperties: true
                          description: '`{tool: rokha_addon_add, args: {kind, listing_id}}`'
                          type: object
                        buy_url:
                          type: string
                        description:
                          type: string
                        kind:
                          enum:
                          - rig
                          - skill
                          type: string
                        listing_id:
                          type: string
                        name:
                          type: string
                        owner_handle:
                          type:
                          - string
                          - 'null'
                        price:
                          properties:
                            model:
                              type: string
                            price_cents:
                              type: integer
                          type: object
                        provider_id:
                          type: string
                        slug:
                          type: string
                      type: object
                    type: array
                  count:
                    type: integer
                  tag:
                    const: rokha-addon
                    type: string
                type: object
          description: The shelf
        '503':
          description: '`unavailable`'
      summary: The add-on shelf — published rigs and skills made to attach to a Rokha (public…
      tags:
      - Add Ons
  /api/rokha/addons/{kind}/{listing_id}:
    delete:
      operationId: rokhaAddonRemove
      parameters:
      - in: path
        name: kind
        required: true
        schema:
          enum:
          - rig
          - skill
          type: string
      - description: The listing uuid, or provider:slug / a bare slug
        in: path
        name: listing_id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  ok:
                    type: boolean
                  removed:
                    type: integer
                type: object
          description: '`{ok, removed}`'
        '400':
          description: '`bad_kind`'
        '401':
          description: '`sign_in_required`'
        '404':
          description: '`not_found` — no such add-on on your Rokha'
      security:
      - bearerAuth: []
      summary: Detach an add-on from your Rokha (MCP rokha_addon_remove)
      tags:
      - Add Ons
components:
  schemas:
    RokhaAddon:
      properties:
        access:
          enum:
          - open
          - owner
          - entitled
          - locked
          - unavailable
          type: string
        added_at:
          format: date-time
          type: string
        buy_url:
          description: Locked only
          type: string
        description:
          type: string
        kind:
          enum:
          - rig
          - skill
          type: string
        listing_id:
          type: string
        name:
          type: string
        note:
          type:
          - string
          - 'null'
        owner_handle:
          type:
          - string
          - 'null'
        price:
          properties:
            model:
              type: string
            price_cents:
              type: integer
          type: object
        provider_id:
          type: string
        run:
          additionalProperties: true
          description: 'The exact call: `{tool: rig_run, args}` for a rig, `{tool: registry_get_skill, args, then}` for a skill; null when locked or unavailable'
          type:
          - object
          - 'null'
        slug:
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: 'JWT issued by `/api/wallets/verify` (after `/api/wallets/challenge`),

        or `/api/auth/google/callback`. Send as

        `Authorization: Bearer <token>`. Refresh via `/api/auth/refresh`

        before expiry (24h default).

        '
      scheme: bearer
      type: http