Interface AgencyUpsertArgs

Arguments for creating or updating an agency session.

interface AgencyUpsertArgs {
    workflowId: string;
    conversationId: string;
    agencyId?: string;
    metadata?: Record<string, unknown>;
    memoryConfig?: AgencyMemoryConfig;
}

Properties

workflowId: string

Associated workflow instance

conversationId: string

Conversation context

agencyId?: string

Explicit agency ID (auto-generated if omitted)

metadata?: Record<string, unknown>

Custom metadata

memoryConfig?: AgencyMemoryConfig

Shared memory configuration