GET
/
experiments
List all experiments
curl --request GET \
  --url https://{FUSION HOST}/api/experiments \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "id": "<string>",
    "description": "<string>",
    "uniqueIdParameter": "<string>",
    "baseSignalsCollection": "<string>",
    "variants": [
      {
        "id": "<string>",
        "name": "<string>",
        "collection": "<string>",
        "queryPipeline": "<string>",
        "params": [
          {
            "key": "<string>",
            "value": "<string>",
            "policy": "replace"
          }
        ],
        "weight": 123
      }
    ],
    "automaticallyAdjustTraffic": true,
    "enabled": true,
    "startTimestamp": "2023-11-07T05:31:56Z",
    "runId": "<string>",
    "metrics": [
      {
        "name": "<string>",
        "description": "<string>",
        "jobId": "<string>",
        "binary": true,
        "primary": true,
        "type": "<string>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - */*

OK

id
string

The experiment ID.

description
string

A description of this experiment.

uniqueIdParameter
string

The name of the request parameter containing the user ID.

baseSignalsCollection
string

Signals resulting from requests that flow through this experiment will go into the signal collection associated with this base collection.

variants
object[]

The variants belonging to this experiment.

automaticallyAdjustTraffic
boolean

true to enable multi-armed bandits; in that case, there is no need to specify a traffic weight for each variant.

enabled
boolean

True if this experiment is enabled.

startTimestamp
string<date-time>

The date and time when the experiment was launched.

runId
string

The experiment run ID.

metrics
object[]

Experiment metrics.