Pynmon API Reference¶
Complete list of HTTP endpoints exposed by the Pynmon monitoring server.
Home¶
Endpoint |
Description |
|---|---|
|
Dashboard overview with event counters |
|
Lightweight health check (JSON) |
Broker (/broker/)¶
Endpoint |
Description |
|---|---|
|
Broker overview |
|
Queue contents |
|
HTMX partial refresh |
|
Purge all pending invocations |
Orchestrator (/orchestrator/)¶
Endpoint |
Description |
|---|---|
|
Orchestrator overview with status counts |
|
HTMX partial refresh |
|
Auto-purge orchestrator data |
Runners (/runners/)¶
Endpoint |
Description |
|---|---|
|
Active runners overview |
|
HTMX partial refresh |
|
Runner detail |
|
Atomic service run detail |
|
Atomic service execution timeline |
Tasks (/tasks/)¶
Endpoint |
Description |
|---|---|
|
List all registered tasks |
|
HTMX partial refresh |
|
Task detail with calls and invocations |
Invocations (/invocations/)¶
Endpoint |
Description |
|---|---|
|
Paginated invocation list with filters |
|
SVG timeline visualization |
|
HTMX partial table refresh |
|
Invocation detail with history |
|
Status history (JSON) |
|
Invocation trigger context (JSON) |
|
Family tree SVG partial |
|
Re-run the same call |
Calls (/calls/)¶
Endpoint |
Description |
|---|---|
|
Call detail by query parameter |
|
Call detail by path |
Workflows (/workflows/)¶
Endpoint |
Description |
|---|---|
|
List workflow types |
|
HTMX partial refresh |
|
List all workflow runs |
|
HTMX partial refresh |
|
Workflow type detail |
|
HTMX partial refresh |
|
Debug overview (dev) |
State Backend (/state-backend/)¶
Endpoint |
Description |
|---|---|
|
State backend overview |
|
Purge all state data |
Client Data Store (/client-data-store/)¶
Endpoint |
Description |
|---|---|
|
Client data store overview |
|
Purge all cached data |
Log Explorer (/log-explorer/)¶
Endpoint |
Description |
|---|---|
|
Log explorer interface |
Events (/events/)¶
GET /events/: Paginated event list with filters:event_code,start,end,matched,triggered,page,page_size.GET /events/{event_id}: Event detail with payload, matched conditions, and triggered invocations.GET /events/{event_id}/api: JSON event detail (event + trigger runs) for timeline detail panels and external consumers.GET /events/{event_id}/trigger-runs: JSON list of trigger runs that referenced the event.GET /events/{event_id}/trace: JSON causal trace — the full chain of invocations, events, and trigger runs reachable from this event.GET /events/api/markers: JSON list of event markers for a time window; used by the invocation timeline to overlay event indicators.POST /events/auto-purge: Apply the configured retention/capacity policy and remove expired events and trigger runs (returns counters).
Trigger Runs (/trigger-runs/)¶
GET /trigger-runs/{trigger_run_id}: Trigger-run detail page with source invocations, related events, and per-participant condition/context data.GET /trigger-runs/{trigger_run_id}/api: JSON trigger-run detail with related events and per-participantTriggerCondition/ConditionContextviews.GET /trigger-runs/condition?condition_id=...: Detail page for a registered trigger condition that can still be resolved by the trigger backend.GET /trigger-runs/valid-condition?valid_condition_id=...: Detail page for a valid condition only while that transient value is still retained.
Triggers (/triggers/)¶
Endpoint |
Description |
|---|---|
|
Trigger definition detail |
App Switching¶
Endpoint |
Description |
|---|---|
|
Switch active app, redirect to |
Global Actions¶
Endpoint |
Description |
|---|---|
|
Purge all data (broker, orchestrator, state backend, client data store) |