---
title: "Retrieve the schema and tables of the database"
method: POST
path: "/schemaAPI"
---

# Retrieve the schema and tables of the database

`POST /schemaAPI`

## Request body

- object
  - `url` string, required — The URL of the database.

## Response `200`

OK

- object
  - `schema` object — The schema of the database.
  - `tables` string[] — The list of tables in the database.

---

[API](https://skmtc.dev/aircodelabs/apis/postgresql-database-query-plugin.md) · [All operations](https://skmtc.dev/aircodelabs/apis/postgresql-database-query-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aircodelabs/postgresql-database-query-plugin/revisions/d8f70e6aee8a/schema)
