SuccessfulPolicyResponseWithStatusCode: {
    decisionId?: string;
    httpStatusCode?: string;
    metrics?: {
        [k: string]: any;
    };
    provenance?: Provenance;
    result?: Result;
}

Type declaration

  • OptionaldecisionId?: 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.

  • OptionalhttpStatusCode?: string
  • Optionalmetrics?: {
        [k: string]: any;
    }

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

    • [k: string]: any
  • Optionalprovenance?: Provenance

    Provenance information can be requested on individual API calls and are returned inline with the API response. To obtain provenance information on an API call, specify the provenance=true query parameter when executing the API call.

  • Optionalresult?: Result

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