---
title: "Search Repositories"
method: GET
path: "/cache/repositories/search"
tags: ["cache-admin"]
---

# Search Repositories

`GET /cache/repositories/search`

## 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/cache/repositories/search`
- Auth: HTTP bearer

Search cached repositories with filters and pagination.

Returns repositories sorted by stars (highest first).

## Query parameters

- `query` string, nullable: Search in repository names/descriptions
- `min_stars` integer, nullable: Minimum stars
- `language` string, nullable: Filter by language
- `page` integer: Page number
- `page_size` integer: Items per page

## 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)
