@archastro/sdk
    Preparing search index...

    Interface ActivityFeedEntry

    A single event record in an activity feed, capturing what happened, who caused it, and which resources were involved.

    interface ActivityFeedEntry {
        agent?:
            | string
            | {
                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, unknown>;
                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, unknown>;
                            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, unknown>;
                            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;
                        };
                        solution: {
                            category_keys?: string[];
                            created_at?: string;
                            description?: string
                            | null;
                            events?: Record<string, unknown>;
                            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, unknown>;
                            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?: string
                                        | null;
                                        invoke_contract?:
                                            | { input_schema?: ...; participants?: ...; prefills: ... }
                                            | null;
                                        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;
            };
        app?: string;
        attachments?: Record<string, unknown>[];
        automation_run?: string;
        content?: string;
        correlation_id?: string;
        created_at?: string;
        id: string;
        kind?: string;
        level?: string;
        metadata?: Record<string, unknown>;
        org?: string;
        routine_run?: string;
        sandbox?: string;
        session_record?: string;
        team?: string;
        thread?: string;
        title?: string;
        updated_at?: string;
        user?:
            | string
            | {
                alias?: string
                | null;
                app?: string | null;
                app_name?: string | null;
                created_by_agent_user?: string | null;
                created_by_developer?: string | null;
                created_by_org?: string | null;
                created_by_team?: string | null;
                created_by_user?: string | null;
                email?: string | null;
                id: string;
                is_system_user?: boolean;
                metadata?: Record<string, unknown>;
                name?: string | null;
                org?: string | null;
                org_name?: string | null;
                org_role?: string | null;
                org_slug?: string | null;
                sandbox?: string | null;
                sandbox_name?: string | null;
            };
    }
    Index

    Properties

    agent?:
        | string
        | {
            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, unknown>;
            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, unknown>;
                        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, unknown>;
                        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;
                    };
                    solution: {
                        category_keys?: string[];
                        created_at?: string;
                        description?: string
                        | null;
                        events?: Record<string, unknown>;
                        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, unknown>;
                        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?: string
                                    | null;
                                    invoke_contract?:
                                        | { input_schema?: ...; participants?: ...; prefills: ... }
                                        | null;
                                    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;
        }

    The agent that produced this event. Returns an agent ID (agi_...) by default, or an expanded agent object when the association is loaded. null if no agent is associated.

    app?: string

    ID of the application that produced this entry (dap_...). null if not scoped to an app.

    attachments?: Record<string, unknown>[]

    Array of attachment objects associated with this entry. Each attachment has a type field (e.g. "file", "task", "artifact") and type-specific additional fields. Empty array when there are no attachments.

    automation_run?: string

    ID of the automation run that produced this entry (atr_...). null if not produced by an automation run.

    content?: string

    A longer explanation of the event rendered as Markdown. null if no additional content is available.

    correlation_id?: string

    An opaque string used to group related entries together. Entries sharing the same correlation_id belong to a single logical operation. null if not correlated.

    created_at?: string

    When this activity feed entry was created (ISO 8601).

    id: string

    Activity feed entry ID (afe_...).

    kind?: string

    The type of event this entry represents, e.g. "agent_step" or "tool_call". Determines how title, content, and attachments should be interpreted.

    level?: string

    Severity level of the event. One of "info", "warning", or "error". null if no severity is set.

    metadata?: Record<string, unknown>

    Arbitrary key-value metadata stored on this entry. Returns an empty object when no metadata is set.

    org?: string

    ID of the organization this entry belongs to (org_...). null if not org-scoped.

    routine_run?: string

    ID of the agent routine run that produced this entry (arr_...). null if not produced by a routine run.

    sandbox?: string

    Identifier of the sandbox environment this entry was generated in. null in production contexts.

    session_record?: string

    ID of the agent session record this entry belongs to (ase_...). null if not part of an agent session.

    team?: string

    ID of the team this entry is associated with (tem_...). null if not team-scoped.

    thread?: string

    ID of the thread this entry is associated with (thr_...). null if not linked to a thread.

    title?: string

    A one-line human-readable summary of the event. null if the entry has no title.

    updated_at?: string

    When this activity feed entry was last modified (ISO 8601).

    user?:
        | string
        | {
            alias?: string
            | null;
            app?: string | null;
            app_name?: string | null;
            created_by_agent_user?: string | null;
            created_by_developer?: string | null;
            created_by_org?: string | null;
            created_by_team?: string | null;
            created_by_user?: string | null;
            email?: string | null;
            id: string;
            is_system_user?: boolean;
            metadata?: Record<string, unknown>;
            name?: string | null;
            org?: string | null;
            org_name?: string | null;
            org_role?: string | null;
            org_slug?: string | null;
            sandbox?: string | null;
            sandbox_name?: string | null;
        }

    The user who triggered this event. Returns a user ID (usr_...) by default, or an expanded user object when the association is loaded. null if no user is associated.