---
title: "Execute Sql Generation"
method: GET
path: "/api/sql-generations/{id}/execute"
tags: ["Generation"]
---

# Execute Sql Generation

`GET /api/sql-generations/{id}/execute`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`

## Path parameters

- `id` string, required

## Query parameters

- `max_rows` integer

## Response `200`

Successful Response

- object[]

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/dataherald/apis/dataherald-api.md) - [All operations](https://skmtc.dev/dataherald/apis/dataherald-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dataherald/apis/dataherald-api/revisions/e168e98625a8?raw)
