curl --request GET \
--url https://api.sixtyfour.ai/search/filter-capabilities{
"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>"
]
}Filter Search Capabilities
Get the fields, operators, and limits supported by filter search.
curl --request GET \
--url https://api.sixtyfour.ai/search/filter-capabilities{
"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>"
]
}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?