Skip to main content
POST
Fetch success rate for an entity

Headers

x-tenant-id
string
required
x-profile-id
string
required
x-api-key
string
required

Body

application/json
id
string
required

Entity identifier

Example:

"merchant1"

params
string
required

Parameters on which success rate scores has to be maintained

Example:

"card"

labels
string[]
required

Labels for which to calculate success rates

Example:
config
object

Response

Success rate calculated successfully

labels_with_score
object[][]

List of labels with their calculated success rates

Example:
routing_approach
enum<string>

Defines the routing approach based on the success rate calculation.

Available options:
EXPLORATION,
EXPLOITATION
Example:

"EXPLOITATION"