Rustine docs
API › Issues

Recheck an issue

Runs the same check at the same place on your live site, right after your deploy. For a repository, Rustine starts a new analysis of the default branch (pending, with its scan_id).

POSThttps://api.rustine.io/v1/issues/{issue_id}/recheck

OAuth permission: scans:run · an API key has them all

Open in ClaudeOpen in ChatGPT

Free, up to 60 rechecks per project and per day. Deploy (or push) the fix first: Rustine looks at what is live.

Path parameters

  • issue_idstringrequired

    Issue id.

Headers

  • Idempotency-Keystringoptional

    A unique key (1 to 255 printable characters, a UUID is fine) to retry this request safely: the first response is replayed for 24 hours; the same key with another request answers 409 idempotency_conflict.

Response

  • objectstring
  • issue_idstring

    The issue.

  • statusstring

    fixed (closed), still_open, or pending for a repository issue: a new analysis of the default branch was started (scan_id); poll it, then read the issue.

    fixedstill_openpending
  • checked_atstring

    When the check ran.

  • evidencestring

    What the check saw this time.

  • scan_idstring | null

    Repository issue: the analysis that settles it.

Errors

Statuserror.codeWhat happens
400idempotency_key_invalidThe Idempotency-Key header must be 1 to 255 printable characters.
401authentication_requiredNo key in the request. Pass it in the Authorization: Bearer rst_… header, never in the address.
401invalid_api_keyThe key or OAuth token is wrong, revoked or expired. Check it is copied in full, or create a new key.
402api_plan_requiredThe workspace is on the Free plan. The API comes with Pro, or on a 14-day trial with Solo.
402api_trial_endedSolo's 14-day trial is over. Move to Pro: your keys work again at once.
402project_pausedThe project is paused: your plan covers fewer projects than your workspace has. Its issues stay readable, but nothing new runs.
403scope_missingThe OAuth token lacks the permission this route needs (shown on its page). Reconnect the agent to grant it. An API key has every permission.
404resource_not_foundNothing with this id in the key's workspace. An object of another workspace answers the same: its existence is never revealed.
409proof_requiredThe site must first be proved yours (full audit, fix, marking). Prove it in the app: DNS, file or meta tag.
409idempotency_conflictThis Idempotency-Key was already used for another request (method, path or body). A new action takes a new key.
409idempotency_in_progressA request with this Idempotency-Key is still running. Retry in a moment.
429rate_limitedToo many requests for this key (120 per minute). Wait Retry-After seconds.
429recheck_limit_reachedToo many rechecks on this project today (60 per day). Try again tomorrow.
429repository_analyses_limit_reachedThe workspace started many repository analyses in the last 24 hours. Try again later.
500internal_errorAn error on our side, reported automatically. Retry later; give the Request-Id to support if it comes back.
502recheck_failedThe recheck could not complete (site unreachable?). Check the site answers, then retry.
503service_unavailableRustine is unavailable for a moment. Retry with the same Idempotency-Key.

↵ Enter to open, Esc to close