stream.replayInfo
The earliest checkpoint your plan can replay from, and what the index covers.
Details
- Endpoint
- GET /v0/stream/replay-info
- Credits
- Free
- Rate class
- Light. Counts against your light requests per second.
Returns earliestCheckpoint for the caller's plan (Free 7 days, Developer 90 days, Business and up from the start of the index), the index coverage and the live tip. Use it before opening a stream with fromCheckpoint.
Parameters
This method takes no parameters.
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl
curl "https://api.tide.ad/v0/stream/replay-info" \
-H "x-api-key: YOUR_API_KEY"TypeScript
const res = await fetch("https://api.tide.ad/v0/stream/replay-info", {
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
},
});
const data = await res.json();Response
No example response is available for this method yet.