---
title: "Get available filters for filtering data points"
method: GET
path: "/data-points/filters"
tags: ["Data Point Filters"]
---

# Get available filters for filtering data points

`GET /data-points/filters`

Get available filters for filtering data points, which the current api user has access to.

## Query parameters

- `locationIds` string[]
- `userId` string

## Response `200`

Success

- object
  - `status` 'SUCCESS' | 'PENDING' | 'QUOTA_LIMIT_EXCEED' | 'NOT_AUTHORIZED' | 'FORBIDDEN' | 'BAD_ACCESS_TOKEN' | 'BAD_PRIVATE_KEY' | 'BAD_PUBLIC_KEY' | 'MISSING_PARAMETER' | 'INVALID_PARAMETER' | 'WRONG_PARAMETER_TYPE' | 'CONFLICT' | 'RESOURCE_LOCKED' | 'SERVER_ERROR' | 'ERROR' | 'NOT_FOUND' | 'BAD_REQUEST' | 'USER_ERROR' | 'PARTIAL_ERROR' | 'SERVICE_TEMPORARILY_UNAVAILABLE', required
  - `message` string — (optional) Holds further information about the response
  - `warnings` string[] — (optional) Holds further warnings
  - `response` object, required — Response object containing various filters for data points
    - `directories` string[] — List of directory names
    - `countries` string[] — List of countriy names
    - `businesses` object[] — List of business ids and names
      - `id` integer — Business ID
      - `name` string — Business Name
    - `labels` string[] — List of labels
    - `timeSpans` object[]
      - `name` 'TODAY' | 'LAST_7_DAYS' | 'LAST_14_DAYS' | 'LAST_30_DAYS' | 'LAST_90_DAYS' | 'LAST_365_DAYS' | 'ALL_TIME' — Name
      - `from` string — From
      - `to` string — To

## Other responses

- `400` — Bad Request - The request was invalid or cannot be otherwise served
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - The request is understood, but has been refused or access is not allowed
- `404` — Not Found - The requested resource could not be found

---

[API](https://skmtc.dev/uberall/apis/uberall-api.md) · [All operations](https://skmtc.dev/uberall/apis/uberall-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uberall/uberall-api/revisions/4e616f3c34a4/schema)
