Call it
curl https://api.peume.com/v1/call/search-people-by-description \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "head of security at a fintech in berlin",
"category": "people",
"numResults": 5
}
}'const res = await fetch("https://api.peume.com/v1/call/search-people-by-description", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "head of security at a fintech in berlin",
"category": "people",
"numResults": 5
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-people-by-description",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "head of security at a fintech in berlin",
"category": "people",
"numResults": 5
}
},
)
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-description.
Parameters
queryRequiredstringdescribe the person in words — role, seniority, location, industry, anything a profile page would say. Free text, not filters: 'head of security at a fintech in berlin' works, so does 'ai safety researchers in greater phoenix'
Example: head of security at a fintech in berlin
categoryRequiredstringmust be `people`
Example: people
numResultsinteger1-100, default 10; beyond 10 adds $0.001 each
Example: 5
includeDomainsarraye.g. ["linkedin.com"] to keep to one profile host
contentsobject{highlights: true} returns the profile lines that matched the query
Other ways to do it
Same job, other sources.
