---
title: "Refresh Video Metrics"
method: POST
path: "/api/videos/{video_id}/refresh"
tags: ["Video Tracking"]
---

# Refresh Video Metrics

`POST /api/videos/{video_id}/refresh`

## 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/api/videos/{video_id}/refresh`
- Auth: HTTP bearer

Re-capture a tracked video's metrics via Apify right now.

The on-demand counterpart to the scheduler tick — used by the "retry"
button when a capture failed (e.g. a transient Apify error or a quota
limit that has since been raised). Best-effort: an Apify failure or unset
token returns ``{"ok": False, "error": ...}`` instead of a 5xx, and the
error is stamped on the row so the UI can keep showing it. On success the
cadence anchors advance and ``last_error`` is cleared.

## Path parameters

- `video_id` string, required

## Headers

- `x-kolens-user-id` string, nullable
- `x-kolens-workspace-id` 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)
