---
title: "Gets database metadata for the given project."
method: GET
path: "/v1/projects/{ref}/database/context"
tags: ["Database"]
deprecated: true
---

# Gets database metadata for the given project.

`GET /v1/projects/{ref}/database/context`

> **Deprecated.**

This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable.

## Path parameters

- `ref` string, required

## Response `200`

- GetProjectDbMetadataResponse
  - `databases` object[], required
    - `name` string, required
    - `schemas` object[], required
      - `name` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded

---

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