GET
/
topics
/
{topic}
/
subscriptions
/
{subscription}
/
events
/
pull
curl --request GET \
  --url https://api.sailhouse.dev/topics/{topic}/subscriptions/{subscription}/events/pull \
  --header 'Authorization: <api-key>'
{
  "id": "<string>",
  "topic_id": "<string>",
  "timestamp": "<string>",
  "data": {},
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Path Parameters

topic
string
required

The topic to pull events from

subscription
string
required

The subscription to pull events from

Query Parameters

time_window
string

The time window for event hydration (e.g. '1h', '30m')

Response

200
application/json
Event successfully pulled
id
string

The event ID

topic_id
string

The ID of the topic the event was posted to

timestamp
string

The timestamp the event was posted

data
object

The decrypted data of the event

metadata
object

The metadata of the event