Return one page of the caller's finished runs
The caller's finished runs of every kind, newest first: scheduled, webhook and workflow runs, background jobs, and monitor wakes, with one status vocabulary.
Returns:
A Flask response with runs and has_more, or 400 for an
unknown kind or status.
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).
kind?stringOne of schedule, webhook, workflow, job, monitor; all when left out.
status?stringOne of success, failed, timeout, skipped, cancelled (failed includes timed out); all when left out.
q?stringText matched against the run, agent and conversation names.
days?stringHow far back to look (default 30, at most 90).
limit?stringRows per page (default 50, at most 200).
offset?stringRows to skip.
Success
curl -X GET 'http://localhost:7091/api/activity/history'REST API Endpoints
A page for each endpoint of the DocsGPT REST API, with its parameters, request body, personal access token scope, request examples and a playground that calls your own instance.
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.