POST events. GET state.
Call JSON endpoints from your server to append a complete event, read current state, or fetch history by aggregate ID.
HTTP endpoints and examplesStore and retrieve structured JSON through HTTP endpoints. Manage API keys per pipeline, and connect agents to the same data through MCP with OAuth.
Read the developer guideCall JSON endpoints from your server to append a complete event, read current state, or fetch history by aggregate ID.
HTTP endpoints and examplesCreate, rotate, or revoke a key in the workspace. A key permits reads and appends within one pipeline and deployment.
Open pipeline accessUse MCP with OAuth to define pipelines and work with their data. Approve permissions for each agent connection.
MCP connection instructionsYour application and authorized agents read and write the same pipeline data.
Set PIPELINE_URL and PIPELINE_API_KEY on your server using your pipeline’s HTTP access & API key panel. Replace the example data with a complete object matching its schema.
curl "$PIPELINE_URL/events" \
-H "X-API-Key: $PIPELINE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"aggregateId": "order-123",
"data": { "status": "started" },
"expectedSequence": 0,
"requestId": "order-123-first"
}'Connect your MCP client with OAuth, then use this request to create a pipeline and its first event.
Using Event Pipeline, help me define a pipeline for structured JSON events. Ask what data I want to keep, propose an event schema, and review it with me before creating the pipeline. Explain that the first event freezes the schema. Use an aggregateId I provide, or generate a UUID for me to keep using. Append a complete JSON event with expectedSequence 0 and a new requestId. Later events must contain the full state, not patches.
Event Pipeline validates and stores data. Your application or agent supplies complete JSON state and handles business logic.
Every event matches its pipeline’s JSON schema. The first event freezes that structure for subsequent events.
Group complete JSON events under an aggregate ID. Read the latest state or the earlier events in sequence.
Supply the expected sequence to detect concurrent writes. Reuse a request ID and the same content to retry an append without duplicating it.