Interface VectorInterface

Base entity interface for all platform resources

All entities in the Mosaia platform extend this interface to provide consistent base properties across all resource types. This ensures that all entities have common fields for identification, status, and integration capabilities.

const entity: BaseEntity = {
id: 'entity-123',
active: true,
external_id: 'external-system-id',
extensors: {
custom_field: 'custom_value'
}
};
interface VectorInterface {
    external_id?: string;
    record_history?: RecordHistory;
    id?: string;
    index: string;
    file?: string;
    embedding: number[];
    content?: any;
    metadata?: { [key: string]: any };
    tags?: string[];
    active?: boolean;
    extensors?: { [key: string]: any };
}

Hierarchy (View Summary)

Properties

external_id?: string

External system identifier for integration with third-party systems

record_history?: RecordHistory

Record history tracking information

id?: string

Unique identifier for the entity

index: string
file?: string
embedding: number[]
content?: any
metadata?: { [key: string]: any }
tags?: string[]
active?: boolean

Whether the entity is active

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

Extended properties for custom integrations