Runheed MCP API
The Mcp API from Runheed — 8 operation(s) for mcp.
Operations 8
POST
/api/mcp/errors/{id}/resolve
Mark resolved, with an optional comment such as the fixing commit
#
The Mcp API from Runheed — 8 operation(s) for mcp.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/runheed-com:runheed-com-mcp-api"
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.
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: 3.2.0
info:
title: Runheed MCP API
version: 1.0.0
description: 'Report errors from any language (ingest) and read or resolve them (the API the Runheed MCP server uses). Setup: https://runheed.com/docs'
contact:
email: hello@greatwork.company
servers:
- url: https://runheed.com
tags:
- name: MCP
paths:
/api/mcp/errors:
get:
summary: Search error groups
security:
- agentKey: []
parameters:
- name: query
in: query
schema:
type: string
- name: status
in: query
schema:
type: string
enum:
- unresolved
- resolved
- ignored
- name: projectId
in: query
schema:
type: string
- name: limit
in: query
schema:
type: integer
maximum: 100
default: 20
- name: sort
in: query
schema:
type: string
default: recent
responses:
'200':
description: Matching groups
content:
application/json:
schema:
type: object
properties:
errors:
type: array
items:
$ref: '#/components/schemas/ErrorGroup'
'401':
description: Missing, unknown or revoked agent key, or a project key (pk_) used where an agent key (al_) is needed. `code` and `fix_url` say which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The workspace has no active plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- MCP
operationId: getApiMcpErrors
x-operation-id-source: derived
/api/mcp/errors/{id}:
get:
summary: 'Error detail: stack trace, breadcrumbs, agent context'
security:
- agentKey: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Error group id
responses:
'200':
description: Error group with its latest event
content:
application/json:
schema:
type: object
'401':
description: Missing, unknown or revoked agent key, or a project key (pk_) used where an agent key (al_) is needed. `code` and `fix_url` say which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The workspace has no active plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No error with that id in this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- MCP
operationId: getApiMcpErrorsById
x-operation-id-source: derived
/api/mcp/errors/{id}/context:
get:
summary: Environment, user, agent, breadcrumbs and extra data
security:
- agentKey: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Error group id
responses:
'200':
description: Context
content:
application/json:
schema:
type: object
'401':
description: Missing, unknown or revoked agent key, or a project key (pk_) used where an agent key (al_) is needed. `code` and `fix_url` say which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The workspace has no active plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No error with that id in this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- MCP
operationId: getApiMcpErrorsByIdContext
x-operation-id-source: derived
/api/mcp/errors/{id}/resolve:
post:
summary: Mark resolved, with an optional comment such as the fixing commit
security:
- agentKey: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Error group id
requestBody:
content:
application/json:
schema:
type: object
properties:
comment:
type: string
responses:
'200':
description: Resolved
content:
application/json:
schema:
type: object
'401':
description: Missing, unknown or revoked agent key, or a project key (pk_) used where an agent key (al_) is needed. `code` and `fix_url` say which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The workspace has no active plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No error with that id in this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- MCP
operationId: postApiMcpErrorsByIdResolve
x-operation-id-source: derived
/api/mcp/errors/{id}/ignore:
post:
summary: Ignore an error
security:
- agentKey: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Error group id
requestBody:
content:
application/json:
schema:
type: object
properties:
reason:
type: string
responses:
'200':
description: Ignored
content:
application/json:
schema:
type: object
'401':
description: Missing, unknown or revoked agent key, or a project key (pk_) used where an agent key (al_) is needed. `code` and `fix_url` say which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The workspace has no active plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No error with that id in this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- MCP
operationId: postApiMcpErrorsByIdIgnore
x-operation-id-source: derived
/api/mcp/errors/{id}/unignore:
post:
summary: Stop ignoring an error
security:
- agentKey: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Error group id
responses:
'200':
description: Unignored
content:
application/json:
schema:
type: object
'401':
description: Missing, unknown or revoked agent key, or a project key (pk_) used where an agent key (al_) is needed. `code` and `fix_url` say which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The workspace has no active plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No error with that id in this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- MCP
operationId: postApiMcpErrorsByIdUnignore
x-operation-id-source: derived
/api/mcp/trends:
get:
summary: Counts and top errors
security:
- agentKey: []
parameters:
- name: period
in: query
schema:
type: string
enum:
- 24h
- 7d
- 30d
- name: projectId
in: query
schema:
type: string
responses:
'200':
description: Trends
content:
application/json:
schema:
type: object
properties:
totalErrors:
type: integer
newErrors:
type: integer
resolvedErrors:
type: integer
topErrors:
type: array
items:
type: object
'401':
description: Missing, unknown or revoked agent key, or a project key (pk_) used where an agent key (al_) is needed. `code` and `fix_url` say which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The workspace has no active plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- MCP
operationId: getApiMcpTrends
x-operation-id-source: derived
/api/mcp/health:
get:
summary: Project health score (0 to 100) with recommendations
security:
- agentKey: []
parameters:
- name: projectId
in: query
schema:
type: string
responses:
'200':
description: Health
content:
application/json:
schema:
type: object
properties:
healthScore:
type: integer
errors24h:
type: integer
unresolvedCount:
type: integer
recommendations:
type: array
items:
type: string
'401':
description: Missing, unknown or revoked agent key, or a project key (pk_) used where an agent key (al_) is needed. `code` and `fix_url` say which.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The workspace has no active plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- MCP
operationId: getApiMcpHealth
x-operation-id-source: derived
components:
schemas:
Error:
type: object
properties:
error:
type: string
description: What happened and what to do next
code:
type: string
fix_url:
type: string
format: uri
required:
- error
ErrorGroup:
type: object
properties:
id:
type: string
errorType:
type: string
errorMessage:
type: string
status:
type: string
enum:
- unresolved
- resolved
- ignored
- muted
eventCount:
type: integer
firstSeen:
type: string
lastSeen:
type: string
projectName:
type: string
securitySchemes:
projectKey:
type: apiKey
in: header
name: X-Runheed-Key
description: 'The pk_... part of a project DSN. Authorization: Bearer pk_... also works.'
agentKey:
type: http
scheme: bearer
description: Agent key (al_...) from Settings > Agent keys.