interface GetDecisionsParams {
    contains?: boolean;
    ip?: string;
    origins?: string;
    range?: string;
    scenarios_containing?: string;
    scenarios_not_containing?: string;
    scope?: string;
    type?: string;
    value?: string;
}

Properties

contains?: boolean

indicate if you're looking for a decision that contains the value, or that is contained within the value

ip?: string

IP to search for (shorthand for scope=ip&value=)

origins?: string

Comma separated name of origins. If provided, then only the decisions originating from provided origins would be returned.

range?: string

range to search for (shorthand for scope=range&value=)

scenarios_containing?: string

Comma separated words. If provided, only the decisions created by scenarios containing any of the provided word would be returned.

scenarios_not_containing?: string

Comma separated words. If provided, only the decisions created by scenarios, not containing any of the provided word would be returned.

scope?: string

scope to which the decision applies (ie. IP/Range/Username/Session/...)

type?: string

type of decision

value?: string

the value to match for in the specified scope