Farsight Feeds

API Overview

The Farsight feed adapter HTTP and gRPC surface at a glance — with pointers to feature pages.

The adapter exposes one HTTP API on :8080 (:18181 for the local launchd agent, farsight.r2d2.office.ilab.zone for the production deployment) and a parallel gRPC service on :50051. The OpenAPI 3.1 contract is at /openapi.yaml / /openapi.json, and a ready-to-browse Scalar reference lives at /reference.

Where to look

If you want…Read
The full route catalog with parameter & response schemas/reference (Scalar over openapi.yaml).
What each layer is and where it comes fromFeed Reference.
The TrailBase localizer & layer countsTrailBase Cache.
Operator AOIs, sub-feeds, sourcesOperator Control Plane.
Alerts query + facet APIAlerts API.
Spacecraft catalog + propagationSatellites.
Per-vessel enrichment + bad-actor watchlistVessels.
Learned aircraft corridors + predicted tracks + fusionAnalysis.
Vector tiles, live streaming, history/replay (planned)Tiles & Streaming.
The Rust→Rust gRPC IPC surfacegRPC Service.
The SSRF-guarded camera-stream proxyWebcam Proxy.

Surface summary

GroupRoutesLive today?
Health / docs / OpenAPI / Scalar~10yes
Catalog, layers, datasets, feeds, upstreams~10yes
Operator control plane (AOIs, sub-feeds, sources, regions)13yes
Alerts (query + facets)2yes
Satellites (search, positions, stats, detail, track, passes)6yes
Vessels (enrichment + watchlist)3yes
Analysis (corridors, predicted, fusion)3yes
Webcam proxy1yes
Farsight SPA + assets~7yes (gated on JOSHUA_ENABLED)
Vector tiles, SSE/WS streaming, history/replay6planned — 404 today
Custom feeds + MQTT admin + catalog marketplace15+planned — 404 today
gRPC RPCs10yes (9 unary + StreamLayer)

Planned endpoints carry a 🚧 banner in the Scalar reference so consumers don't mistake them for live.

Export formats

GET /layers/{key}?format=… supports:

FormatMedia typeNotes
geojson (default)application/geo+json
jsonapplication/json
kmlapplication/vnd.google-earth.kml+xml
kmzapplication/vnd.google-earth.kmzZipped KML.
topojsonapplication/json
shpapplication/zipShapefile bundle.
fgbapplication/flatgeobufFlatGeobuf, R-tree-indexed binary.
othtext/plainOTherGold record list.
mvtapplication/vnd.mapbox-vector-tilePlanned — see Tiles & Streaming.

Documentation boundary

This site documents the adapter's external contracts. Internal Rust crate layout, build steps, and operator runbooks live in the repo README.md and CLAUDE.md. The OpenAPI document is the single source of truth for request and response shapes — anything ambiguous on a feature page is settled there.

On this page