POST /run
Submit an input for reasoning. Returns structured output with epistemic status.
Endpoint
http
POST https://api.doorwayagi.com/runRequest body
json
{
"input": "Why do complex systems exhibit emergent behavior?",
"session_name": "doorway"
}| Field | Type | Required | Description |
|---|---|---|---|
input | string | Yes | The reasoning input |
session_name | string | No | Session identifier for chain continuity. Defaults to "doorway" |
Response
json
{
"status": "GROUND",
"content": {
"answer": "Complex systems exhibit emergence because...",
"confidence": 0.89,
"implication": "This suggests that emergence is a structural property..."
},
"structure": {
"closest_shape": "hexagon_layered",
"geometric_confidence": 0.91,
"gap_score": 0.15,
"fires": false
},
"bridge": null,
"conflict": {
"conflict": false,
"message": ""
},
"chain": {
"id": "ch_abc123",
"root": "0xdef456...",
"length": 1,
"verified": true
},
"receipt": { ... }
}Status codes
| Code | Meaning |
|---|---|
| 200 | Reasoning completed successfully |
| 400 | Invalid request body |
| 401 | Missing or invalid API key |
| 403 | Tier mismatch — ASI features require ASI tier |
| 500 | Internal engine error |