GET
/
topics
/
{topic}
/
subscriptions
/
{subscription}
/
events
curl --request GET \
  --url https://api.sailhouse.dev/topics/{topic}/subscriptions/{subscription}/events \
  --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 get events from

subscription
string
required

The subscription to get events from

Query Parameters

limit
integer

The maximum number of events to return

offset
integer

The number of events to skip

Response

200
application/json
Events retrieved

The response is of type object[].