---
search:
  tags:
    - V1
    - GET
seo:
  description: >-
    Returns the same generated Markdown reference as MCP discover_schema:
    published tables,… Reference for the GET /v1/sql/schema endpoint in the
    Judgeval API.
sidebar:
  label: Discover the virtual SQL schema
  badge: GET
title: Discover the virtual SQL schema
type: openapi-operation
---
Returns the same generated Markdown reference as MCP discover_schema: published tables, columns, descriptions, examples, and query limits. Contains no project data and requires no project.

`GET /v1/sql/schema`

**Responses**

- `200` — Response for status 200
- `401` — Response for status 401
- `403` — Response for status 403

Response example, 200:

```json
{
  "schema": "string"
}
```
