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.
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 Registry 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:
- name: Registry
paths:
/v0.1/servers:
get:
description: 'Serves Rokha''s registry in the official MCP Registry wire shape so any spec-compliant client (VS Code, Copilot, MCP Hub, Azure API Center) discovers our listings with zero Rokha-specific code. Read-only, anonymous. Response envelope: `{ servers: [{ server, _meta }], metadata: { count, nextCursor } }`. Rokha extras live under `_meta["ai.rokha/listing"]` (provider, executionClass, probeVerified, license, downloads, url). Mirror also at `/api/registry/v0.1/servers`.'
operationId: listSpecServers
parameters:
- description: Opaque pagination cursor from metadata.nextCursor
in: query
name: cursor
required: false
schema:
type: string
- in: query
name: limit
required: false
schema:
maximum: 100
minimum: 1
type: integer
- in: query
name: search
required: false
schema:
type: string
- description: Rokha extension — restrict to one source provider
in: query
name: provider
required: false
schema:
type: string
responses:
'200':
content:
application/json:
schema:
type: object
description: Spec-shaped server list
summary: Generic MCP Registry API — list servers (spec-compatible mirror)
tags:
- Registry
/v0.1/servers/{name}/versions/{version}:
get:
description: Resolve one server by its spec `name` (Rokha's external_id, which may contain slashes). `{version}` accepts `latest` (or the stored version); a concrete mismatch 404s. Returns the same `{ server, _meta }` envelope. The bare `/v0.1/servers/{name}` form is also served. Mirror at `/api/registry/v0.1/servers/...`.
operationId: getSpecServer
parameters:
- in: path
name: name
required: true
schema:
type: string
- description: '`latest` or a concrete version'
in: path
name: version
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
type: object
description: Spec-shaped server object
'404':
description: Unknown server name or version
summary: Generic MCP Registry API — single server detail
tags:
- Registry
components:
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