List event store subscriptions
GET /api/event-stores/{eventStoreName}/subscriptions
Returns a list of all subscriptions for a specific event store
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Event store name (automatically scoped to your organization)
Event store name (automatically scoped to your organization)
Query Parameters
Section titled “Query Parameters ”Filter results by subscriber type
Filter results by subscriber type
Filter results by event filter pattern
Filter results by event filter pattern
Maximum number of results to return
Maximum number of results to return
Number of results to skip
Number of results to skip
Responses
Section titled “ Responses ”List of subscriptions
object
object
Unique identifier for this subscription
Current status of the subscription
Additional details about the current status
object
The event store name this subscription is connected to
The event pattern this subscription is filtering on
The ID of the subscriber
The type of subscriber to receive events
When this subscription was created
When this subscription was last updated
The global position of the last successfully delivered event
Whether this is an existing subscription that was found instead of creating a new one
Human-readable message about the subscription operation
Examples
{ "subscriptions": [ { "subscriptionId": "sub_123456", "status": "active", "eventStoreName": "production", "eventFilter": "user.*", "subscriberId": "webhook-user-events", "subscriberType": "webhook", "createdAt": "2023-10-25T15:30:45Z", "lastProcessedEventGlobalPosition": 1234 }, { "subscriptionId": "sub_789012", "status": "active", "eventStoreName": "production", "eventFilter": "order.*", "subscriberId": "order-processor", "subscriberType": "durable_object", "createdAt": "2023-10-26T09:15:30Z", "lastProcessedEventGlobalPosition": 5678 } ], "totalCount": 2}Unauthorized: Organization ID not found in authentication context
object
Error type
Human-readable error message
Additional error details
object
Examples
{ "error": "UNAUTHORIZED", "message": "Unauthorized"}Event store not found
object
Error type
Human-readable error message
Additional error details
object
Examples
{ "error": "EVENT_STORE_NOT_FOUND", "message": "The specified event store does not exist", "details": { "eventStoreName": "nonexistent" }}Internal server error
object
Error type
Human-readable error message
Additional error details