post
https://api.hud.io/v1/pr-analysis/runs
Start a Hud PR analysis of a GitHub pull request in a repository connected to Hud.
Identify the pull request with pr_url, or with repository and pr_number.
- A regular run (
dry_run: false) posts its comments on the pull request, as a run Hud starts on push does, and replaces the pull request's run in progress. - A dry run (
dry_run: true) posts nothing to GitHub and leaves the pull request's runs alone. Read its comments with GET /pr-analysis/runs/{run_id}.
Both run on your account's model integration; with none configured the request fails with 422 model_credentials_missing.
Send an Idempotency-Key header to make retries safe: the same key returns the run it started (deduplicated: true), and reusing it for another pull request or mode returns 409 idempotency_key_reused.
Auth: requires pr-analysis:run (operator keys).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

