---
title: "Refresh Paper Repos"
method: POST
path: "/papers/{paper_id}/refresh"
---

# Refresh Paper Repos

`POST /papers/{paper_id}/refresh`

## Request

- Base URL: `https://api.codeofpaper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.codeofpaper.com/papers/{paper_id}/refresh`
- Auth: HTTP bearer

[PREMIUM] Re-run live GitHub search and scoring for a paper.

This endpoint performs a fresh search on GitHub and re-scores all
repositories against the paper. Results are cached for future use.

Requires premium subscription.

## Path parameters

- `paper_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api.md) · [All operations](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/revisions/94ea47fd4aa1?raw)
