Member Junction
    Preparing search index...

    Interface ResolvePromptRunUserIDInput

    Inputs for resolving which user an AIPromptRun is attributed to.

    Only the USER is attributed on the prompt run. Which agent run a prompt run belongs to is owned by the agent layer — AIAgentRunStep.TargetLogID — and resolved at query time (see vwAIUsageFacts), so the prompt-execution layer carries no reference up into the agent layer.

    interface ResolvePromptRunUserIDInput {
        AgentRun?: { UserID?: string };
        ContextUser?: { ID?: string };
        UserID?: string;
    }
    Index

    Properties

    AgentRun?: { UserID?: string }

    The enclosing agent run, when there is one; its UserID is the next fallback.

    ContextUser?: { ID?: string }

    The context user the operation runs as; the last fallback.

    UserID?: string

    Explicit user override, if provided.