Return the caller's calendar window
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.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
from*stringWindow start, ISO 8601.
to*stringWindow end (exclusive), ISO 8601.
tz?stringThe viewer's IANA time zone, which days are split in (default UTC).
Success
curl -X GET 'http://localhost:7091/api/activity/planned?from=string&to=string'Return the caller's Now snapshot GET
What runs for the caller now (chat answers, background jobs, scheduled, webhook and workflow runs, ingests), what waits for them (tool approvals, schedules paused after failures), what runs in the next 24 hours, and the 24-hour counts. Returns: A Flask response with `running`, `needs_you`, `up_next`, `approval_conversations`, `failed_conversations` and `stats`. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Ask a running answer to stop POST
Stop the caller's chat answer that is still being written. The stream ends as if its client had disconnected and keeps what it wrote. Answers 202 once the request is stored; the stream sees it within a few seconds, or when a long tool call returns. Args: message_id: The answer's message id. Returns: 202 when the stop was requested, 404 when the caller has no such message, 409 when it is not running (finished, or paused for a tool approval), 503 without Redis. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.