---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# First-party events from every website, app and server, straight into your warehouse.

Events · events/

Collect events from your websites, apps and servers on your own endpoint, check them against schemas you version, and land every one in your workspace's warehouse with nothing to host. Keep the tracker you run today or write your own, and send data onward with destinations in code.

[Start a pilot](https://segmentstream.com/enterprise#pilot) · [Request access](https://segmentstream.com/platform/events#waitlist)

An event stream as its events/ folder declares it: the origins it accepts, batching, and the endpoint your tracker sends to.

segmentstream.com

![The console's settings for one event stream: a hybrid stream taking JSON in batches of up to 100 events, from allowed browser origins or with a write key, and an example of sending a page view from the browser to its collection endpoint](https://segmentstream.com/screens/dark/console-event-stream.webp)

## Streams declared in code

Each stream is a few lines in events/events.py: its key, how senders authenticate and the shape of its events. It deploys with the rest of the workspace, and the console shows its volume and schema history.

## From websites, apps and servers

Servers send with a write key. Websites send from the origins you allow, with no key in the page. A hybrid stream takes both, in batches of up to 100 events per request.

## Keep the tracker you run

Segment, RudderStack and GA4 trackers change one setting, the address they send to, and every call lands in your workspace. Or use our open-source web tracker, or a few lines your agent writes.

## Schemas that never drop data

Versioned schemas check every event. An event that does not match is kept and flagged, never thrown away, so a tracking bug costs a fix, not a gap in the data.

## Straight into your warehouse

Accepted events land in a date-partitioned table in your workspace's warehouse, in its region, with a view per event type. Pipelines model them into sessions, conversions and attribution.

## Destinations in code

Send rows and records onward to ad platforms, CRMs and messaging tools through a workspace connection: a pipeline step for batches, an action or workflow for a single business event.

## Collection run for you

Collectors are run for you, with nothing to host or scale. Pause or resume a stream, rotate its key or run an end-to-end check from the CLI.

In code

events/

```
 # events/events.py from segmentstream.events import Stream, auth, protocol  streams = (     Stream(         key="web",         auth=(auth.WriteKey(), auth.Origin(("https://www.example.com",))),         protocol=protocol.Json(batch=True),     ), )  # After segmentstream deploy, any server sends a batch with its write key: $ curl https://collect.segmentstream.com/v1/e/WORKSPACE_ID/web \     -H "Authorization: Bearer $WRITE_KEY" \     -H "Content-Type: application/json" \     -d '{"batch": [{"event_id": "4f1c…", "event_type": "purchase",          "event_time": "2026-11-12T09:30:00Z", "schema_version": 1,          "payload": {"order_id": "1042", "value": 129.0}}]}'  # Check delivery end to end, then read the stream's capture table: $ segmentstream events verify web $ segmentstream events get web
```

[Pipeline SDK](https://segmentstream.com/developers/pipeline-sdk)

[ reference →](https://segmentstream.com/developers/pipeline-sdk)

## Use it, build on it, or have it built

### Use it

Declare a stream, deploy, and send events to its endpoint. Volume and schema history are in the console.

### Build it with your agent

Your agent declares a stream in events/, writes the tracker or changes one setting in the one you run, and models the events in pipeline/.

### Have our engineers build it

Our engineers move your tracking off Segment, RudderStack or GA4 with you, and prove the numbers match before anything is switched off.

Replaces Segment, RudderStack, A Snowplow pipeline you run yourself and Server-side tracking you host.

## Works with

[Pipelines](https://segmentstream.com/platform/pipelines)

[Ingestion, models, checks, schedules and lineage](https://segmentstream.com/platform/pipelines)

·

[Warehouse](https://segmentstream.com/platform/warehouse)

[BigQuery per workspace, with the ontology replicated in](https://segmentstream.com/platform/warehouse)

·

[Connections](https://segmentstream.com/platform/connections)

[100+ pre-built integrations, with credentials held by the platform](https://segmentstream.com/platform/connections)

·

[Ontology](https://segmentstream.com/platform/ontology)

[Your records, the actions that change them, roles and history](https://segmentstream.com/platform/ontology)

## Solutions built with it

[Growth and marketing analytics](https://segmentstream.com/solutions/growth-analytics)

[Lead scoring, cost data and attribution as code](https://segmentstream.com/solutions/growth-analytics)

·

[Marketing](https://segmentstream.com/solutions/marketing)

[Audiences, campaigns and reporting](https://segmentstream.com/solutions/marketing)

·

[Segment alternative](https://segmentstream.com/solutions/segment-alternative)

[Same tracking calls, your own warehouse](https://segmentstream.com/solutions/segment-alternative)

·

[Google Analytics alternative](https://segmentstream.com/solutions/google-analytics-alternative)

[Keep GA4, own every hit](https://segmentstream.com/solutions/google-analytics-alternative)

## Read more

- [3 October 2026 AI agents can build your BI. Here's why they get the numbers wrong. Benchmarks keep finding that agents writing SQL against raw tables give confident wrong answers, while the same agents answering through a semantic layer get nearly everything right. What that means for how you build analytics now.](https://segmentstream.com/blog/ai-agents-need-a-semantic-layer)
- [2 October 2026 How to leave GA4 without losing a single report You don't have to rip out gtag to own your web analytics. Change where it sends, keep GA4 running while you rebuild, and switch only when the numbers match.](https://segmentstream.com/blog/leave-ga4-without-losing-reports)
- [30 September 2026 The future of ad traffic verification with SegmentStream and Jev Ad traffic verification is still sold as a black box for $60–100k a year. The next generation runs next to your conversions, is checked against real outcomes, and is decided by a model built for decisions.](https://segmentstream.com/blog/future-of-ad-traffic-verification)

[All posts →](https://segmentstream.com/blog)

Enterprise pilot

## Start a pilot.

Want events set up for you? Our forward-deployed engineers build it with you in your workspace, as code you own.

- One solution, on your data, in your own workspace
- First version live in two weeks
- Parity proven before anything is switched off
- Fixed scope and price, credited to your contract if you continue

Not ready for a pilot? Send the form anyway with your question. An engineer will reply, not a sales rep.

[How the pilot works](https://segmentstream.com/enterprise)

NameWork email

CompanyWhat should the pilot cover?

Anything we should knowHow did you hear about us?

Goes to our founder’s inbox. No sales queue, no newsletter.

## Build your company’s own software. Let agents run it.

$ segmentstream workspace create acme --region eu --subdomain acme

▸ Created workspace acme · database, warehouse and a private git repository

$ segmentstream workspace WORKSPACE-ID clone acme && cd acme

▸ your coding agent builds what your team asked for and runs the checks

$ git add -A && git commit -m "First version"

$ segmentstream deploy

▸ app, company agent, API and MCP tools live for your invited members

[Start a pilot](https://segmentstream.com/enterprise#pilot)

Our engineers build the first version on your data in two weeks, at a fixed price.

Or build it yourself with your coding agent:

`curl -fsSL https://segmentstream.com/install.sh | sh`

Work email

We’ll email you product updates, tips and onboarding help. Unsubscribe anytime.
