---
title: "Get Database Table Data with Filter"
method: POST
path: "/databases/{id}/tables/data/get"
tags: ["Databases"]
---

# Get Database Table Data with Filter

`POST /databases/{id}/tables/data/get`

Get the data of a table of a database with filter

## Path parameters

- `id` string, objectid, required — ID of the database

## Request body

- GetDatabaseTableDataWithFilterInput
  - `database` string — Name of the database
  - `filter` object — Filter criteria for the table data
  - `page` integer — Page number
  - `size` integer — Page size
  - `table` string, required — Name of the table

## Response `200`

OK

- ControllersListResponseMapStringInterface
  - `data` object[]
  - `error` string
  - `message` string
  - `status` string
  - `total` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

> 3 revisions in range; 1 could not be searched.

- **2025-03-02** `526e5bdf6dee` — 3 breaking, 7 warning, 15 info
  - request body became required
  - added the pattern `^[0-9a-fA-F]{24}$` to the `path` request parameter `id`
  - the `data` response's property type/format changed from `array`/`` to `object`/`` for status `200`
  - removed the request property `database`
  - …21 more

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/databases/:id/tables/data/get/post.md)

---

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