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

The response is of type object.