@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>;
                        duration_ms: ZodOptional<ZodNumber>;
                        event_id: ZodOptional<ZodString>;
                        id: ZodString;
                        metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
                        payload: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
                        result: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
                        routine: ZodOptional<ZodString>;
                        status: ZodOptional<ZodString>;
                        structured_response: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
                        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;
                        duration_ms?: number;
                        event_id?: string;
                        id: string;
                        metadata?: Record<string, unknown>;
                        payload?: Record<string, unknown>;
                        result?: Record<string, unknown>;
                        routine?: string;
                        status?: string;
                        structured_response?: Record<string, unknown>;
                        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;
                        duration_ms?: number;
                        event_id?: string;
                        id: string;
                        metadata?: Record<string, unknown>;
                        payload?: Record<string, unknown>;
                        result?: Record<string, unknown>;
                        routine?: string;
                        status?: string;
                        structured_response?: Record<string, unknown>;
                        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;
                duration_ms?: number;
                event_id?: string;
                id: string;
                metadata?: Record<string, unknown>;
                payload?: Record<string, unknown>;
                result?: Record<string, unknown>;
                routine?: string;
                status?: string;
                structured_response?: Record<string, unknown>;
                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;
                duration_ms?: number;
                event_id?: string;
                id: string;
                metadata?: Record<string, unknown>;
                payload?: Record<string, unknown>;
                result?: Record<string, unknown>;
                routine?: string;
                status?: string;
                structured_response?: Record<string, unknown>;
                updated_at?: string;
                worker?: { attempt: number; max_attempts: number; status: string };
            }[];
        },
    > = ...

    Runtime validator for AgentRoutineRunListResponse.