Get a review session
Returns one review job step by step: the pull request, what asked for the review, its status (live while it runs), when it started and ended, the steps so far, and once it is done the verdict with a link to the review posted on GitHub. The "CoderHelm review" check on a pull request links to the session of its review.
api_key viewAuthorizationBearer <token>A team API key, made by an admin under Settings, API keys. Send it as Authorization: Bearer chk_....
Scope: view
id*stringThe session's id: the review job's id, from the PR's "CoderHelm review" check (its Details link) or a PR's status.
The session.
application/json- response
One review job, step by step: what CoderHelm's "CoderHelm review" check links to. Each job has its own session, so an older check keeps showing its own review.
activity*array<>What the reviewer did while it read the pull request, live while it runs: its searches, file views and lookups in groups, the notes it wrote, and the comments it kept. Oldest first.
activity_dropped*integerSteps left out of activity because the review passed its cap.
int640 <= value0attempt*integerWhich try this job is, from 0.
int640 <= value0check_run_id?|The GitHub check run that links here, when GitHub allowed one.
int640 <= value31337000findings?|How many findings the review kept, once there is a verdict.
int640 <= value2finished_at*stringWhen it ended (RFC 3339); empty while it runs.
"2026-10-22T14:20:05+00:00"head_sha*stringThe commit reviewed.
"9fceb02d0ae598e95dc970b74767f19372d61af8"id*stringThe session's id (the review job's id).
"3f2c9a1e-5b7d-4c8e-9a0b-1c2d3e4f5a6b"in_flight*booleanTrue while the review is still running.
falsekind*stringreview, or question for an answer to a comment.
"review"overview?null|pr_number*integerThe pull request number.
int640 <= value318pr_title*stringThe pull request's title.
"Rate-limit the login form"reason*stringWhy it ended without a review, when it did. Empty otherwise.
""repo*stringThe repository, owner/name.
"acme/web"review_sk?|The review this session wrote (its sk, for /api/reviewer/review).
Null while it runs, when it ended without one, and on older sessions.
"REVIEW#acme/web#000318#2026-10-22T14:20:05+00:00"review_url*stringThe review posted on GitHub; empty when nothing new was posted.
"https://github.com/acme/web/pull/318#pullrequestreview-2201"started_at*stringWhen it started (RFC 3339).
"2026-10-22T14:18:00+00:00"status*stringreviewing, done, skipped, retrying (didn't finish and was
sent again; the retry has its own session), failed, or stalled
(the job stopped without saying how it ended).
"done"steps*array<>The steps so far, oldest first.
trigger*stringWhat asked for it, such as label, push, rerequest or reply.
"push"verdict*stringThe verdict, APPROVE or REQUEST_CHANGES; empty until there is one.
"REQUEST_CHANGES"curl -X GET 'https://api.coderhelm.com/api/reviewer/session?id=3f2c9a1e-5b7d-4c8e-9a0b-1c2d3e4f5a6b' \ -H "Authorization: Bearer $CODERHELM_API_KEY"{ "activity": [ { "ended_at": "2026-10-22T14:18:12.020+00:00", "items": [ { "at": "2026-10-22T14:18:09.412+00:00", "detail": "", "failed": false, "label": "src/orders/sort.ts:10-48" } ], "kind": "view", "started_at": "2026-10-22T14:18:09.412+00:00", "text": "", "title": "View 2 files" } ], "activity_dropped": 0, "attempt": 0, "check_run_id": 31337000, "findings": 2, "finished_at": "2026-10-22T14:20:05+00:00", "head_sha": "9fceb02d0ae598e95dc970b74767f19372d61af8", "id": "3f2c9a1e-5b7d-4c8e-9a0b-1c2d3e4f5a6b", "in_flight": false, "kind": "review", "overview": null, "pr_number": 318, "pr_title": "Rate-limit the login form", "reason": "", "repo": "acme/web", "review_sk": "REVIEW#acme/web#000318#2026-10-22T14:20:05+00:00", "review_url": "https://github.com/acme/web/pull/318#pullrequestreview-2201", "started_at": "2026-10-22T14:18:00+00:00", "status": "done", "steps": [ { "at": "2026-10-22T14:18:02+00:00", "detail": "src/auth/login.ts\nsrc/auth/limits.ts", "text": "Read the change: 4 files changed" } ], "trigger": "push", "verdict": "REQUEST_CHANGES"}List reviews GET
Lists the reviewer's pull request reviews, newest first, one page at a time, for the whole team or one repository. Bodies are cut to about 4,000 characters and findings are left out; get a review by its `sk` for both.
List runs GET
Lists the team's runs, newest first, one page at a time. Search with `q` and filter by `status`, `source` and `repo`. Each page reads at most a few hundred runs, so a page can come back short, or empty, with `next` set: keep reading until `next` is null.