Documentation
Everything you need to know about Genesis DB.
curl
Nothing more to say

Getting Started with Genesis DB via cURL

Genesis DB gives you full control over your event-sourced system through a clean, standards-based HTTP interface - no SDK required. Stream events, commit new ones, observe changes, and query projections using nothing but curl and JSON. CloudEvents-native by design, Genesis DB makes it easy to integrate with any stack, script, or shell. Perfect for automation, debugging, or when you just want raw, event-driven power at your fingertips.

Commit Events

To commit events, use the following curl command:

Usage of preconditions

To use preconditions, If the subject has already been committed, the request will fail.

Usage of referenced data (GDPR)

To use referenced data (GDPR), you can use the following curl command:

Deleting referenced data (GDPR)

To delete referenced data (GDPR), you can use the following curl command:

Register schema

To register a schema, use the following curl command:

Get registered schemes

To get registered schemes, use the following curl command:

Stream Events

To stream events, use the following curl command:

Stream Events from lower bound

To stream events from a lower bound, use the following curl command:

Observe Events

To observe events, use the following curl command:

Observe Events from lower bound (Message queue)

To observe events from a lower bound (Message queue), use the following curl command:

Query Events

To query events, use the following curl command:

Get Subjects

To get subjects, use the following curl command:

Get Types

To get types, use the following curl command:

Create Backup

To create a backup, use the following curl command:

Restore Backup

To restore a backup, use the following curl command:

Get Audit

To get audit, use the following curl command:

Status

To get status information, use the following curl command: