Interface AgentOSInput

interface AgentOSInput {
    userId: string;
    organizationId?: string;
    sessionId: string;
    textInput: null | string;
    visionInputs?: VisionInputData[];
    audioInput?: AudioInputData;
    selectedPersonaId?: string;
    languageHint?: string;
    detectedLanguages?: {
        code: string;
        confidence: number;
    }[];
    targetLanguage?: string;
    userApiKeys?: Record<string, string>;
    userFeedback?: UserFeedbackPayload;
    conversationId?: string;
    memoryControl?: AgentOSMemoryControl;
    workflowRequest?: WorkflowInvocationRequest;
    agencyRequest?: AgencyInvocationRequest;
    options?: ProcessingOptions;
    userContextOverride?: Partial<UserContext>;
    skillPromptContext?: string;
    disabledSessionSkillIds?: string[];
}

Properties

userId: string
organizationId?: string

Optional organization context used for org-scoped memory + multi-tenant routing.

sessionId: string
textInput: null | string
visionInputs?: VisionInputData[]
audioInput?: AudioInputData
selectedPersonaId?: string
languageHint?: string

Optional explicit language hint from UI (BCP-47 or ISO 639-1).

detectedLanguages?: {
    code: string;
    confidence: number;
}[]

Optional detected languages supplied externally (highest confidence first).

Type declaration

  • code: string
  • confidence: number
targetLanguage?: string

Optional target language override (skips negotiation if supported).

userApiKeys?: Record<string, string>
userFeedback?: UserFeedbackPayload
conversationId?: string
memoryControl?: AgentOSMemoryControl

Optional memory control input. Stored in conversation metadata so settings persist across turns. Use this to disable long-term memory for a conversation or enable user/org scope when desired.

workflowRequest?: WorkflowInvocationRequest
agencyRequest?: AgencyInvocationRequest
userContextOverride?: Partial<UserContext>
skillPromptContext?: string
disabledSessionSkillIds?: string[]