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:
title: SentinelX Hub Op API
description: MCP server + WebSocket bridge to sentinelx-core agents
version: 0.57.61
tags:
- name: Op
paths:
/v1/op:
post:
tags:
- Op
summary: Post Op
description: 'Authenticate an API key and run one op through the shared ``forward()``.
``client_request_id`` is optional. When present it creates an at-most-once
execution boundary in Redis: an identical retry replays the stored response,
a conflicting reuse is rejected, and concurrent duplicates cannot both run.
Every authenticated request also gets a Hub-generated ``hub_request_id`` for
correlation across response + audit.'
operationId: post_op_v1_op_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OpRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
title: Response Post Op V1 Op Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
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
OpRequest:
properties:
op:
type: string
title: Op
host_id:
anyOf:
- type: string
- type: 'null'
title: Host Id
payload:
additionalProperties: true
type: object
title: Payload
client_request_id:
anyOf:
- type: string
maxLength: 128
minLength: 1
pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]*$
- type: 'null'
title: Client Request Id
description: Optional caller-generated idempotency key. Reusing it with the same logical request replays the prior result without re-executing; reusing it with different op/host/payload is rejected.
type: object
required:
- op
title: OpRequest
description: Body of ``POST /v1/op`` — the same triple an MCP tool resolves to.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError