Circle V2 API Docs
    Preparing search index...
    type TemplateDetection = {
        conditionalRules?: ConditionalRuleProposal[];
        documentUrl: string;
        emptyReason?: DetectionEmptyReason;
        fields: DetectedField[];
        source: DetectionSource;
    }
    Index

    Properties

    conditionalRules?: ConditionalRuleProposal[]

    PROPOSALS only, from the Extend rung: the generator measurably hallucinates, so nothing may store or act on one until a human accepts it. sourceFieldRef/targetFieldRef name fields by this result's keys, which are unstable across runs — resolved to annotation ids at accept time.

    documentUrl: string

    Deliberately the SAME signed url the detector fetched, so a template replaced between requests cannot show new pages under old geometry.

    emptyReason?: DetectionEmptyReason

    Set only when fields is empty. Absent means fields were found.

    fields: DetectedField[]