Skip to content
Management API Reference

Gets database metadata for the given project.
deprecated

get/v1/projects/{ref}/database/context

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.

OAuth scopes

  • projects:read

The fine-grained token must include the following permissions to access this endpoint:

  • database_read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429

Response (200)

{
"databases": [
{
"name": "lorem",
"schemas": [
{
"name": "lorem",
"property1": null,
"property2": null
}
],
"property1": null,
"property2": null
}
]
}