HTTP request
curl \
-X GET 'MEILISEARCH_URL/experimental-features/' \
-H 'Authorization: Bearer API_KEY'client.get_experimental_features()client.experimental_featuresclient.ExperimentalFeatures().Get()let client = Client::new("MEILISEARCH_URL", Some("apiKey"));
let features = ExperimentalFeatures::new(&client);
let res = features
.get()
.await
.unwrap();const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:7700/experimental-features', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "7700",
CURLOPT_URL => "http://localhost:7700/experimental-features",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("http://localhost:7700/experimental-features")
.header("Authorization", "Bearer <token>")
.asString();{
"metrics": true,
"logsRoute": false,
"tasksStreamingRoute": false,
"editDocumentsByFunction": false,
"containsFilter": false,
"dynamicSearchRules": false,
"network": false,
"getTaskDocumentsRoute": false,
"taskQueueCompactionRoute": false,
"compositeEmbedders": false,
"chatCompletions": false,
"multimodal": false,
"foreignKeys": false,
"disableDocumentsFetchQueue": false,
"legacySearch": false,
"renderRoute": false,
"mcpRoute": false
}{
"message": "The Authorization header is missing. It must use the bearer authorization method.",
"code": "missing_authorization_header",
"type": "auth",
"link": "https://docs.meilisearch.com/errors#missing_authorization_header"
}Experimental features
List experimental features
Return all experimental features that can be toggled via this API, and whether each one is currently enabled or disabled.
GET
/
experimental-features
HTTP request
curl \
-X GET 'MEILISEARCH_URL/experimental-features/' \
-H 'Authorization: Bearer API_KEY'client.get_experimental_features()client.experimental_featuresclient.ExperimentalFeatures().Get()let client = Client::new("MEILISEARCH_URL", Some("apiKey"));
let features = ExperimentalFeatures::new(&client);
let res = features
.get()
.await
.unwrap();const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:7700/experimental-features', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "7700",
CURLOPT_URL => "http://localhost:7700/experimental-features",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("http://localhost:7700/experimental-features")
.header("Authorization", "Bearer <token>")
.asString();{
"metrics": true,
"logsRoute": false,
"tasksStreamingRoute": false,
"editDocumentsByFunction": false,
"containsFilter": false,
"dynamicSearchRules": false,
"network": false,
"getTaskDocumentsRoute": false,
"taskQueueCompactionRoute": false,
"compositeEmbedders": false,
"chatCompletions": false,
"multimodal": false,
"foreignKeys": false,
"disableDocumentsFetchQueue": false,
"legacySearch": false,
"renderRoute": false,
"mcpRoute": false
}{
"message": "The Authorization header is missing. It must use the bearer authorization method.",
"code": "missing_authorization_header",
"type": "auth",
"link": "https://docs.meilisearch.com/errors#missing_authorization_header"
}Authorizations
An API key is a token that you provide when making API calls. Read more about how to secure your project.
Include the API key to the Authorization header, for instance:
-H 'Authorization: Bearer 6436fc5237b0d6e0d64253fbaac21d135012ecf1'
If you use a SDK, ensure you instantiate the client with the API key, for instance with JS SDK:
const client = new MeiliSearch({
host: 'MEILISEARCH_URL',
apiKey: '6436fc5237b0d6e0d64253fbaac21d135012ecf1'
});
Response
Experimental features are returned.
Experimental features that can be toggled at runtime