Event
One autopilot event. `data` by type: position.changed -> PositionChanged; signal.fired -> Proposal; analysis.completed -> AnalysisCompleted; analysis.failed -> {agent, error}; autopilot.stopped -> {reason}; autopilot.action -> {action, ...}.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Cursor: pass as after= to read what follows |
| type | string | |
| autopilot_id | string | |
| ts | stringnull | |
| expires_at | stringnull | Set on signal.fired and position.changed: act before it or ignore the event |
| data | object | Pick the shape by `type` (see above) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/simianx-ai/json-schema/simianx-ai-event-schema.json",
"title": "Event",
"description": "One autopilot event. `data` by type: position.changed -> PositionChanged; signal.fired -> Proposal; analysis.completed -> AnalysisCompleted; analysis.failed -> {agent, error}; autopilot.stopped -> {reason}; autopilot.action -> {action, ...}.",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/simianx-ai-openapi.json#/components/schemas/Event",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Cursor: pass as after= to read what follows"
},
"type": {
"type": "string",
"enum": [
"autopilot.started",
"autopilot.stopped",
"autopilot.paused_budget",
"autopilot.config_updated",
"autopilot.action",
"analysis.completed",
"analysis.failed",
"signal.fired",
"position.changed",
"timing_gate.changed"
]
},
"autopilot_id": {
"type": "string"
},
"ts": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Set on signal.fired and position.changed: act before it or ignore the event"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/PositionChanged"
},
{
"$ref": "#/$defs/Proposal"
},
{
"$ref": "#/$defs/AnalysisCompleted"
},
{
"type": "object"
}
],
"description": "Pick the shape by `type` (see above)"
}
},
"$defs": {
"AnalysisCompleted": {
"type": "object",
"description": "`data` of an `analysis.completed` event.",
"properties": {
"agent": {
"type": "string",
"enum": [
"indicator",
"intelligence",
"fundamental",
"decision"
]
},
"analysis_id": {
"type": [
"string",
"null"
]
},
"timeframe": {
"type": [
"string",
"null"
]
},
"model": {
"type": [
"string",
"null"
]
},
"points": {
"type": "number"
},
"skipped": {
"type": [
"string",
"null"
],
"description": "Why the run was skipped: timing_gate | extension_guard; stock also market_closed | market_holiday"
},
"signal": {
"type": "object",
"description": "direction, strength, confidence, subtype, source, ts"
},
"conclusion": {
"type": "object",
"description": "The agent's short conclusion (direction, confidence, summary, key_levels, ...)"
},
"proposal": {
"$ref": "#/$defs/Proposal"
}
}
},
"PositionChanged": {
"type": "object",
"description": "`data` of a `position.changed` event (the AI or a manual action moved the paper book).",
"properties": {
"symbol": {
"type": [
"string",
"null"
]
},
"market": {
"type": "string",
"enum": [
"crypto",
"stock"
]
},
"operation": {
"type": "string",
"enum": [
"open",
"add",
"reduce",
"close",
"close_and_reverse",
"update_sl",
"update_tp",
"update_both",
"place_order",
"fill_order",
"cancel_order",
"expire_order",
"replace_order"
]
},
"operation_id": {
"type": [
"string",
"null"
]
},
"position_id": {
"type": [
"string",
"null"
]
},
"side": {
"type": [
"string",
"null"
],
"enum": [
"long",
"short",
null
]
},
"status": {
"type": [
"string",
"null"
],
"description": "Position status after the operation (see Position.status)"
},
"execution_price": {
"type": [
"number",
"null"
]
},
"quantity_change": {
"type": [
"number",
"null"
]
},
"quantity": {
"type": [
"number",
"null"
],
"description": "Quantity after the operation"
},
"entry_price": {
"type": [
"number",
"null"
]
},
"position_value": {
"type": [
"number",
"null"
],
"description": "USD value after the operation"
},
"stop_loss": {
"type": [
"number",
"null"
]
},
"take_profit": {
"type": [
"number",
"null"
]
},
"pnl": {
"type": [
"number",
"null"
]
},
"pnl_percentage": {
"type": [
"number",
"null"
]
},
"pnl_at_operation": {
"type": [
"number",
"null"
]
},
"capital_remaining": {
"type": [
"number",
"null"
],
"description": "Available paper capital in USD"
},
"capital_initial": {
"type": [
"number",
"null"
]
},
"current_price": {
"type": [
"number",
"null"
]
},
"rationale": {
"type": "string"
}
}
},
"Proposal": {
"type": "object",
"description": "The decision agent's trade plan. `signal.fired` carries it (plus `agent`, `analysis_id`) when `action` is long or short; `analysis.completed` of the decision agent carries it as `proposal`.",
"properties": {
"action": {
"type": [
"string",
"null"
],
"enum": [
"long",
"short",
"hold",
"wait",
"no_trade",
null
]
},
"side": {
"type": [
"string",
"null"
]
},
"score": {
"type": [
"number",
"null"
]
},
"confidence": {
"type": [
"number",
"null"
]
},
"risk_level": {
"type": [
"string",
"null"
]
},
"entry_type": {
"type": [
"string",
"null"
],
"description": "market | limit | stop"
},
"entry_price": {
"type": [
"number",
"null"
]
},
"stop_loss": {
"type": [
"number",
"null"
]
},
"take_profit": {
"type": [
"number",
"null"
]
},
"rationale": {
"type": "string"
},
"agent": {
"type": "string",
"description": "signal.fired only"
},
"analysis_id": {
"type": [
"string",
"null"
],
"description": "signal.fired only"
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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
curl "https://apis.io/api/v1/json-schemas/simianx-ai-event"
curl "https://apis.io/api/v1/json-schemas?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.