Stream & history
Event history
GET /v1/events replay
Recent events for this key's targets and keywords, newest first, filtered exactly like the stream. History is kept for 30 days.
Query parameters
| Query parameter | Type | Meaning |
|---|---|---|
limit | int 1–500 = 50 | Page size |
cursor | string | From the previous page's meta.next_cursor |
response
A page of events in the envelope, with paging meta. Field by field: Envelope.
Status: 200
request
curl https://api.xsignalfeed.com/v1/events?limit=2 \ -H "Authorization: Bearer xsf_your_key"
response · 200
{
"events": [
{
"v": 1,
"t": "tweet.create",
"op": "create",
"id": "tweet:2097879002992070835",
"…": "…"
},
{
"v": 1,
"t": "follow.add",
"…": "…"
}
],
"meta": {
"count": 2,
"has_more": true,
"next_cursor": "eyJpZCI6MTAxODMyLCJ0IjoiMjAyNi0wOS0xNlQwODo0MDoxMSswMDowMCJ9"
}
}