ExecutePolicyRequest: {
    acceptEncoding?: GzipAcceptEncoding;
    explain?: Explain;
    instrument?: boolean;
    metrics?: boolean;
    path?: string;
    pretty?: boolean;
    provenance?: boolean;
    strictBuiltinErrors?: boolean;
}

Type declaration

  • OptionalacceptEncoding?: GzipAcceptEncoding

    Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above server.encoding.gzip.min_length value. See the configuration section

  • Optionalexplain?: Explain

    Return query explanation in addition to result.

  • Optionalinstrument?: boolean

    Instrument query evaluation and return a superset of performance metrics in addition to result.

  • Optionalmetrics?: boolean

    Return query performance metrics in addition to result.

  • Optionalpath?: string

    The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404.

  • Optionalpretty?: boolean

    If parameter is true, response will formatted for humans.

  • Optionalprovenance?: boolean

    If parameter is true, response will include build/version info in addition to the result.

  • OptionalstrictBuiltinErrors?: boolean

    Treat built-in function call errors as fatal and return an error immediately.