Rustine docs
API › Issues

Read a fix

Reads a fix you already unlocked, at no cost. If it is not unlocked yet, the answer is 404 fix_locked and nothing is unlocked: use Unlock the fix.

GEThttps://api.rustine.io/v1/issues/{issue_id}/fix

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

Open in ClaudeOpen in ChatGPT

Path parameters

  • issue_idstringrequired

    Issue id.

Response

  • objectstring
  • issue_idstring

    The issue.

  • promptstring

    The fix as instructions for a coding agent (Cursor, Claude Code…), to apply in the codebase. Rustine never edits code.

  • ai_fixstring | null

    A patch written by Rustine (unified diff), when one was generated in the app.

Errors

Statuserror.codeWhat happens
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.
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.
404fix_lockedThe fix of this issue is not unlocked yet: POST /issues/{issue_id}/fix unlocks it.
429rate_limitedToo many requests for this key (120 per minute). Wait Retry-After seconds.
500internal_errorAn error on our side, reported automatically. Retry later; give the Request-Id to support if it comes back.
503service_unavailableRustine is unavailable for a moment. Retry with the same Idempotency-Key.

↵ Enter to open, Esc to close