curl --request GET \
--url https://{FUSION HOST}/api/experiments/{id} \
--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>"
}
]
}
Fetch an experiment by ID. The response is the experiment’s attributes in JSON format.
curl --request GET \
--url https://{FUSION HOST}/api/experiments/{id} \
--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>"
}
]
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The experiment ID.
OK
The response is of type object
.
Was this page helpful?