Prism — Service Interface (MCP tools, REST endpoints)
Service interface
Prism — Cost Lens Engine: Traversal, Observation, Threat, Temporal.
Port: 8004 API version: /api/v1 Domain: Cost Lens — multi-factor cost computation, traversal, satellite observation, threat analysis, temporal optimization
Prism follows the dual REST + MCP service contract (platform.service-contract). Token validation and UDS persistence come from axonis-core (platform.axonis-core); evidence and result documents are written to Prism's own ES index via the Unified Dataspace surface (component.fedai-rest.dataspace).
Domain objects
Prism uses its own model hierarchy (not axonis-core userspace objects):
CostLensSpec,CostLensResult,EvidenceBlock,Signal(fromlens/models/)Route,Isochrone,RiskSurface,FloodExtent,ActionWindow(from compute modules)
Prism persists evidence blocks and results to its own ES index (prism) via UDS from axonis-core
(component.fedai-rest.dataspace).
The lens/cost domain model these objects realize is specified by the cross-service Lens product spec (product.lens); the engine internals that produce them are specified by Prism's component specs — the lens parser (component.prism.universal-lens-parser), cost primitives (component.prism.cost-primitives), scoring (component.prism.scoring-engine), evidence model (component.prism.evidence-model), and the traversal (component.prism.traversal-engine), observation (component.prism.observation-engine), threat (component.prism.threat-engine), and temporal (component.prism.temporal-engine) engines.
MCP tools (13)
Cost Lens (3): execute_lens, compare_coas, parse_lens
Traversal (3): route, isochrone, execute_mobility_surface
Observation (2): collection_windows, coverage_surface
Threat (2): risk_surface, flood_extent
Temporal (2): action_windows, optimal_departure
Packs (1): list_packs
REST endpoints
| Method | Path | Maps to MCP tool |
|---|---|---|
| POST | /api/v1/lens/execute |
execute_lens |
| POST | /api/v1/lens/compare |
compare_coas |
| POST | /api/v1/lens/parse |
parse_lens |
| POST | /api/v1/route |
route |
| POST | /api/v1/isochrone |
isochrone |
| POST | /api/v1/mobility/surface |
execute_mobility_surface |
| POST | /api/v1/observation/windows |
collection_windows |
| POST | /api/v1/observation/coverage |
coverage_surface |
| POST | /api/v1/threat/risk |
risk_surface |
| POST | /api/v1/threat/flood |
flood_extent |
| POST | /api/v1/temporal/windows |
action_windows |
| POST | /api/v1/temporal/departure |
optimal_departure |
| GET | /api/v1/packs |
list_packs |
Depends on: platform.axonis-core, platform.service-contract
Realizes: product.lens
Required by: component.prism.cost-lens-governance