@archastro/sdk
    Preparing search index...

    Variable agentHealthSchemaConst

    agentHealthSchema: ZodObject<
        {
            activity: ZodRecord<
                ZodString,
                ZodType<{} | null, ZodTypeDef, {} | null>,
            >;
            agent: ZodObject<
                {
                    acl: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    add: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                    grants: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                    remove: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    add?: { actions: ...; principal?: ...; principal_type: ... }[];
                                    grants?: { actions: ...; principal?: ...; principal_type: ... }[];
                                    remove?: { principal?: ...; principal_type: ... }[];
                                },
                                {
                                    add?: { actions: ...; principal?: ...; principal_type: ... }[];
                                    grants?: { actions: ...; principal?: ...; principal_type: ... }[];
                                    remove?: { principal?: ...; principal_type: ... }[];
                                },
                            >,
                        >,
                    >;
                    app: ZodOptional<ZodString>;
                    created_at: ZodOptional<ZodString>;
                    default_model: ZodOptional<ZodNullable<ZodString>>;
                    description: ZodOptional<ZodNullable<ZodString>>;
                    email: ZodOptional<ZodNullable<ZodString>>;
                    id: ZodString;
                    identity: ZodOptional<ZodNullable<ZodString>>;
                    last_applied_template_config: ZodOptional<ZodNullable<ZodString>>;
                    lookup_key: ZodOptional<ZodNullable<ZodString>>;
                    metadata: ZodOptional<
                        ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    name: ZodOptional<ZodString>;
                    org: ZodOptional<ZodNullable<ZodString>>;
                    org_name: ZodOptional<ZodNullable<ZodString>>;
                    originator: ZodOptional<ZodNullable<ZodString>>;
                    phone_number: ZodOptional<ZodNullable<ZodString>>;
                    sandbox: ZodOptional<ZodNullable<ZodString>>;
                    source_solution: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    current_solution: ZodOptional<
                                        ZodObject<
                                            {
                                                category_keys: ...;
                                                created_at: ...;
                                                description: ...;
                                                events: ...;
                                                id: ...;
                                                image_url: ...;
                                                installed_config_ids: ...;
                                                kind: ...;
                                                latest_solution: ...;
                                                latest_version: ...;
                                                lookup_key: ...;
                                                metadata: ...;
                                                name: ...;
                                                org: ...;
                                                org_logo: ...;
                                                org_name: ...;
                                                org_slug: ...;
                                                owners: ...;
                                                readme_url: ...;
                                                screenshot_urls: ...;
                                                solution_id: ...;
                                                solution_version: ...;
                                                tag_keys: ...;
                                                template_kind: ...;
                                                templates: ...;
                                                updated_at: ...;
                                                upgrade_available: ...;
                                                virtual_path: ...;
                                            },
                                            "strip",
                                            ZodTypeAny,
                                            {
                                                category_keys?: ...;
                                                created_at?: ...;
                                                description?: ...;
                                                events?: ...;
                                                id: ...;
                                                image_url?: ...;
                                                installed_config_ids: ...;
                                                kind: ...;
                                                latest_solution?: ...;
                                                latest_version?: ...;
                                                lookup_key?: ...;
                                                metadata?: ...;
                                                name?: ...;
                                                org?: ...;
                                                org_logo?: ...;
                                                org_name?: ...;
                                                org_slug?: ...;
                                                owners: ...;
                                                readme_url?: ...;
                                                screenshot_urls?: ...;
                                                solution_id?: ...;
                                                solution_version?: ...;
                                                tag_keys?: ...;
                                                template_kind?: ...;
                                                templates: ...;
                                                updated_at?: ...;
                                                upgrade_available: ...;
                                                virtual_path?: ...;
                                            },
                                            {
                                                category_keys?: ...;
                                                created_at?: ...;
                                                description?: ...;
                                                events?: ...;
                                                id: ...;
                                                image_url?: ...;
                                                installed_config_ids: ...;
                                                kind: ...;
                                                latest_solution?: ...;
                                                latest_version?: ...;
                                                lookup_key?: ...;
                                                metadata?: ...;
                                                name?: ...;
                                                org?: ...;
                                                org_logo?: ...;
                                                org_name?: ...;
                                                org_slug?: ...;
                                                owners: ...;
                                                readme_url?: ...;
                                                screenshot_urls?: ...;
                                                solution_id?: ...;
                                                solution_version?: ...;
                                                tag_keys?: ...;
                                                template_kind?: ...;
                                                templates: ...;
                                                updated_at?: ...;
                                                upgrade_available: ...;
                                                virtual_path?: ...;
                                            },
                                        >,
                                    >;
                                    solution: ZodObject<
                                        {
                                            category_keys: ZodOptional<(...)>;
                                            created_at: ZodOptional<(...)>;
                                            description: ZodOptional<(...)>;
                                            events: ZodOptional<(...)>;
                                            id: ZodString;
                                            image_url: ZodOptional<(...)>;
                                            installed_config_ids: ZodArray<(...), (...)>;
                                            kind: ZodString;
                                            latest_solution: ZodOptional<(...)>;
                                            latest_version: ZodOptional<(...)>;
                                            lookup_key: ZodOptional<(...)>;
                                            metadata: ZodOptional<(...)>;
                                            name: ZodOptional<(...)>;
                                            org: ZodOptional<(...)>;
                                            org_logo: ZodOptional<(...)>;
                                            org_name: ZodOptional<(...)>;
                                            org_slug: ZodOptional<(...)>;
                                            owners: ZodArray<(...), (...)>;
                                            readme_url: ZodOptional<(...)>;
                                            screenshot_urls: ZodOptional<(...)>;
                                            solution_id: ZodOptional<(...)>;
                                            solution_version: ZodOptional<(...)>;
                                            tag_keys: ZodOptional<(...)>;
                                            template_kind: ZodOptional<(...)>;
                                            templates: ZodArray<(...), (...)>;
                                            updated_at: ZodOptional<(...)>;
                                            upgrade_available: ZodBoolean;
                                            virtual_path: ZodOptional<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            category_keys?: (...)
                                            | (...);
                                            created_at?: (...) | (...);
                                            description?: (...) | (...) | (...);
                                            events?: (...) | (...);
                                            id: string;
                                            image_url?: (...) | (...) | (...);
                                            installed_config_ids: (...)[];
                                            kind: string;
                                            latest_solution?: (...) | (...) | (...);
                                            latest_version?: (...) | (...) | (...);
                                            lookup_key?: (...) | (...) | (...);
                                            metadata?: (...) | (...);
                                            name?: (...) | (...) | (...);
                                            org?: (...) | (...) | (...);
                                            org_logo?: (...) | (...) | (...);
                                            org_name?: (...) | (...) | (...);
                                            org_slug?: (...) | (...) | (...);
                                            owners: (...)[];
                                            readme_url?: (...) | (...) | (...);
                                            screenshot_urls?: (...) | (...);
                                            solution_id?: (...) | (...) | (...);
                                            solution_version?: (...) | (...) | (...);
                                            tag_keys?: (...) | (...);
                                            template_kind?: (...) | (...) | (...);
                                            templates: (...)[];
                                            updated_at?: (...) | (...);
                                            upgrade_available: boolean;
                                            virtual_path?: (...) | (...) | (...);
                                        },
                                        {
                                            category_keys?: (...)
                                            | (...);
                                            created_at?: (...) | (...);
                                            description?: (...) | (...) | (...);
                                            events?: (...) | (...);
                                            id: string;
                                            image_url?: (...) | (...) | (...);
                                            installed_config_ids: (...)[];
                                            kind: string;
                                            latest_solution?: (...) | (...) | (...);
                                            latest_version?: (...) | (...) | (...);
                                            lookup_key?: (...) | (...) | (...);
                                            metadata?: (...) | (...);
                                            name?: (...) | (...) | (...);
                                            org?: (...) | (...) | (...);
                                            org_logo?: (...) | (...) | (...);
                                            org_name?: (...) | (...) | (...);
                                            org_slug?: (...) | (...) | (...);
                                            owners: (...)[];
                                            readme_url?: (...) | (...) | (...);
                                            screenshot_urls?: (...) | (...);
                                            solution_id?: (...) | (...) | (...);
                                            solution_version?: (...) | (...) | (...);
                                            tag_keys?: (...) | (...);
                                            template_kind?: (...) | (...) | (...);
                                            templates: (...)[];
                                            updated_at?: (...) | (...);
                                            upgrade_available: boolean;
                                            virtual_path?: (...) | (...) | (...);
                                        },
                                    >;
                                    template: ZodObject<
                                        {
                                            created_at: ZodOptional<(...)>;
                                            description: ZodOptional<(...)>;
                                            display_name: ZodOptional<(...)>;
                                            id: ZodString;
                                            kind: ZodString;
                                            lookup_key: ZodOptional<(...)>;
                                            name: ZodOptional<(...)>;
                                            updated_at: ZodOptional<(...)>;
                                            virtual_path: ZodOptional<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            created_at?: (...)
                                            | (...);
                                            description?: (...) | (...) | (...);
                                            display_name?: (...) | (...) | (...);
                                            id: string;
                                            kind: string;
                                            lookup_key?: (...) | (...) | (...);
                                            name?: (...) | (...) | (...);
                                            updated_at?: (...) | (...);
                                            virtual_path?: (...) | (...) | (...);
                                        },
                                        {
                                            created_at?: (...)
                                            | (...);
                                            description?: (...) | (...) | (...);
                                            display_name?: (...) | (...) | (...);
                                            id: string;
                                            kind: string;
                                            lookup_key?: (...) | (...) | (...);
                                            name?: (...) | (...) | (...);
                                            updated_at?: (...) | (...);
                                            virtual_path?: (...) | (...) | (...);
                                        },
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    current_solution?: {
                                        category_keys?: (...)
                                        | (...);
                                        created_at?: (...) | (...);
                                        description?: (...) | (...) | (...);
                                        events?: (...) | (...);
                                        id: string;
                                        image_url?: (...) | (...) | (...);
                                        installed_config_ids: (...)[];
                                        kind: string;
                                        latest_solution?: (...) | (...) | (...);
                                        latest_version?: (...) | (...) | (...);
                                        lookup_key?: (...) | (...) | (...);
                                        metadata?: (...) | (...);
                                        name?: (...) | (...) | (...);
                                        org?: (...) | (...) | (...);
                                        org_logo?: (...) | (...) | (...);
                                        org_name?: (...) | (...) | (...);
                                        org_slug?: (...) | (...) | (...);
                                        owners: (...)[];
                                        readme_url?: (...) | (...) | (...);
                                        screenshot_urls?: (...) | (...);
                                        solution_id?: (...) | (...) | (...);
                                        solution_version?: (...) | (...) | (...);
                                        tag_keys?: (...) | (...);
                                        template_kind?: (...) | (...) | (...);
                                        templates: (...)[];
                                        updated_at?: (...) | (...);
                                        upgrade_available: boolean;
                                        virtual_path?: (...) | (...) | (...);
                                    };
                                    solution: {
                                        category_keys?: (...)[];
                                        created_at?: string;
                                        description?: string | null;
                                        events?: Record<(...), (...)>;
                                        id: string;
                                        image_url?: string | null;
                                        installed_config_ids: string[];
                                        kind: string;
                                        latest_solution?: string | null;
                                        latest_version?: string | null;
                                        lookup_key?: string | null;
                                        metadata?: Record<(...), (...)>;
                                        name?: string | null;
                                        org?: string | null;
                                        org_logo?:
                                            | {
                                                file?: ...;
                                                height?: ...;
                                                media?: ...;
                                                mime_type?: ...;
                                                refresh_url?: ...;
                                                url?: ...;
                                                width?: ...;
                                            }
                                            | null;
                                        org_name?: string
                                        | null;
                                        org_slug?: string | null;
                                        owners: string[];
                                        readme_url?: string | null;
                                        screenshot_urls?: (...)[];
                                        solution_id?: string | null;
                                        solution_version?: string | null;
                                        tag_keys?: (...)[];
                                        template_kind?: string | null;
                                        templates: {
                                            description?: ...;
                                            details?: ...;
                                            display_name?: ...;
                                            id?: ...;
                                            kind: ...;
                                            lookup_key?: ...;
                                            name?: ...;
                                            readme_url?: ...;
                                            virtual_path?: ...;
                                        }[];
                                        updated_at?: string;
                                        upgrade_available: boolean;
                                        virtual_path?: string
                                        | null;
                                    };
                                    template: {
                                        created_at?: string;
                                        description?: string
                                        | null;
                                        display_name?: string | null;
                                        id: string;
                                        kind: string;
                                        lookup_key?: string | null;
                                        name?: string | null;
                                        updated_at?: string;
                                        virtual_path?: string | null;
                                    };
                                },
                                {
                                    current_solution?: {
                                        category_keys?: (...)
                                        | (...);
                                        created_at?: (...) | (...);
                                        description?: (...) | (...) | (...);
                                        events?: (...) | (...);
                                        id: string;
                                        image_url?: (...) | (...) | (...);
                                        installed_config_ids: (...)[];
                                        kind: string;
                                        latest_solution?: (...) | (...) | (...);
                                        latest_version?: (...) | (...) | (...);
                                        lookup_key?: (...) | (...) | (...);
                                        metadata?: (...) | (...);
                                        name?: (...) | (...) | (...);
                                        org?: (...) | (...) | (...);
                                        org_logo?: (...) | (...) | (...);
                                        org_name?: (...) | (...) | (...);
                                        org_slug?: (...) | (...) | (...);
                                        owners: (...)[];
                                        readme_url?: (...) | (...) | (...);
                                        screenshot_urls?: (...) | (...);
                                        solution_id?: (...) | (...) | (...);
                                        solution_version?: (...) | (...) | (...);
                                        tag_keys?: (...) | (...);
                                        template_kind?: (...) | (...) | (...);
                                        templates: (...)[];
                                        updated_at?: (...) | (...);
                                        upgrade_available: boolean;
                                        virtual_path?: (...) | (...) | (...);
                                    };
                                    solution: {
                                        category_keys?: (...)[];
                                        created_at?: string;
                                        description?: string | null;
                                        events?: Record<(...), (...)>;
                                        id: string;
                                        image_url?: string | null;
                                        installed_config_ids: string[];
                                        kind: string;
                                        latest_solution?: string | null;
                                        latest_version?: string | null;
                                        lookup_key?: string | null;
                                        metadata?: Record<(...), (...)>;
                                        name?: string | null;
                                        org?: string | null;
                                        org_logo?:
                                            | {
                                                file?: ...;
                                                height?: ...;
                                                media?: ...;
                                                mime_type?: ...;
                                                refresh_url?: ...;
                                                url?: ...;
                                                width?: ...;
                                            }
                                            | null;
                                        org_name?: string
                                        | null;
                                        org_slug?: string | null;
                                        owners: string[];
                                        readme_url?: string | null;
                                        screenshot_urls?: (...)[];
                                        solution_id?: string | null;
                                        solution_version?: string | null;
                                        tag_keys?: (...)[];
                                        template_kind?: string | null;
                                        templates: {
                                            description?: ...;
                                            details?: ...;
                                            display_name?: ...;
                                            id?: ...;
                                            kind: ...;
                                            lookup_key?: ...;
                                            name?: ...;
                                            readme_url?: ...;
                                            virtual_path?: ...;
                                        }[];
                                        updated_at?: string;
                                        upgrade_available: boolean;
                                        virtual_path?: string
                                        | null;
                                    };
                                    template: {
                                        created_at?: string;
                                        description?: string
                                        | null;
                                        display_name?: string | null;
                                        id: string;
                                        kind: string;
                                        lookup_key?: string | null;
                                        name?: string | null;
                                        updated_at?: string;
                                        virtual_path?: string | null;
                                    };
                                },
                            >,
                        >,
                    >;
                    team: ZodOptional<ZodNullable<ZodString>>;
                    template_upgrade_available: ZodOptional<ZodNullable<ZodBoolean>>;
                    updated_at: ZodOptional<ZodString>;
                    user: ZodOptional<ZodNullable<ZodString>>;
                },
                "strip",
                ZodTypeAny,
                {
                    acl?: | {
                        add?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        grants?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        remove?: { principal?: string; principal_type: string }[];
                    }
                    | null;
                    app?: string;
                    created_at?: string;
                    default_model?: string
                    | null;
                    description?: string | null;
                    email?: string | null;
                    id: string;
                    identity?: string | null;
                    last_applied_template_config?: string | null;
                    lookup_key?: string | null;
                    metadata?: Record<string, {} | null>;
                    name?: string;
                    org?: string | null;
                    org_name?: string | null;
                    originator?: string | null;
                    phone_number?: string | null;
                    sandbox?: string | null;
                    source_solution?:
                        | {
                            current_solution?: {
                                category_keys?: string[];
                                created_at?: string;
                                description?: string
                                | null;
                                events?: Record<string, (...) | (...)>;
                                id: string;
                                image_url?: string | null;
                                installed_config_ids: string[];
                                kind: string;
                                latest_solution?: string | null;
                                latest_version?: string | null;
                                lookup_key?: string | null;
                                metadata?: Record<string, (...) | (...)>;
                                name?: string | null;
                                org?: string | null;
                                org_logo?:
                                    | {
                                        file?: (...)
                                        | (...)
                                        | (...);
                                        height?: (...) | (...) | (...);
                                        media?: (...) | (...) | (...);
                                        mime_type?: (...) | (...) | (...);
                                        refresh_url?: (...) | (...) | (...);
                                        url?: (...) | (...) | (...);
                                        width?: (...) | (...) | (...);
                                    }
                                    | null;
                                org_name?: string
                                | null;
                                org_slug?: string | null;
                                owners: string[];
                                readme_url?: string | null;
                                screenshot_urls?: string[];
                                solution_id?: string | null;
                                solution_version?: string | null;
                                tag_keys?: string[];
                                template_kind?: string | null;
                                templates: {
                                    description?: (...) | (...) | (...);
                                    details?: (...) | (...) | (...);
                                    display_name?: (...) | (...) | (...);
                                    id?: (...) | (...) | (...);
                                    kind: string;
                                    lookup_key?: (...) | (...) | (...);
                                    name?: (...) | (...) | (...);
                                    readme_url?: (...) | (...) | (...);
                                    virtual_path?: (...) | (...) | (...);
                                }[];
                                updated_at?: string;
                                upgrade_available: boolean;
                                virtual_path?: string
                                | null;
                            };
                            solution: {
                                category_keys?: string[];
                                created_at?: string;
                                description?: string
                                | null;
                                events?: Record<string, {} | null>;
                                id: string;
                                image_url?: string | null;
                                installed_config_ids: string[];
                                kind: string;
                                latest_solution?: string | null;
                                latest_version?: string | null;
                                lookup_key?: string | null;
                                metadata?: Record<string, {} | null>;
                                name?: string | null;
                                org?: string | null;
                                org_logo?:
                                    | {
                                        file?: string
                                        | null;
                                        height?: number | null;
                                        media?: string | null;
                                        mime_type?: string | null;
                                        refresh_url?: string | null;
                                        url?: string | null;
                                        width?: number | null;
                                    }
                                    | null;
                                org_name?: string
                                | null;
                                org_slug?: string | null;
                                owners: string[];
                                readme_url?: string | null;
                                screenshot_urls?: string[];
                                solution_id?: string | null;
                                solution_version?: string | null;
                                tag_keys?: string[];
                                template_kind?: string | null;
                                templates: {
                                    description?: string | null;
                                    details?:
                                        | { automation_type?: ...; invoke_contract?: ...; type: ... }
                                        | null;
                                    display_name?: string | null;
                                    id?: string | null;
                                    kind: string;
                                    lookup_key?: string | null;
                                    name?: string | null;
                                    readme_url?: string | null;
                                    virtual_path?: string | null;
                                }[];
                                updated_at?: string;
                                upgrade_available: boolean;
                                virtual_path?: string
                                | null;
                            };
                            template: {
                                created_at?: string;
                                description?: string
                                | null;
                                display_name?: string | null;
                                id: string;
                                kind: string;
                                lookup_key?: string | null;
                                name?: string | null;
                                updated_at?: string;
                                virtual_path?: string | null;
                            };
                        }
                        | null;
                    team?: string
                    | null;
                    template_upgrade_available?: boolean | null;
                    updated_at?: string;
                    user?: string | null;
                },
                {
                    acl?: | {
                        add?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        grants?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        remove?: { principal?: string; principal_type: string }[];
                    }
                    | null;
                    app?: string;
                    created_at?: string;
                    default_model?: string
                    | null;
                    description?: string | null;
                    email?: string | null;
                    id: string;
                    identity?: string | null;
                    last_applied_template_config?: string | null;
                    lookup_key?: string | null;
                    metadata?: Record<string, {} | null>;
                    name?: string;
                    org?: string | null;
                    org_name?: string | null;
                    originator?: string | null;
                    phone_number?: string | null;
                    sandbox?: string | null;
                    source_solution?:
                        | {
                            current_solution?: {
                                category_keys?: string[];
                                created_at?: string;
                                description?: string
                                | null;
                                events?: Record<string, (...) | (...)>;
                                id: string;
                                image_url?: string | null;
                                installed_config_ids: string[];
                                kind: string;
                                latest_solution?: string | null;
                                latest_version?: string | null;
                                lookup_key?: string | null;
                                metadata?: Record<string, (...) | (...)>;
                                name?: string | null;
                                org?: string | null;
                                org_logo?:
                                    | {
                                        file?: (...)
                                        | (...)
                                        | (...);
                                        height?: (...) | (...) | (...);
                                        media?: (...) | (...) | (...);
                                        mime_type?: (...) | (...) | (...);
                                        refresh_url?: (...) | (...) | (...);
                                        url?: (...) | (...) | (...);
                                        width?: (...) | (...) | (...);
                                    }
                                    | null;
                                org_name?: string
                                | null;
                                org_slug?: string | null;
                                owners: string[];
                                readme_url?: string | null;
                                screenshot_urls?: string[];
                                solution_id?: string | null;
                                solution_version?: string | null;
                                tag_keys?: string[];
                                template_kind?: string | null;
                                templates: {
                                    description?: (...) | (...) | (...);
                                    details?: (...) | (...) | (...);
                                    display_name?: (...) | (...) | (...);
                                    id?: (...) | (...) | (...);
                                    kind: string;
                                    lookup_key?: (...) | (...) | (...);
                                    name?: (...) | (...) | (...);
                                    readme_url?: (...) | (...) | (...);
                                    virtual_path?: (...) | (...) | (...);
                                }[];
                                updated_at?: string;
                                upgrade_available: boolean;
                                virtual_path?: string
                                | null;
                            };
                            solution: {
                                category_keys?: string[];
                                created_at?: string;
                                description?: string
                                | null;
                                events?: Record<string, {} | null>;
                                id: string;
                                image_url?: string | null;
                                installed_config_ids: string[];
                                kind: string;
                                latest_solution?: string | null;
                                latest_version?: string | null;
                                lookup_key?: string | null;
                                metadata?: Record<string, {} | null>;
                                name?: string | null;
                                org?: string | null;
                                org_logo?:
                                    | {
                                        file?: string
                                        | null;
                                        height?: number | null;
                                        media?: string | null;
                                        mime_type?: string | null;
                                        refresh_url?: string | null;
                                        url?: string | null;
                                        width?: number | null;
                                    }
                                    | null;
                                org_name?: string
                                | null;
                                org_slug?: string | null;
                                owners: string[];
                                readme_url?: string | null;
                                screenshot_urls?: string[];
                                solution_id?: string | null;
                                solution_version?: string | null;
                                tag_keys?: string[];
                                template_kind?: string | null;
                                templates: {
                                    description?: string | null;
                                    details?:
                                        | { automation_type?: ...; invoke_contract?: ...; type: ... }
                                        | null;
                                    display_name?: string | null;
                                    id?: string | null;
                                    kind: string;
                                    lookup_key?: string | null;
                                    name?: string | null;
                                    readme_url?: string | null;
                                    virtual_path?: string | null;
                                }[];
                                updated_at?: string;
                                upgrade_available: boolean;
                                virtual_path?: string
                                | null;
                            };
                            template: {
                                created_at?: string;
                                description?: string
                                | null;
                                display_name?: string | null;
                                id: string;
                                kind: string;
                                lookup_key?: string | null;
                                name?: string | null;
                                updated_at?: string;
                                virtual_path?: string | null;
                            };
                        }
                        | null;
                    team?: string
                    | null;
                    template_upgrade_available?: boolean | null;
                    updated_at?: string;
                    user?: string | null;
                },
            >;
            checked_at: ZodString;
            checks: ZodArray<
                ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                "many",
            >;
            counts: ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>;
            health_actions: ZodArray<
                ZodObject<
                    {
                        agent: ZodOptional<ZodString>;
                        app: ZodOptional<ZodString>;
                        created_at: ZodOptional<ZodString>;
                        depends_on: ZodOptional<ZodArray<ZodString, "many">>;
                        description: ZodOptional<ZodString>;
                        id: ZodString;
                        kind: ZodString;
                        last_verified_at: ZodOptional<ZodString>;
                        last_verifier_message: ZodOptional<ZodString>;
                        org: ZodOptional<ZodString>;
                        params: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        required: ZodBoolean;
                        sort_order: ZodNumber;
                        source: ZodString;
                        status: ZodString;
                        title: ZodString;
                        updated_at: ZodOptional<ZodString>;
                        verify_config: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                    },
                    "strip",
                    ZodTypeAny,
                    {
                        agent?: string;
                        app?: string;
                        created_at?: string;
                        depends_on?: string[];
                        description?: string;
                        id: string;
                        kind: string;
                        last_verified_at?: string;
                        last_verifier_message?: string;
                        org?: string;
                        params?: Record<string, {} | null>;
                        required: boolean;
                        sort_order: number;
                        source: string;
                        status: string;
                        title: string;
                        updated_at?: string;
                        verify_config?: Record<string, {} | null>;
                    },
                    {
                        agent?: string;
                        app?: string;
                        created_at?: string;
                        depends_on?: string[];
                        description?: string;
                        id: string;
                        kind: string;
                        last_verified_at?: string;
                        last_verifier_message?: string;
                        org?: string;
                        params?: Record<string, {} | null>;
                        required: boolean;
                        sort_order: number;
                        source: string;
                        status: string;
                        title: string;
                        updated_at?: string;
                        verify_config?: Record<string, {} | null>;
                    },
                >,
                "many",
            >;
            recent: ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>;
            score: ZodNumber;
            status: ZodString;
        },
        "strip",
        ZodTypeAny,
        {
            activity: Record<string, {} | null>;
            agent: {
                acl?:
                    | {
                        add?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        grants?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        remove?: { principal?: string; principal_type: string }[];
                    }
                    | null;
                app?: string;
                created_at?: string;
                default_model?: string
                | null;
                description?: string | null;
                email?: string | null;
                id: string;
                identity?: string | null;
                last_applied_template_config?: string | null;
                lookup_key?: string | null;
                metadata?: Record<string, {} | null>;
                name?: string;
                org?: string | null;
                org_name?: string | null;
                originator?: string | null;
                phone_number?: string | null;
                sandbox?: string | null;
                source_solution?:
                    | {
                        current_solution?: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, {} | null>;
                            id: string;
                            image_url?: string | null;
                            installed_config_ids: string[];
                            kind: string;
                            latest_solution?: string | null;
                            latest_version?: string | null;
                            lookup_key?: string | null;
                            metadata?: Record<string, {} | null>;
                            name?: string | null;
                            org?: string | null;
                            org_logo?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                            org_name?: string
                            | null;
                            org_slug?: string | null;
                            owners: string[];
                            readme_url?: string | null;
                            screenshot_urls?: string[];
                            solution_id?: string | null;
                            solution_version?: string | null;
                            tag_keys?: string[];
                            template_kind?: string | null;
                            templates: {
                                description?: string | null;
                                details?:
                                    | { automation_type?: ...; invoke_contract?: ...; type: ... }
                                    | null;
                                display_name?: string | null;
                                id?: string | null;
                                kind: string;
                                lookup_key?: string | null;
                                name?: string | null;
                                readme_url?: string | null;
                                virtual_path?: string | null;
                            }[];
                            updated_at?: string;
                            upgrade_available: boolean;
                            virtual_path?: string
                            | null;
                        };
                        solution: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, {} | null>;
                            id: string;
                            image_url?: string | null;
                            installed_config_ids: string[];
                            kind: string;
                            latest_solution?: string | null;
                            latest_version?: string | null;
                            lookup_key?: string | null;
                            metadata?: Record<string, {} | null>;
                            name?: string | null;
                            org?: string | null;
                            org_logo?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                            org_name?: string
                            | null;
                            org_slug?: string | null;
                            owners: string[];
                            readme_url?: string | null;
                            screenshot_urls?: string[];
                            solution_id?: string | null;
                            solution_version?: string | null;
                            tag_keys?: string[];
                            template_kind?: string | null;
                            templates: {
                                description?: string | null;
                                details?:
                                    | {
                                        automation_type?: (...)
                                        | (...)
                                        | (...);
                                        invoke_contract?: (...) | (...) | (...);
                                        type: "automation";
                                    }
                                    | null;
                                display_name?: string
                                | null;
                                id?: string | null;
                                kind: string;
                                lookup_key?: string | null;
                                name?: string | null;
                                readme_url?: string | null;
                                virtual_path?: string | null;
                            }[];
                            updated_at?: string;
                            upgrade_available: boolean;
                            virtual_path?: string
                            | null;
                        };
                        template: {
                            created_at?: string;
                            description?: string
                            | null;
                            display_name?: string | null;
                            id: string;
                            kind: string;
                            lookup_key?: string | null;
                            name?: string | null;
                            updated_at?: string;
                            virtual_path?: string | null;
                        };
                    }
                    | null;
                team?: string
                | null;
                template_upgrade_available?: boolean | null;
                updated_at?: string;
                user?: string | null;
            };
            checked_at: string;
            checks: Record<string, {} | null>[];
            counts: Record<string, {} | null>;
            health_actions: {
                agent?: string;
                app?: string;
                created_at?: string;
                depends_on?: string[];
                description?: string;
                id: string;
                kind: string;
                last_verified_at?: string;
                last_verifier_message?: string;
                org?: string;
                params?: Record<string, {} | null>;
                required: boolean;
                sort_order: number;
                source: string;
                status: string;
                title: string;
                updated_at?: string;
                verify_config?: Record<string, {} | null>;
            }[];
            recent: Record<string, {} | null>;
            score: number;
            status: string;
        },
        {
            activity: Record<string, {} | null>;
            agent: {
                acl?:
                    | {
                        add?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        grants?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        remove?: { principal?: string; principal_type: string }[];
                    }
                    | null;
                app?: string;
                created_at?: string;
                default_model?: string
                | null;
                description?: string | null;
                email?: string | null;
                id: string;
                identity?: string | null;
                last_applied_template_config?: string | null;
                lookup_key?: string | null;
                metadata?: Record<string, {} | null>;
                name?: string;
                org?: string | null;
                org_name?: string | null;
                originator?: string | null;
                phone_number?: string | null;
                sandbox?: string | null;
                source_solution?:
                    | {
                        current_solution?: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, {} | null>;
                            id: string;
                            image_url?: string | null;
                            installed_config_ids: string[];
                            kind: string;
                            latest_solution?: string | null;
                            latest_version?: string | null;
                            lookup_key?: string | null;
                            metadata?: Record<string, {} | null>;
                            name?: string | null;
                            org?: string | null;
                            org_logo?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                            org_name?: string
                            | null;
                            org_slug?: string | null;
                            owners: string[];
                            readme_url?: string | null;
                            screenshot_urls?: string[];
                            solution_id?: string | null;
                            solution_version?: string | null;
                            tag_keys?: string[];
                            template_kind?: string | null;
                            templates: {
                                description?: string | null;
                                details?:
                                    | { automation_type?: ...; invoke_contract?: ...; type: ... }
                                    | null;
                                display_name?: string | null;
                                id?: string | null;
                                kind: string;
                                lookup_key?: string | null;
                                name?: string | null;
                                readme_url?: string | null;
                                virtual_path?: string | null;
                            }[];
                            updated_at?: string;
                            upgrade_available: boolean;
                            virtual_path?: string
                            | null;
                        };
                        solution: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, {} | null>;
                            id: string;
                            image_url?: string | null;
                            installed_config_ids: string[];
                            kind: string;
                            latest_solution?: string | null;
                            latest_version?: string | null;
                            lookup_key?: string | null;
                            metadata?: Record<string, {} | null>;
                            name?: string | null;
                            org?: string | null;
                            org_logo?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                            org_name?: string
                            | null;
                            org_slug?: string | null;
                            owners: string[];
                            readme_url?: string | null;
                            screenshot_urls?: string[];
                            solution_id?: string | null;
                            solution_version?: string | null;
                            tag_keys?: string[];
                            template_kind?: string | null;
                            templates: {
                                description?: string | null;
                                details?:
                                    | {
                                        automation_type?: (...)
                                        | (...)
                                        | (...);
                                        invoke_contract?: (...) | (...) | (...);
                                        type: "automation";
                                    }
                                    | null;
                                display_name?: string
                                | null;
                                id?: string | null;
                                kind: string;
                                lookup_key?: string | null;
                                name?: string | null;
                                readme_url?: string | null;
                                virtual_path?: string | null;
                            }[];
                            updated_at?: string;
                            upgrade_available: boolean;
                            virtual_path?: string
                            | null;
                        };
                        template: {
                            created_at?: string;
                            description?: string
                            | null;
                            display_name?: string | null;
                            id: string;
                            kind: string;
                            lookup_key?: string | null;
                            name?: string | null;
                            updated_at?: string;
                            virtual_path?: string | null;
                        };
                    }
                    | null;
                team?: string
                | null;
                template_upgrade_available?: boolean | null;
                updated_at?: string;
                user?: string | null;
            };
            checked_at: string;
            checks: Record<string, {} | null>[];
            counts: Record<string, {} | null>;
            health_actions: {
                agent?: string;
                app?: string;
                created_at?: string;
                depends_on?: string[];
                description?: string;
                id: string;
                kind: string;
                last_verified_at?: string;
                last_verifier_message?: string;
                org?: string;
                params?: Record<string, {} | null>;
                required: boolean;
                sort_order: number;
                source: string;
                status: string;
                title: string;
                updated_at?: string;
                verify_config?: Record<string, {} | null>;
            }[];
            recent: Record<string, {} | null>;
            score: number;
            status: string;
        },
    > = ...

    Runtime validator for AgentHealth.