curl --request GET \
--url https://api.sixtyfour.ai/search/filter-capabilitiesimport requests
url = "https://api.sixtyfour.ai/search/filter-capabilities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sixtyfour.ai/search/filter-capabilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sixtyfour.ai/search/filter-capabilities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sixtyfour.ai/search/filter-capabilities"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sixtyfour.ai/search/filter-capabilities")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/search/filter-capabilities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"index_name": "<string>",
"fields": [
{
"field": "<string>",
"field_type": "<string>",
"queryable": true,
"sortable": true,
"rangeable": true,
"value_type": "<string>",
"supports_top_values": true,
"supports_exact_filter_snippet": true,
"nested_path": "<string>",
"sort_field": "<string>",
"aggregation_field": "<string>",
"related_fields": [
"<string>"
],
"preferred_for_exact_match": false
}
],
"nested_paths": [
"<string>"
],
"limits": {
"max_query_depth": 123,
"max_clause_count": 123,
"max_terms_per_clause": 123,
"max_sort_clauses": 123,
"max_string_length": 123
},
"cache_ttl_seconds": 123,
"generated_at_epoch_ms": 123,
"mode": "company",
"mapping_hash": "<string>",
"simple_query_operators": [
"<string>"
]
}{
"detail": "Invalid request body"
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient API credits"
}{
"detail": "Forwarded user_id does not belong to your organization."
}{
"detail": "Search not found or has no parsed_query."
}{
"detail": "Export workflow is already running for this search."
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded"
}{
"detail": "Internal server error"
}{
"detail": "NL upstream transport error: connection reset by peer"
}{
"detail": "Company search backend endpoint is not configured"
}{
"detail": "Field values request timed out"
}Filter Search Capabilities
Get the fields, operators, and limits supported by filter search.
curl --request GET \
--url https://api.sixtyfour.ai/search/filter-capabilitiesimport requests
url = "https://api.sixtyfour.ai/search/filter-capabilities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sixtyfour.ai/search/filter-capabilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sixtyfour.ai/search/filter-capabilities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sixtyfour.ai/search/filter-capabilities"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sixtyfour.ai/search/filter-capabilities")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/search/filter-capabilities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"index_name": "<string>",
"fields": [
{
"field": "<string>",
"field_type": "<string>",
"queryable": true,
"sortable": true,
"rangeable": true,
"value_type": "<string>",
"supports_top_values": true,
"supports_exact_filter_snippet": true,
"nested_path": "<string>",
"sort_field": "<string>",
"aggregation_field": "<string>",
"related_fields": [
"<string>"
],
"preferred_for_exact_match": false
}
],
"nested_paths": [
"<string>"
],
"limits": {
"max_query_depth": 123,
"max_clause_count": 123,
"max_terms_per_clause": 123,
"max_sort_clauses": 123,
"max_string_length": 123
},
"cache_ttl_seconds": 123,
"generated_at_epoch_ms": 123,
"mode": "company",
"mapping_hash": "<string>",
"simple_query_operators": [
"<string>"
]
}{
"detail": "Invalid request body"
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient API credits"
}{
"detail": "Forwarded user_id does not belong to your organization."
}{
"detail": "Search not found or has no parsed_query."
}{
"detail": "Export workflow is already running for this search."
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded"
}{
"detail": "Internal server error"
}{
"detail": "NL upstream transport error: connection reset by peer"
}{
"detail": "Company search backend endpoint is not configured"
}{
"detail": "Field values request timed out"
}Headers
Query Parameters
Search mode: 'company' or 'people'.
Force a mapping refresh instead of using cached capabilities.
Response
Successful Response
Response describing supported filter-search DSL capabilities.
Public dataset identifier for company direct-filter queries.
Unified per-field capabilities sorted alphabetically.
Show child attributes
Show child attributes
Allowed nested.path values for nested query clauses.
Constraint values for guarded DSL validation.
Show child attributes
Show child attributes
Server cache TTL for mapping-derived capabilities.
Epoch timestamp (ms) when these capabilities were derived.
Search mode these capabilities apply to.
people, company Hash of mapping metadata used to derive this capability snapshot.
Supported MongoDB-style operators for simple_filters input.
Was this page helpful?