node-opa
    Preparing search index...

    Interface GetDataResponse<T>

    interface GetDataResponse<T = Document> {
        decision_id?: string;
        metrics?: Record<string, number>;
        provenance?: ProvenanceInfo;
        result?: T;
    }

    Type Parameters

    Index

    Properties

    decision_id?: string

    If decision logging is enabled, this field contains a string that uniquely identifies the decision. The identifier will be included in the decision log event for this decision. Callers can use the identifier for correlation purposes.

    metrics?: Record<string, number>

    If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.

    provenance?: ProvenanceInfo
    result?: T

    The base or virtual document referred to by the URL path. If the path is undefined, this key will be omitted.