---
title: "Get specific table metadata"
method: POST
path: "/databases/{id}/tables/metadata/get"
tags: ["Database"]
---

# Get specific table metadata

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

Get metadata for specific tables in a database

## Path parameters

- `id` string, required — MongoDB ObjectId represented as a hexadecimal string

## Request body

- object
  - `tables` string[] — List of table names

## Response `200`

Table metadata

- Success
  - `code` integer
  - `message` string
  - `data` object

## Changes

- **2025-03-02** `526e5bdf6dee` — 2 breaking, 8 warning, 9 info
  - request body became required
  - added the pattern `^[0-9a-fA-F]{24}$` to the `path` request parameter `id`
  - removed the request property `database`
  - removed the request property `filter`
  - …15 more

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/databases/:id/tables/metadata/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/526e5bdf6dee/schema)
