agents_activity
See what you — or another agent in your workspace — actually did over a time window: messages sent, documents created, calls made, plus a summary (run counts, per-day, top tools). Use this to answer 'what did I do today / yesterday / last week / in the last hour?' or 'what did do?' with real data instead of guessing.
Omit agent for your own activity, or pass another workspace agent's name, slug, or id. Pass since/until as ISO datetimes (e.g. '2026-06-03T09:00:00') for sub-day windows like the last hour, or plain dates ('2026-06-03') for whole days — compute them from the current date/time you were given. Defaults to the last 24h. Traces are retained 30 days.
Times are interpreted as UTC — if the current time you were given is in another timezone, convert to UTC before passing since/until.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Target agent: name, slug, or numeric id. OMIT for yourself. | |
| limit | No | Max actions / recent runs to return. | |
| since | No | Window start — ISO datetime or date. OMIT for last 24h. | |
| until | No | Window end — ISO datetime or date (exclusive day-end for a bare date). OMIT for now. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |