Faceting API
The article index can be queried to get statistics about the metadata fields, also known as facets.
Endpoints
| Endpoint | Description | Request | 200 Response |
|---|---|---|---|
| POST /v1/articles/stats | Gets statistics for the indexed articles. | ArticleStatsRequest | ArticleStatsResponse |
| POST /v1/articles/filter_check | Validates filters against expected article IDs. | FilterValidationRequest | FilterValidationResponse |
POST /v1/articles/stats
Gets statistics for the indexed articles.
Examples
Example
POST /v1/articles/filter_check
Validates a set of article filters against a list of expected article IDs. Returns the IDs that matched and the total count of matching articles in the dataset. See the Filter Validation guide for more details.
- Request: FilterValidationRequest
- Response: FilterValidationResponse