GET
/
query-profiles
/
{id}
Get a query profile
curl --request GET \
  --url https://{FUSION HOST}/api/query-profiles/{id} \
  --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
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The query profile ID.

Response

200 - application/json

OK

id
string

The query profile ID.

queryPipeline
string

The query pipeline associated with this query profile.

collection
string

The data collection associated with this query profile.

searchHandler
string

The Solr search handler to use with this query profile.

searchMode
string

The search mode to use with this query profile:

  • dsl - Fusion's Domain Specific Language.

  • legacy - Solr query parameters.

  • all - Use both DSL and legacy search modes. This is the default value that works well for most use cases.

params
object[]
experiment
object