Skip to Content
Docs

Return one page of the caller's finished runs

GET
/api/activity/history

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.

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

kind?string

One of schedule, webhook, workflow, job, monitor; all when left out.

status?string

One of success, failed, timeout, skipped, cancelled (failed includes timed out); all when left out.

q?string

Text matched against the run, agent and conversation names.

days?string

How far back to look (default 30, at most 90).

limit?string

Rows per page (default 50, at most 200).

offset?string

Rows to skip.

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/activity/history'
Example Response200
Empty