---
title: "Execute saved queries"
method: POST
path: "/api/end_user_queries/execute"
tags: ["EndUserQueries"]
---

# Execute saved queries

`POST /api/end_user_queries/execute`

## Request

- Base URL: `https://app.herondata.io`
- URL: `https://app.herondata.io/api/end_user_queries/execute`
- Auth: API key in header `x-api-key`

Execute saved SQL queries by name for a specific end user and return results

## Request body

- object
  - `end_user_heron_id` string, required: Heron ID of the end user
  - `query_names` string[], required: List of saved query names to execute

## Response `200`

Successfully executed queries

- object

## Changes

- **2026-11-03** `bd8008e49534`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/herondata/apis/heron-data-api/changes/api/end_user_queries/execute/post.md)

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) - [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/herondata/apis/heron-data-api/revisions/1ec936e17fef?raw)
