Metis — Get Agent Runs
get_agent_runsRetrieve recent agent run history including status, timestamp, and token usage. Filter by agent or date range to review past activity.
Instructions
Retrieve recent agent run history from the database.
Returns the log of past agent work — what ran, when, its status, and token
usage — for the dashboard or for reviewing recent activity. These rows are
written by log_agent_run. Results come back newest first.
Args:
limit: Maximum number of runs to return, newest first (default 10).
since: ISO date or datetime string; only runs at or after this time are
returned. Empty string (default) returns runs from all dates.
agent_slug: Filter to a single agent by slug, e.g. "librarian" or
"metis". Empty string (default) returns all agents.
Returns:
A text block listing the matching runs (run_id, agent, task summary,
status, timestamp, token counts, model).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ||
| agent_slug | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |