@archastro/sdk
    Preparing search index...

    Variable agentRoutineListResponseSchemaConst

    agentRoutineListResponseSchema: ZodObject<
        {
            data: ZodArray<
                ZodObject<
                    {
                        acl: ZodOptional<
                            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: ... }[];
                                },
                            >,
                        >;
                        agent: ZodOptional<ZodString>;
                        app: ZodOptional<ZodString>;
                        config: ZodOptional<ZodString>;
                        created_at: ZodOptional<ZodString>;
                        description: ZodOptional<ZodString>;
                        event_config: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
                        event_type: ZodOptional<ZodString>;
                        handler_type: ZodOptional<ZodString>;
                        id: ZodString;
                        last_applied_template_config: ZodOptional<ZodString>;
                        lookup_key: ZodOptional<ZodString>;
                        metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
                        name: ZodOptional<ZodString>;
                        preset_config: ZodOptional<
                            ZodObject<
                                {
                                    instructions: ZodOptional<ZodString>;
                                    llm: ZodOptional<
                                        ZodObject<
                                            { model: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { model?: ... },
                                            { model?: ... },
                                        >,
                                    >;
                                    session_mode: ZodOptional<ZodString>;
                                    session_scope: ZodOptional<ZodString>;
                                    structured_message_template_ids: ZodOptional<
                                        ZodArray<ZodString, "many">,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    instructions?: string;
                                    llm?: { model?: (...)
                                    | (...) };
                                    session_mode?: string;
                                    session_scope?: string;
                                    structured_message_template_ids?: string[];
                                },
                                {
                                    instructions?: string;
                                    llm?: { model?: (...)
                                    | (...) };
                                    session_mode?: string;
                                    session_scope?: string;
                                    structured_message_template_ids?: string[];
                                },
                            >,
                        >;
                        preset_name: ZodOptional<ZodString>;
                        schedule: ZodOptional<ZodString>;
                        script: ZodOptional<ZodString>;
                        status: ZodOptional<ZodString>;
                        steps: ZodOptional<ZodArray<ZodRecord<ZodString, ZodUnknown>, "many">>;
                        trigger_context: ZodOptional<ZodString>;
                        updated_at: ZodOptional<ZodString>;
                    },
                    "strip",
                    ZodTypeAny,
                    {
                        acl?: {
                            add?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            grants?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            remove?: { principal?: (...)
                            | (...); principal_type: string }[];
                        };
                        agent?: string;
                        app?: string;
                        config?: string;
                        created_at?: string;
                        description?: string;
                        event_config?: Record<string, unknown>;
                        event_type?: string;
                        handler_type?: string;
                        id: string;
                        last_applied_template_config?: string;
                        lookup_key?: string;
                        metadata?: Record<string, unknown>;
                        name?: string;
                        preset_config?: {
                            instructions?: string;
                            llm?: { model?: string };
                            session_mode?: string;
                            session_scope?: string;
                            structured_message_template_ids?: string[];
                        };
                        preset_name?: string;
                        schedule?: string;
                        script?: string;
                        status?: string;
                        steps?: Record<string, unknown>[];
                        trigger_context?: string;
                        updated_at?: string;
                    },
                    {
                        acl?: {
                            add?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            grants?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            remove?: { principal?: (...)
                            | (...); principal_type: string }[];
                        };
                        agent?: string;
                        app?: string;
                        config?: string;
                        created_at?: string;
                        description?: string;
                        event_config?: Record<string, unknown>;
                        event_type?: string;
                        handler_type?: string;
                        id: string;
                        last_applied_template_config?: string;
                        lookup_key?: string;
                        metadata?: Record<string, unknown>;
                        name?: string;
                        preset_config?: {
                            instructions?: string;
                            llm?: { model?: string };
                            session_mode?: string;
                            session_scope?: string;
                            structured_message_template_ids?: string[];
                        };
                        preset_name?: string;
                        schedule?: string;
                        script?: string;
                        status?: string;
                        steps?: Record<string, unknown>[];
                        trigger_context?: string;
                        updated_at?: string;
                    },
                >,
                "many",
            >;
        },
        "strip",
        ZodTypeAny,
        {
            data: {
                acl?: {
                    add?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    grants?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    remove?: { principal?: string; principal_type: string }[];
                };
                agent?: string;
                app?: string;
                config?: string;
                created_at?: string;
                description?: string;
                event_config?: Record<string, unknown>;
                event_type?: string;
                handler_type?: string;
                id: string;
                last_applied_template_config?: string;
                lookup_key?: string;
                metadata?: Record<string, unknown>;
                name?: string;
                preset_config?: {
                    instructions?: string;
                    llm?: { model?: string };
                    session_mode?: string;
                    session_scope?: string;
                    structured_message_template_ids?: string[];
                };
                preset_name?: string;
                schedule?: string;
                script?: string;
                status?: string;
                steps?: Record<string, unknown>[];
                trigger_context?: string;
                updated_at?: string;
            }[];
        },
        {
            data: {
                acl?: {
                    add?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    grants?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    remove?: { principal?: string; principal_type: string }[];
                };
                agent?: string;
                app?: string;
                config?: string;
                created_at?: string;
                description?: string;
                event_config?: Record<string, unknown>;
                event_type?: string;
                handler_type?: string;
                id: string;
                last_applied_template_config?: string;
                lookup_key?: string;
                metadata?: Record<string, unknown>;
                name?: string;
                preset_config?: {
                    instructions?: string;
                    llm?: { model?: string };
                    session_mode?: string;
                    session_scope?: string;
                    structured_message_template_ids?: string[];
                };
                preset_name?: string;
                schedule?: string;
                script?: string;
                status?: string;
                steps?: Record<string, unknown>[];
                trigger_context?: string;
                updated_at?: string;
            }[];
        },
    > = ...

    Runtime validator for AgentRoutineListResponse.