Call it
curl https://api.peume.com/v1/call/search-people-7 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"filters": "your filters",
"query": "your query"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-people-7", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"filters": "your filters",
"query": "your query"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-people-7",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"filters": "your filters",
"query": "your query"
}
},
)
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: search-people-7.
Parameters
filtersobjectLiteral people filters. Enum-backed values come from /people/filter-options; employers, titles, regions, schools and skills from /people/autocomplete.
querystringWho to find, in plain English (max 2,000 chars), converted into filters server-side. The response returns those filters; page with them, never by sending the query again.
linkedinUrlstringA LinkedIn profile URL (or in/<slug>, or the bare slug) to look up one person; alone, or together with filters.
sizeintegerProfiles per page (1-100, default 10).
scrollTokenstringThe scrollToken of the previous page, sent with that page's returned filters, for the next page.
