Skip to main content
GET

Overview

Not in MVP scope. Until it is available, the weights stay at the first-trial setting: views = 1 and every other weight 0. Every cycle response already names the weights_version in use.
The Get Weights API returns the weights that scored the latest cycle and the version before them. Use it to check that a PUT /v1/weights took effect, and to see which weights a weights_version in a cycle response stands for.
Weights set with PUT /v1/weights show as current from the cycle named in first_cycle_time. Before that cycle, the previous version is still the one scoring.

Response Attributes

object
required
object | null
required
The version before the current one, or null if there is none.

Authorizations

Authorization
string
header
required

The API key issued for the environment, sent as the whole header value. Two keys are valid during a rotation.

Response

Current and previous weights.

current
object
required
previous
object | null
required

The version before the current one, or null if there is none.