Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.WatchService

Mark watched

POST
/xmb.api.v1.WatchService/SetWatched

Marks an episode, season or title watched or unwatched, and returns the rollup afterwards.

Required scopes: xmb:user:write

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string
Length1 <= length <= 128
target*

A season or a title is a bulk write over its episode rows. There is no series-level watched column by design, so "mark watched" has always been episode rows written together, and this is that, named.

watched?boolean

Unmarking also clears the playhead: somebody who asked for a title back as unwatched did not ask to keep a resume point on it.

observedAt?|

When the mark was made, for a queued mark replayed late — see ReportProgressRequest.observed_at. A mark older than an episode's last play leaves that episode alone.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.WatchService/SetWatched" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{    "target": "map[seasonUuid:c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f]"  }'
{
  "progress": "map[lastPlayedAt:2026-10-21T21:40:12Z resumeEpisodeNumber:1 resumeEpisodeUuid:e1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b resumeSeasonNumber:3 status:WATCH_STATUS_WATCHED totalEpisodes:12 watchedEpisodes:12]",
  "episodesChanged": "12"
}