What does the API cover?
The API mirrors the web app: accept files, run completeness and benchmark checks, and return results. It is aimed at consultants and multi-site operators who already export inspections and lab data on a schedule.
| Capability | Method and path | Purpose |
|---|---|---|
| Create a run | POST /v1/runs | Open a run for one facility and one reporting year |
| Add files | POST /v1/runs/{id}/files | Upload CSV, Excel, PDF or images |
| Get status | GET /v1/runs/{id} | Processing state and flag count |
| Get results | GET /v1/runs/{id}/summary | Summary, log and averages as JSON or CSV |
| Get flags | GET /v1/runs/{id}/flags | Missing quarters, unmatched outfalls, averages above the file's benchmarks |
The API is in early access. Paths and fields may change before general release; request access and you will receive the current reference.
How do authentication and rate limits work?
Each account can receive API keys scoped to one organisation and sent as a bearer token over HTTPS. Keys can be rotated or revoked. Numeric rate limits are not published on this page; they are set per key and returned in response headers so a client can back off.
Which webhook events are sent?
| Event | Sent when |
|---|---|
run.completed | A run has finished and the pack is ready |
run.flagged | Processing found items that need review |
run.failed | A file could not be read or the run stopped with an error |
Deliveries are signed so you can verify they came from us. Retry behaviour and the exact payload fields ship with the early-access reference, rather than being frozen on this page.
Example: a January batch for several sites
A consultant who already stores client lab PDFs in a document folder can create one run per facility, post the year's files, and wait for run.completed or run.flagged before a reviewer opens the pack. Filing in NeT-MSGP or the state portal remains a separate, human-confirmed step.
Not legal or environmental advice. Stormwater Annual Report is a preparation tool, not legal, environmental or engineering advice, and it does not file reports with EPA or any state agency. It is not affiliated with the U.S. Environmental Protection Agency or any permitting authority. Confirm current requirements, forms and due dates in your applicable permit.
Frequently asked questions
How do I get API access?
Request it through support with your organisation name and the plan you use. Access is by API key. The API is in early access and may change.
Does the API file the annual report?
No. It returns a preparation pack. You still submit the official report in NeT-MSGP or your state system.
Can I export results as CSV?
Yes. The summary endpoint can return JSON or CSV, matching the tables in the web app.
Who owns sign-off?
You do. An API run is not a signature and is not a filed report.
Official source. Filing steps, typical due dates and permit references on this page follow guidance published by EPA: Stormwater Discharges from Industrial Activities. Always confirm current rules and rates with your base jurisdiction before filing.