Skip to Content
FlowShapeDocs
Agent

HTTP API

The routes FlowShape's page uses, for your own checks.

Every route needs Authorization: Bearer <key>.

RouteAnswers
GET /v1/infothe version, the machine's name and the sources, with when each was collected; with --grafana, Grafana's address and label
POST /v1/collectcollects every source again, then answers like /v1/info
GET /v1/sources/<id>one source's output, secrets dropped (kubectl and Terraform JSON is re-serialised)
GET /v1/monitoringGrafana's data sources: metrics, logs, traces
GET /v1/monitoring/status?names=a,bper name: up, the share of 5xx answers, p95 latency, requests a minute
GET /v1/monitoring/logs?name=athe latest log lines of one item
GET /v1/monitoring/traces?name=arecent traces through one item, with links into Grafana