Call it
curl https://api.peume.com/v1/call/list-stored-events \
-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/list-stored-events", {
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/list-stored-events",
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: list-stored-events.
Parameters
limitintegerExample: 50
fromstringOnly events at or after this time (ISO 8601, on the event time).
tostringOnly events before this time (ISO 8601, on the event time).
eventNamestringOnly events with this name, such as `Purchase`.
sourcestringOnly events from this source, such as `stripe` for the payments of a connected Stripe account.
api · relay · hubspot · meta_leads · google_leads · linkedin_leads · tiktok_leads · shopify · woocommerce · stripe · paddle · whop …
platformstringOnly events sent to this ad platform, such as `metaads` or `googleads`.
deliveryStatusstringOnly events whose latest send to a destination (of `platform`, when given) was accepted (`sent`) or was not (`failed`: failed or still retrying).
sent · failed
fromAdboolean`true`: only events carrying an ad click or a campaign (a gclid, gbraid or wbraid, a `zrn`, or a matched campaign). `false`: only the others.
campaignIdstringOnly events of this ad platform campaign id: matched to it, or behind a Google click of it.
cursorstring`nextCursor` from the previous page.
