Call it
curl https://api.peume.com/v1/call/analytics-changed-since-a-cursor \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 50
}
}'const res = await fetch("https://api.peume.com/v1/call/analytics-changed-since-a-cursor", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/analytics-changed-since-a-cursor",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 50
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: analytics-changed-since-a-cursor.
Parameters
cursorstringOpaque cursor from a previous response's `nextCursor`. Omit it to start from now: the response is then an empty page carrying the feed's current position. Rejected with a `400` when malformed, or when older than the retention window.
limitintegerPage size. Out-of-range values are a 400, never a silent clamp.
Example: 50
platformstringFilter to a single platform (for example "youtube"). Omit for every platform.
