Skip to Content
Error Tracking

Interpret Error Filters

POST
/v0/projects/{idOrSlug}/errors/filters/interpret

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Request Body

application/json
  1. body
query*string
categories*array<>
currentFilters*array<>

Response Body

Success

application/json
  1. response
filters*array<>
unresolved*array<string>
categoriesSearched*number|
categoriesTotal*number|
Example Request
curl -X POST 'https://api.faststats.dev/v0/projects/string/errors/filters/interpret' \
  -H 'Content-Type: application/json' \
  -d '{
  "query": "string",
  "categories": [
    {
      "id": "string",
      "label": "string",
      "aliases": [
        "string"
      ],
      "type": "text",
      "operators": [
        "is"
      ],
      "values": [
        "string"
      ],
      "allowCustomValue": true,
      "allowMultiple": true,
      "isArray": true
    }
  ],
  "currentFilters": [
    {
      "categoryId": "string",
      "operator": "is",
      "value": "string"
    }
  ]
}'
Example Response
{
  "filters": [
    {
      "categoryId": "string",
      "operator": "is",
      "value": "string"
    }
  ],
  "unresolved": [
    "string"
  ],
  "categoriesSearched": 0,
  "categoriesTotal": 0
}