Circle V2 API Docs
    Preparing search index...

    Type Alias PromptSnapshot

    A prompt captured from the hub into a committed snapshot by the consuming package's sync script. This is the cold-start fallback and the audit trail of prompt changes. model is optional so legacy text-only snapshots stay valid.

    type PromptSnapshot = {
        commitHash?: string;
        description?: string;
        inputVariables: string[];
        model?: PromptModelConfig;
        name: string;
        syncedFrom?: string;
        tags?: string[];
        template: string;
        templateFormat: string;
    }
    Index

    Properties

    commitHash?: string
    description?: string

    Hub catalog description (seeded locally; preserved across sync/hydrate).

    inputVariables: string[]

    Model config from the hub (when the prompt was pushed with a bound model).

    name: string
    syncedFrom?: string
    tags?: string[]

    Hub catalog tags (seeded locally; preserved across sync/hydrate).

    template: string
    templateFormat: string