Call it
curl https://api.peume.com/v1/call/get-frequency-vs-engagement \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"source": "all"
}
}'const res = await fetch("https://api.peume.com/v1/call/get-frequency-vs-engagement", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"source": "all"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-frequency-vs-engagement",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"source": "all"
}
},
)
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: get-frequency-vs-engagement.
Parameters
platformstringFilter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
accountIdstringFilter by account ID. Omit for all accounts.
sourcestringFilter by post origin. "late" for posts published via, "external" for posts imported from platforms.
all · late · external
Example: all
