Skip to main content

Monitor List

[MODE:OVERSEER] Read-only, idempotent. Tier: overseer.

Returns a paginated event feed across one or more Agents. Maps to Rails GET /api/monitor (Api::MonitorController#index). Requires API key scope monitor:read.

When to use

  • Compiling an Agent's recent activity into a report.
  • Periodic polling without keeping a long-poll open.
  • Filtered cross-Agent event search by full-text.

When NOT to use

  • Need real-time push — use fibe_monitor_follow.
  • Just one Agent's mutter stream — use fibe_mutters_get.

Inputs

FieldTypeDefaultNotes
agentstringempty (= all accessible)Comma-separated Agent IDs/names
typestringempty (= all)Comma-separated: message, activity, mutter, artefact
sinceISO 8601 stringLower bound for created_at
qstringFull-text search across event content
pageint11-based
per_pageint25Max 100
content_limitint32768Truncate each event payload to N bytes (max 131072)

Output

{
"data": [
{
"type": "mutter" | "message" | "activity" | "artefact",
"agent_id": 42,
"item_id": "...",
"created_at": "...",
"payload": { ... } // shape varies per type
}
],
"meta": { "page": 1, "per_page": 25, "total": <N> }
}

Filter resolution

  • agent accepts numeric IDs and slug names; unknown identifiers are silently dropped.
  • type is a denylist-resilient enum match; unknown types are dropped.
  • since accepts any Time-parseable string; ambiguous strings use UTC.

Gotchas

  • Requires monitor:read API key scope. Without it: 403 FORBIDDEN.
  • Events from Agents you can't read are filtered out before pagination.
  • content_limit truncates; long messages won't be returned in full. Use fibe_resource_get(resource:"artefact_attachment") for full file content.
  • The total meta counts visible events post-filter, not the global count.
  • fibe_monitor_follow — long-poll variant.
  • fibe_mutters_get — single-Agent mutter stream.
  • fibe_resource_list(resource:"artefact") — when you only want artefacts.