@archastro/sdk
    Preparing search index...

    Variable agentRoutineRunListResponseSchemaConst

    agentRoutineRunListResponseSchema: ZodObject<
        {
            after_cursor: ZodOptional<ZodString>;
            before_cursor: ZodOptional<ZodString>;
            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>;
                        created_at: ZodOptional<ZodString>;
                        delivery: ZodOptional<
                            ZodObject<
                                {
                                    delivered_at: ZodOptional<ZodString>;
                                    delivered_message: ZodOptional<ZodString>;
                                    last_error: ZodOptional<ZodString>;
                                    message: ZodOptional<ZodString>;
                                    status: ZodEnum<["not_requested", "pending", "delivered", "failed"]>;
                                    thread: ZodOptional<ZodString>;
                                    type: ZodEnum<["none", "thread", "reply"]>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    delivered_at?: string;
                                    delivered_message?: string;
                                    last_error?: string;
                                    message?: string;
                                    status: "pending"
                                    | "failed"
                                    | "delivered"
                                    | "not_requested";
                                    thread?: string;
                                    type: "thread" | "none" | "reply";
                                },
                                {
                                    delivered_at?: string;
                                    delivered_message?: string;
                                    last_error?: string;
                                    message?: string;
                                    status: "pending"
                                    | "failed"
                                    | "delivered"
                                    | "not_requested";
                                    thread?: string;
                                    type: "thread" | "none" | "reply";
                                },
                            >,
                        >;
                        duration_ms: ZodOptional<ZodNumber>;
                        event_id: ZodOptional<ZodString>;
                        id: ZodString;
                        metadata: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        participants: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        payload: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        result: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        routine: ZodOptional<ZodString>;
                        status: ZodOptional<ZodString>;
                        structured_response: ZodOptional<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >;
                        updated_at: ZodOptional<ZodString>;
                        worker: ZodOptional<
                            ZodObject<
                                { attempt: ZodNumber; max_attempts: ZodNumber; status: ZodString },
                                "strip",
                                ZodTypeAny,
                                { attempt: number; max_attempts: number; status: string },
                                { attempt: number; max_attempts: number; status: string },
                            >,
                        >;
                    },
                    "strip",
                    ZodTypeAny,
                    {
                        acl?: {
                            add?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            grants?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            remove?: { principal?: (...)
                            | (...); principal_type: string }[];
                        };
                        agent?: string;
                        app?: string;
                        created_at?: string;
                        delivery?: {
                            delivered_at?: string;
                            delivered_message?: string;
                            last_error?: string;
                            message?: string;
                            status: "pending"
                            | "failed"
                            | "delivered"
                            | "not_requested";
                            thread?: string;
                            type: "thread" | "none" | "reply";
                        };
                        duration_ms?: number;
                        event_id?: string;
                        id: string;
                        metadata?: Record<string, {} | null>;
                        participants?: Record<string, {} | null>;
                        payload?: Record<string, {} | null>;
                        result?: Record<string, {} | null>;
                        routine?: string;
                        status?: string;
                        structured_response?: Record<string, {} | null>;
                        updated_at?: string;
                        worker?: { attempt: number; max_attempts: number; status: string };
                    },
                    {
                        acl?: {
                            add?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            grants?: {
                                actions: (...)[];
                                principal?: (...) | (...);
                                principal_type: string;
                            }[];
                            remove?: { principal?: (...)
                            | (...); principal_type: string }[];
                        };
                        agent?: string;
                        app?: string;
                        created_at?: string;
                        delivery?: {
                            delivered_at?: string;
                            delivered_message?: string;
                            last_error?: string;
                            message?: string;
                            status: "pending"
                            | "failed"
                            | "delivered"
                            | "not_requested";
                            thread?: string;
                            type: "thread" | "none" | "reply";
                        };
                        duration_ms?: number;
                        event_id?: string;
                        id: string;
                        metadata?: Record<string, {} | null>;
                        participants?: Record<string, {} | null>;
                        payload?: Record<string, {} | null>;
                        result?: Record<string, {} | null>;
                        routine?: string;
                        status?: string;
                        structured_response?: Record<string, {} | null>;
                        updated_at?: string;
                        worker?: { attempt: number; max_attempts: number; status: string };
                    },
                >,
                "many",
            >;
        },
        "strip",
        ZodTypeAny,
        {
            after_cursor?: string;
            before_cursor?: 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;
                created_at?: string;
                delivery?: {
                    delivered_at?: string;
                    delivered_message?: string;
                    last_error?: string;
                    message?: string;
                    status: "pending"
                    | "failed"
                    | "delivered"
                    | "not_requested";
                    thread?: string;
                    type: "thread" | "none" | "reply";
                };
                duration_ms?: number;
                event_id?: string;
                id: string;
                metadata?: Record<string, {} | null>;
                participants?: Record<string, {} | null>;
                payload?: Record<string, {} | null>;
                result?: Record<string, {} | null>;
                routine?: string;
                status?: string;
                structured_response?: Record<string, {} | null>;
                updated_at?: string;
                worker?: { attempt: number; max_attempts: number; status: string };
            }[];
        },
        {
            after_cursor?: string;
            before_cursor?: 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;
                created_at?: string;
                delivery?: {
                    delivered_at?: string;
                    delivered_message?: string;
                    last_error?: string;
                    message?: string;
                    status: "pending"
                    | "failed"
                    | "delivered"
                    | "not_requested";
                    thread?: string;
                    type: "thread" | "none" | "reply";
                };
                duration_ms?: number;
                event_id?: string;
                id: string;
                metadata?: Record<string, {} | null>;
                participants?: Record<string, {} | null>;
                payload?: Record<string, {} | null>;
                result?: Record<string, {} | null>;
                routine?: string;
                status?: string;
                structured_response?: Record<string, {} | null>;
                updated_at?: string;
                worker?: { attempt: number; max_attempts: number; status: string };
            }[];
        },
    > = ...

    Runtime validator for AgentRoutineRunListResponse.