Member Junction
    Preparing search index...

    Interface RunAgentFromConversationDetailParams

    Parameters for running an agent from an existing conversation detail. This is the optimized path that loads conversation history server-side.

    interface RunAgentFromConversationDetailParams {
        AgentHistoryFrom?: Date;
        AgentId: string;
        AutoPopulateLastRunPayload?: boolean;
        ConfigurationId?: string;
        ConversationDetailId: string;
        CreateArtifacts?: boolean;
        CreateNotification?: boolean;
        Data?: Record<string, unknown>;
        LastRunId?: string;
        MaxHistoryMessages?: number;
        OnProgress?: (
            progress: {
                CurrentStep: string;
                Message: string;
                Metadata?: Record<string, unknown>;
                Percentage?: number;
            },
        ) => void;
        Payload?: string
        | Record<string, unknown>;
        PlanMode?: boolean;
        RequestedSkillIDs?: string[];
        SourceArtifactId?: string;
        SourceArtifactVersionId?: string;
    }
    Index

    Properties

    AgentHistoryFrom?: Date

    The first moment of the conversation the run may read. When set, the server loads the agent's history from there and skips its summary of earlier messages. Sent only when set, so a server that predates the argument keeps working.

    AgentId: string

    The ID of the agent to run

    AutoPopulateLastRunPayload?: boolean

    Whether to auto-populate payload from last run

    ConfigurationId?: string

    Configuration ID to use

    ConversationDetailId: string

    The ID of the conversation detail (user's message)

    CreateArtifacts?: boolean

    Whether to create artifacts from the agent's payload

    CreateNotification?: boolean

    Whether to create a user notification on completion

    Data?: Record<string, unknown>

    Optional data context passed to the agent

    LastRunId?: string

    Optional ID of the last agent run for continuity

    MaxHistoryMessages?: number

    Maximum number of history messages to include

    OnProgress?: (
        progress: {
            CurrentStep: string;
            Message: string;
            Metadata?: Record<string, unknown>;
            Percentage?: number;
        },
    ) => void

    Optional callback for progress updates

    Payload?: string | Record<string, unknown>

    Optional payload passed to the agent

    PlanMode?: boolean

    Whether Plan Mode is requested for this run (requires the agent's SupportsPlanMode capability)

    RequestedSkillIDs?: string[]

    Skill IDs the user requested via /skill-name mentions. Server intersects these with the agent's accepted skills AND the user's Run permission before any are activated.

    SourceArtifactId?: string

    Source artifact ID for versioning

    SourceArtifactVersionId?: string

    Source artifact version ID for versioning