Skip to Content
Docs

Return the caller's calendar window

GET
/api/activity/planned

The caller's calendar for a window: planned schedule runs (from cron or run_at), past and in-flight runs with their status, coming knowledge syncs (one event per frequency each time it fires, kind sync), and monitors as date ranges. The window may span at most 62 days. A frequent schedule with more events than one schedule may list is summed up per day in tz: one event per day and routine state, with count and until. Returns: A Flask response with from, to, events (schedule and sync events, by kind), monitors and truncated, or 400 for a bad window or time zone.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Query Parameters

from*string

Window start, ISO 8601.

to*string

Window end (exclusive), ISO 8601.

tz?string

The viewer's IANA time zone, which days are split in (default UTC).

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/activity/planned?from=string&to=string'
Example Response200
Empty