curl --request GET \
--url https://{FUSION HOST}/api/query-profiles \
--header 'Authorization: Basic <encoded-value>'
[
{
"id": "<string>",
"queryPipeline": "<string>",
"collection": "<string>",
"searchHandler": "<string>",
"searchMode": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "replace"
}
],
"experiment": {
"id": "<string>",
"percentOfTraffic": 123
}
}
]
Use this endpoint to discover existing query profiles and their IDs and attributes.
curl --request GET \
--url https://{FUSION HOST}/api/query-profiles \
--header 'Authorization: Basic <encoded-value>'
[
{
"id": "<string>",
"queryPipeline": "<string>",
"collection": "<string>",
"searchHandler": "<string>",
"searchMode": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "replace"
}
],
"experiment": {
"id": "<string>",
"percentOfTraffic": 123
}
}
]
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
OK
The response is of type object[]
.
Was this page helpful?