@archastro/sdk
    Preparing search index...

    Interface AgentHealth

    Aggregate health profile for an agent, summarizing its current operational status, score, and the full list of setup and health actions.

    interface AgentHealth {
        activity: Record<string, unknown>;
        agent: Agent;
        checked_at: string;
        checks: Record<string, unknown>[];
        counts: Record<string, unknown>;
        health_actions: AgentHealthAction[];
        recent: Record<string, unknown>;
        score: number;
        status: string;
    }
    Index

    Properties

    activity: Record<string, unknown>

    Timestamps for the agent's most recent and next scheduled activity, used to surface last-run and upcoming-run information.

    agent: Agent

    The agent this health profile describes.

    checked_at: string

    When the health profile was last computed (ISO 8601).

    checks: Record<string, unknown>[]

    Renderable health check results. Each object includes at minimum key, label, status, and summary fields.

    counts: Record<string, unknown>

    Action counts broken down by dependency area and resolution status, used to render progress indicators per category.

    health_actions: AgentHealthAction[]

    All actionable items tracked for this agent, including both "setup" items (post-install checklist) and "health" items (probe-detected issues). Sorted by (source, sort_order, id). Use each item's params field to construct deep-links that route the user to the correct resolution flow.

    recent: Record<string, unknown>

    Recent execution metrics for the agent, including run counts and failure counts over a recent time window.

    score: number

    Normalized health score from 0 (fully degraded) to 100 (fully healthy), derived from the weight and status of all health actions.

    status: string

    Overall health status of the agent. One of "ok", "warning", or "critical".