Call it
curl https://api.peume.com/v1/call/github-issue-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 30,
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/github-issue-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 30,
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/github-issue-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 30,
"keyword": "your keyword"
}
},
)
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: github-issue-search.
Parameters
page_tokenstringPage token for `user_repositories`, `repository_issues`, `search_issues`, `issue_comments`, `contributors` and `forks`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged. Each page holds 30 items and counts as one call. A token is valid for 24 hours; the last page has no `next_page_token`. For `search_issues`, GitHub search returns at most the first 1000 results, so paging ends there.
limitintegerMaximum number of results, 1 to 100 (default 30). For some actions it counts pages or items per parent rather than final rows.
Example: 30
sortstringOrder of the list. `repository_issues`: created (default), updated or comments. `search_issues`: best match by default, or comments, created, updated, reactions. `forks`: newest (default), oldest, stargazers, watchers. `user_repositories`: created, updated, pushed, full_name. One of: comments, created, reactions, updated.
comments · created · reactions · updated
keywordRequiredstringA GitHub issue search query for `search_issues`. GitHub qualifiers work, such as `repo:openai/whisper is:pr`, `is:issue label:bug` or `author:octocat`.
