List Event Subscriptions

get

/v1/besu/event-subscriptions

Generates a list of all the events subscribed to by the authenticated caller, with optional event type and lifecycle status filtering.

Request

Query Parameters
  • Optional lifecycle status filter. Matching is case-insensitive.
    Allowed Values: [ "running", "stopped", "deleted", "completed", "expired" ]
  • Optional event type filter. Matching is case-insensitive.
    Allowed Values: [ "newHeads", "logs" ]

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Returns the event subscriptions available to the authenticated caller.
Body ()
Root Schema : ListEventSubscriptionsResponse
Type: object
Collection of event subscriptions visible to the authenticated caller.
Show Source
Nested Schema : items
Type: array
Collection of subscriptions visible to the authenticated caller.
Show Source
Nested Schema : EventSubscriptionResponse
Type: object
Event subscription configuration and current lifecycle state.
Show Source
Nested Schema : EventSubscriptionCursor
Type: object
Event processing position for an event subscription.
Show Source
Examples

400 Response

Validation failed.
Body ()
Root Schema : ErrorResponse
Type: object
Error response returned by the service.
Show Source
Nested Schema : upstreamError
Type: object
Additional Properties Allowed: true
Complete error object returned by the Besu node, including code, message, and data fields, when available.
Examples

500 Response

Unexpected service error.
Body ()
Root Schema : ErrorResponse
Type: object
Error response returned by the service.
Show Source
Nested Schema : upstreamError
Type: object
Additional Properties Allowed: true
Complete error object returned by the Besu node, including code, message, and data fields, when available.
Examples

503 Response

Event subscriptions are unavailable.
Body ()
Root Schema : ErrorResponse
Type: object
Error response returned by the service.
Show Source
Nested Schema : upstreamError
Type: object
Additional Properties Allowed: true
Complete error object returned by the Besu node, including code, message, and data fields, when available.
Examples

Back to Top