Call it
curl https://api.peume.com/v1/call/pinterest-seasonal-moments \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"region": "ar"
}
}'const res = await fetch("https://api.peume.com/v1/call/pinterest-seasonal-moments", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"region": "ar"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/pinterest-seasonal-moments",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"region": "ar"
}
},
)
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: pinterest-seasonal-moments.
Parameters
regionstringRegion; US when left out. One of US, CA, GB+IE, DE, DE+AT+CH, FR, IT, ES, IT+ES+PT+GR+MT, SE+DK+FI+NO, NL+BE+LU, MX, AR, CO, MX+AR+CO+CL, BR, AU+NZ. One of: ar, au+nz, br, ca, co, de, de+at+ch, es, fr, gb+ie, it, it+es+pt+gr+mt, mx, mx+ar+co+cl, nl+be+lu, se+dk+fi+no, us.
ar · au+nz · br · ca · co · de · de+at+ch · es · fr · gb+ie · it · it+es+pt+gr+mt …
