curl --request GET \
--url https://{FUSION HOST}/api/experiments/{id}/metrics \
--header 'Authorization: Basic <encoded-value>'
[
{
"experimentStartDate": "2023-11-07T05:31:56Z",
"experimentEndDate": "2023-11-07T05:31:56Z",
"dataStartDate": "2023-11-07T05:31:56Z",
"dataEndDate": "2023-11-07T05:31:56Z",
"runId": "<string>",
"totalRequests": 123,
"requestsInExperiment": 123,
"confidence": 123,
"results": [
{
"variantName": "<string>",
"results": [
{
"name": "<string>",
"values": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
],
"probabilityOfBeating": 123,
"p": 123,
"confidence": 123
}
],
"requests": 123,
"percentRequests": 123
}
]
}
]
Get metrics for all runs of an experiment.
curl --request GET \
--url https://{FUSION HOST}/api/experiments/{id}/metrics \
--header 'Authorization: Basic <encoded-value>'
[
{
"experimentStartDate": "2023-11-07T05:31:56Z",
"experimentEndDate": "2023-11-07T05:31:56Z",
"dataStartDate": "2023-11-07T05:31:56Z",
"dataEndDate": "2023-11-07T05:31:56Z",
"runId": "<string>",
"totalRequests": 123,
"requestsInExperiment": 123,
"confidence": 123,
"results": [
{
"variantName": "<string>",
"results": [
{
"name": "<string>",
"values": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
],
"probabilityOfBeating": 123,
"p": 123,
"confidence": 123
}
],
"requests": 123,
"percentRequests": 123
}
]
}
]
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?