Path Parameters
The experiment ID
import requests
url = "http://api/apollo/experiments/{id}/variant"
response = requests.get(url)
print(response.text){
"id": "<string>",
"name": "<string>",
"collection": "<string>",
"queryPipeline": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "REPLACE"
}
],
"weight": 123
}import requests
url = "http://api/apollo/experiments/{id}/variant"
response = requests.get(url)
print(response.text){
"id": "<string>",
"name": "<string>",
"collection": "<string>",
"queryPipeline": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "REPLACE"
}
],
"weight": 123
}The experiment ID
Was this page helpful?