Call it
curl https://api.peume.com/v1/call/search-people-by-role-company-location-or-nl-query \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"filters": {
"field": "basic_profile.name",
"type": "=",
"value": "Satya Nadella"
},
"search": {
"query": "founding engineers at developer tools startups",
"mode": "hybrid"
},
"limit": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/search-people-by-role-company-location-or-nl-query", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"filters": {
"field": "basic_profile.name",
"type": "=",
"value": "Satya Nadella"
},
"search": {
"query": "founding engineers at developer tools startups",
"mode": "hybrid"
},
"limit": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-people-by-role-company-location-or-nl-query",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"filters": {
"field": "basic_profile.name",
"type": "=",
"value": "Satya Nadella"
},
"search": {
"query": "founding engineers at developer tools startups",
"mode": "hybrid"
},
"limit": 1
}
},
)
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-by-role-company-location-or-nl-query.
Parameters
filtersobjectrequired when search is omitted; one condition or nested and/or group. Can be combined with ranked search
Example: {"field":"basic_profile.name","type":"=","value":"Satya Nadella"}
searchobject{query, mode?} for ranked NL search; mode hybrid|lexical|semantic default hybrid. Supply filters and/or search. When search is set, sorts are unsupported
Example: {"query":"founding engineers at developer tools startups","mode":"hybrid"}
fieldsarraydot-path fields to return
sortsarrayfilter-only; each item is {field, order:'asc'|'desc'}. Not supported with ranked search
limitintegerresults per page, 1-1000; this is the price dial
Example: 1
cursorstringnext_cursor from the prior response; keep filters and search identical across pages
Other ways to do it
Same job, other sources.
