Call it
curl https://api.peume.com/v1/call/autocomplete-people-search-values \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"field": "experience.employment_details.current.title",
"query": "VP",
"limit": 5
}
}'const res = await fetch("https://api.peume.com/v1/call/autocomplete-people-search-values", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"field": "experience.employment_details.current.title",
"query": "VP",
"limit": 5
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/autocomplete-people-search-values",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"field": "experience.employment_details.current.title",
"query": "VP",
"limit": 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: autocomplete-people-search-values.
Parameters
fieldRequiredstringsupported person-search field in dot notation
Example: experience.employment_details.current.title
queryRequiredstringpartial text; an empty string returns common values
Example: VP
limitinteger1-100, default 20
Example: 5
filtersobjectoptional person-search condition or nested condition group
Other ways to do it
Same job, other sources, cheapest first.
List company-type filter valuesGet the company type values accepted by companyTypes on /search.List department filter valuesGet the department values accepted by leadDepartments on /search.List funding-round filter valuesGet the funding type values accepted by companyFundingRounds on /search.List revenue-range filter valuesGet the revenue range values accepted by companyRevenueRanges on /search.List seniority filter valuesGet the seniority values accepted by leadSeniorities on /search.List the people-search filter valuesList the accepted industry, seniority, department, country and company-size values for the people count.
