Call DeltaStream’s REST API
This page describes how you can use DeltaStream's REST API from your applications to submit statements and run queries.
POST https://<your-org-endpoint>/v2/statements
Content-Type: application/json
Authorization: Bearer <API_TOKEN>
Body: {"statement": "<DeltaStream SQL>"}1) Create an API token

2) Find your API endpoint

3) Make a request (recommended CURL patterns)
Use environment variables (safer)
Sample JSON response (trimmed)
How to read this
Common pitfalls & fixes
Quick JS example (for agents/actions)
Security notes
TL;DR
Last updated

