Documentation
Send metrics with a clean REST API, query time-series data, and export to CSV.
Getting Started
Create an API key, send your first point to `/v1/ingest`, then view it in your dashboard.
Quick Start
Send your first metric with one curl command:
curl -X POST https://api.statflow.dev/v1/ingest
-H "Authorization: Bearer sf_your_key_here"
-H "Content-Type: application/json"
-d '{"stat":"my_first_metric","value":1,"type":"counter"}'Authentication
API Keys
Create and manage API keys in the dashboard. Use `read` and `write` scopes to limit access.
API Endpoints
Base URL: https://api.statflow.dev
Alerts
Configure threshold, delta, and deadman alerts from the dashboard.
Dashboards
Build dashboards, share public links, and embed charts.
Stats Management
Annotations
Add timeline notes for deployments, incidents, and changes with `POST /v1/annotations`.
Data Import
Import historical data from StatHat in Dashboard Import using your StatHat access token.
API endpoints: /v1/import/stathat and /v1/import/stathat/status.
REST API Usage Notes
Existing integrations that send HTTP JSON requests can switch to StatFlow by targeting the endpoints above and sending Bearer auth.
Plans & Billing
Free to start. Upgrade when you need more stats, data points, and retention.
Client Libraries
Use any HTTP client or SDK that can send JSON to the REST endpoints above.