Interface SnapshotInterface

Snapshot entity interface

Mirrors macs-node-sdk/lib/logs/models/snapshot.js. A point-in-time capture of a source document (currently only AgentLog). Required on create: source + data.

interface SnapshotInterface {
    external_id?: string;
    extensors?: { [key: string]: string };
    record_history?: RecordHistory;
    id?: string;
    org?: string;
    user?: string;
    source: string;
    type?: "AGENT_LOG";
    data: any;
    keywords?: string[];
    tags?: string[];
    active?: boolean;
}

Hierarchy (View Summary)

Properties

external_id?: string

External system identifier for integration with third-party systems

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

Extended properties for custom integrations

record_history?: RecordHistory

Record history tracking information

id?: string

Unique identifier for the entity

org?: string
user?: string
source: string

ObjectId of the source document being snapshotted (required)

type?: "AGENT_LOG"

Snapshot kind (currently always 'AGENT_LOG')

data: any

Snapshot payload — shape depends on type

keywords?: string[]
tags?: string[]
active?: boolean

Whether the entity is active