---
title: "GET /dataset-filter/database-schema-filter"
method: GET
path: "/dataset-filter/database-schema-filter"
---

# GET /dataset-filter/database-schema-filter

`GET /dataset-filter/database-schema-filter`

## Request

- Base URL: `/analytics-svc/api/services/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/analytics-svc/api/services/dataset-filter/database-schema-filter`
- Auth: none declared

Returns database schema filter results

## Query parameters

- `datasetsWithSchema` string, required
- `filterParams` string, required

## Response `200`

success

- AnalyticsResponse
  - `data` object: response object
    - `categories` Category[]
      - `axis` integer: index in the x-axis
      - `id` string: x-axis identifier
      - `name` string: ui friendly x-axis name
      - `order` 'ASC' | 'DESC': sorting order
      - `type` string: data type of the x-axis data
      - `value` string: property name for the x-axis data
    - `data` object[]: items in this array contains properties that are selected in the UI
    - `measures` Measure[]
      - `group` integer: grouping
      - `id` string: y-axis identifier
      - `name` string: ui friendly y-axis name
      - `type` string: data type of the y-axis data
      - `value` string: property name for the y-axis data

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/ohdsi/apis/health-for-clinical-research.md) - [All operations](https://skmtc.dev/ohdsi/apis/health-for-clinical-research/llms.txt) - [OpenAPI document](https://skmtc.dev/ohdsi/apis/health-for-clinical-research/revisions/5655f01517bc?raw)
