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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/rokha-ai:rokha-ai-harnesses-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
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 Harnesses 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: Your memory and context records
name: harnesses
paths:
/api/harnesses:
get:
operationId: listHarnesses
parameters:
- in: query
name: wallet_address
schema:
type: string
- in: query
name: harness_type
schema:
$ref: '#/components/schemas/HarnessType'
- description: Comma-separated
in: query
name: tags
schema:
type: string
- in: query
name: limit
schema:
maximum: 500
minimum: 1
type: integer
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessesListResponse'
description: Harness list (wrapped in `{data, ...}` envelope)
'401':
$ref: '#/components/responses/Unauthorized'
security:
- bearerAuth: []
summary: List harnesses (with optional filters via query string)
tags:
- harnesses
post:
operationId: createHarness
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessCreateRequest'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessEnvelope'
description: Created
security:
- bearerAuth: []
summary: Create an harness
tags:
- harnesses
/api/harnesses/health:
get:
operationId: harnessesHealth
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HealthResponse'
description: Healthy
summary: Harnesses service health
tags:
- harnesses
/api/harnesses/search:
post:
operationId: searchHarnesses
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessSearchRequest'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessesListResponse'
description: Results
security:
- bearerAuth: []
summary: Search harnesses (keyword, fuzzy, or semantic)
tags:
- harnesses
/api/harnesses/wallet/{wallet}:
get:
operationId: getHarnessesByWallet
parameters:
- in: path
name: wallet
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessesListResponse'
description: List
security:
- bearerAuth: []
summary: All harnesses owned by a wallet
tags:
- harnesses
/api/harnesses/wallet/{wallet}/{key}:
get:
operationId: getHarnessByKey
parameters:
- in: path
name: wallet
required: true
schema:
type: string
- in: path
name: key
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessEnvelope'
description: Harness
'404':
$ref: '#/components/responses/NotFound'
security:
- bearerAuth: []
summary: Get a specific harness by wallet+key
tags:
- harnesses
/api/harnesses/{id}:
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
delete:
operationId: deleteHarness
responses:
'204':
description: Deleted
security:
- bearerAuth: []
summary: Delete an harness
tags:
- harnesses
get:
operationId: getHarness
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessEnvelope'
description: Harness
'404':
$ref: '#/components/responses/NotFound'
security:
- bearerAuth: []
summary: Get one harness by ID
tags:
- harnesses
put:
operationId: updateHarness
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessUpdateRequest'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessEnvelope'
description: Updated
security:
- bearerAuth: []
summary: Update an harness
tags:
- harnesses
/api/harnesses/{id}/fork:
post:
operationId: forkHarness
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/HarnessEnvelope'
description: Forked
security:
- bearerAuth: []
summary: Fork an harness for the calling user
tags:
- harnesses
/api/harnesses/{id}/publish:
post:
operationId: publishHarness
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
'200':
description: Published
security:
- bearerAuth: []
summary: Publish an harness (make it discoverable in Rokha Registry)
tags:
- harnesses
components:
schemas:
HarnessSearchRequest:
properties:
harness_type:
$ref: '#/components/schemas/HarnessType'
limit:
default: 50
maximum: 500
minimum: 1
type: integer
offset:
default: 0
minimum: 0
type: integer
query:
description: Required for fuzzy/semantic; optional for tag/type filter
type: string
search_mode:
$ref: '#/components/schemas/SearchMode'
tags:
items:
type: string
type: array
wallet_address:
type: string
type: object
HealthResponse:
additionalProperties: true
properties:
status:
example: healthy
type: string
uptime:
type: integer
version:
type: string
required:
- status
type: object
SearchMode:
enum:
- keyword
- fuzzy
- semantic
type: string
HarnessUpdateRequest:
properties:
content:
type: string
is_public:
type: boolean
metadata:
additionalProperties: true
type: object
tags:
items:
type: string
type: array
type: object
HarnessType:
enum:
- persona
- preference
- strategy
- knowledge
- compliance
type: string
Harness:
properties:
always_load:
description: 'Explicit always-load-vs-retrievable split: true = injected into agent context every turn; false (default) = retrievable by relevance (keyword/fuzzy/semantic search).'
type: boolean
content:
description: Often a JSON-encoded string
type: string
created_at:
format: date-time
type: string
harness_type:
$ref: '#/components/schemas/HarnessType'
id:
format: uuid
type: string
is_public:
type: boolean
key:
type: string
metadata:
additionalProperties: true
nullable: true
type: object
tags:
items:
type: string
type: array
updated_at:
format: date-time
type: string
version:
type: integer
wallet_address:
type: string
required:
- id
- wallet_address
- harness_type
- key
- content
type: object
HarnessEnvelope:
description: Wrapper that Erebus puts around a single harness response
properties:
data:
$ref: '#/components/schemas/Harness'
success:
type: boolean
type: object
HarnessesListResponse:
description: Wrapper used for list + search responses
properties:
data:
items:
$ref: '#/components/schemas/Harness'
type: array
limit:
type: integer
offset:
type: integer
success:
type: boolean
total:
type: integer
required:
- data
type: object
ErrorResponse:
properties:
code:
type: string
error:
description: Machine-readable error code
type: string
message:
type: string
name:
type: string
required:
- error
type: object
HarnessCreateRequest:
properties:
always_load:
default: false
description: true = inject into agent context every turn; false = retrievable by relevance
type: boolean
content:
type: string
harness_type:
$ref: '#/components/schemas/HarnessType'
is_public:
default: false
type: boolean
key:
description: Unique within (wallet, harness_type)
type: string
metadata:
additionalProperties: true
type: object
tags:
items:
type: string
type: array
wallet_address:
description: Erebus overrides with caller's identity
type: string
required:
- harness_type
- key
- content
type: object
responses:
Unauthorized:
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Missing or invalid auth
NotFound:
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Not found
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