jobs

Re-plan the month for workspaces whose plan has lapsed

Cloudflare Cron callback. Safe to run hourly: the generated_for stamp on each stored month plan makes the work once-per-workspace-per-month, so every call after the first is a cheap no-op.

Each re-plan reads the Brain profile plus last month's analytics and published posts, and draws one Brain-analysis allowance unit — a workspace with none left (Free after its lifetime unit) is skipped, not failed. Authenticates with WORKER_SECRET.

post/api/v1/jobs/replan-months

Request

  • Base URL: https://api.cadencz.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.cadencz.com/api/v1/jobs/replan-months
  • Auth: none declared

Response

Successful Response

statusstring required
checkedinteger required
replannedinteger required
skippedinteger required
failedinteger required

Changes

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