Everything you need to stream and query events in real time.
Prism is a real-time analytics platform. You stream events in, query them with SQL the moment they land, and visualize or alert on the results — all in under a second.
All requests are made over HTTPS against https://api.prism.example. Responses are JSON.
$ curl https://api.prism.example/v1/query \ -H "Authorization: Bearer pk_..." \ -d '{"sql":"SELECT city, COUNT(*) FROM events GROUP BY city"}'
The core resource is a Stream. Create one, push events, then query them in SQL.
| Endpoint | Method | Description |
|---|---|---|
/v1/streams | POST | Create a stream |
/v1/streams/:id/events | POST | Ingest events |
/v1/query | POST | Run SQL over a stream |
/v1/alerts | POST | Create an alert |
A stream is an append-only log of events. Push events over HTTP or Kafka, and they're queryable in real time. Set a retention window or keep them forever.
Run a query on a schedule (down to one second), and notify your team when the result crosses a threshold. Alert to Slack, email or a webhook.
We are SOC 2 Type II audited. Field-level permissions and SSO are built in, so every query and dashboard respects your access rules.