Call it
curl https://api.peume.com/v1/call/research-a-web-question-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"input": "What is the purpose of example.com?",
"research_effort": "lite"
}
}'const res = await fetch("https://api.peume.com/v1/call/research-a-web-question-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"input": "What is the purpose of example.com?",
"research_effort": "lite"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/research-a-web-question-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"input": "What is the purpose of example.com?",
"research_effort": "lite"
}
},
)
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: research-a-web-question-2.
Parameters
inputRequiredstringExample: What is the purpose of example.com?
research_effortstringlite · standard
Example: lite
source_controlobjectProvider-native source and recency controls.
output_schemaobjectStructured output is supported on standard, not lite.
Other ways to do it
Same job, other sources.
