Skip to content

API Reference parrot.server.ui.status

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.server.ui.status

View source

Admin UI status endpoint — GET /api/v1/admin/status.

Aggregates server identity/uptime, agent/crew counts, and per-dependency health (Postgres, Redis, configured vector store) into a single authenticated JSON payload the Admin UI dashboard renders. The response models here are also the source for the TS codegen pipeline (TASK-2526) — keep field names stable and JSON-friendly.

Health probes are individually timeboxed and try/excepted: a dead dependency degrades its own entry, never the endpoint (never a 500).

Class AdminStatus

Aggregate server status payload for the Admin UI dashboard.

Fields:

Field Type Default Description
name str
version str
uptime_seconds float
agents AgentCounts
crews int
dependencies dict[str, DependencyHealth]

Class AdminStatusHandler

GET /api/v1/admin/status — server status/inventory for the dashboard.

Method AdminStatusHandler.get

Return the current :class:AdminStatus payload as JSON.

get() -> web.Response

Returns: web.Response — A 200 JSON response matching :class:AdminStatus. Requires an authenticated session (enforced by the class decorators).

Class AgentCounts

Agent inventory split by source.

Fields:

Field Type Default Description
database int
registry int
loaded int

Class DependencyHealth

Health of a single external dependency (Postgres, Redis, vector store).

Fields:

Field Type Default Description
status Literal['ok', 'unreachable', 'unconfigured']
detail str | None None
latency_ms float | None None

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally