Strategy

Change a watch, or pause or resume it.

Only the fields sent change. A new cadence, or resuming, schedules the next run from now; resuming counts against the plan's active-watch cap (403 plan_limit_reached). scriptId: null detaches it from its script. Free. Scope: story:write.

patch/strategy/watches/{watchId}

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/strategy/watches/{watchId}
  • Auth: HTTP bearer

Request body

namestring

A short label, e.g. "Open horror writing assignments".

querystring

What the watch searches for, in full phrases.

cadence'daily' | 'weekly' | 'monday' | 'friday' | 'monthly'

How often it runs; monday and friday run weekly on that day.

category'jobs' | 'comparables' | 'contests' | 'articles' | 'sales' | 'general'

What it looks for (default general).

scriptIdstring nullable

Bind it to one of your scripts; null detaches it.

activeboolean

false pauses it, true resumes it (counted against the plan's active-watch cap).

Response

The watch as it is now.

Changes

No recorded changes to this operation across all 1 revision of this API.