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

# Refresh Video Comments

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

Fetch the latest comments via Apify now and (re)classify sentiment.

Returns the capture counts + the refreshed summary. Best-effort: an Apify
failure or unset token returns ``{"ok": False, "error": ...}`` rather than
a 5xx so the UI can show a soft "couldn't refresh" state.

## Path parameters

- `video_id` string, required

## Query parameters

- `max_comments` integer

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