---
title: "Trigger Refresh Country Rankings"
method: POST
path: "/admin/scheduled/refresh-country-rankings"
tags: ["Admin", "Scheduled Tasks"]
---

# Trigger Refresh Country Rankings

`POST /admin/scheduled/refresh-country-rankings`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/admin/scheduled/refresh-country-rankings`
- Auth: none declared

Fire the daily country-board sweep behind the public ``/rankings``
pages — rebuilds the stalest few markets, never-built ones first.

Distinct from ``POST /admin/rankings/refresh``, which rebuilds
exactly what an operator names and is the right tool for "rebuild TW
right now". This one is the unattended schedule that stops the
boards going stale in the first place; see
``api/services/rankings_sweep.py`` for the picker and budget, and
``docs/scheduler.md`` for where it sits. Recommended Fly schedule is
daily 05:00 UTC.

## Query parameters

- `source` string

## Headers

- `x-admin-secret` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
