Interface AppInterface

Application entity interface

Represents an application in the Mosaia platform. Applications can have bots, tools, and other integrations associated with them.

const app: AppInterface = {
id: 'app-123',
name: 'My AI Assistant',
org: 'org-456',
short_description: 'AI-powered customer support assistant',
external_app_url: 'https://myapp.com',
tags: ['ai', 'support', 'automation'],
active: true
};
interface AppInterface {
    record_history?: RecordHistory;
    id?: string;
    name: string;
    org?: string;
    user?: string;
    short_description: string;
    long_description?: string;
    image?: string;
    external_app_url?: string;
    external_api_key?: string;
    external_headers?: { [key: string]: string };
    active?: boolean;
    tags?: string[];
    keywords?: string[];
    extensors?: { [key: string]: string };
    external_id?: string;
    connectors?: any;
    webhooks?: any;
}

Hierarchy (View Summary)

Properties

record_history?: RecordHistory

Record history tracking information

id?: string

Unique identifier for the application

name: string

Application name (required)

org?: string

Organization ID the app belongs to

user?: string

User ID the app belongs to (if not org-scoped)

short_description: string

Brief description of the application (required)

long_description?: string

Detailed description of the application

image?: string

URL to application's icon/image

external_app_url?: string

External application URL for integrations

external_api_key?: string

API key for external integrations

external_headers?: { [key: string]: string }

Custom headers for external API calls

active?: boolean

Whether the application is currently active

tags?: string[]

Tags for categorizing the application

keywords?: string[]

Keywords for search functionality

extensors?: { [key: string]: string }

Extended properties for custom integrations

external_id?: string

External system identifier

connectors?: any
webhooks?: any