---
title: "Run a python report over dashboard-filtered SQL"
method: POST
path: "/api/v1/embed/dashboard/{publicId}/python-run"
tags: ["Embed"]
---

# Run a python report over dashboard-filtered SQL

`POST /api/v1/embed/dashboard/{publicId}/python-run`

## Path parameters

- `publicId` string, required

## Request body

- EmbedPythonFilteredRunInput
  - `reportId` integer, required
  - `reportVersionId` integer, required
  - `sqlQuery` string, required

## Response `200`

- PythonAnalysisFilteredRun
  - `at` string, required
  - `executionError` string, nullable
  - `inputRowCount` integer, required
  - `outputData` unknown
  - `stderr` string, required
  - `stdout` string, required

## Changes

> 9 revisions in range; 2 could not be searched.

- **2026-07-31** `a0c6b1d2ac96` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api/changes/api/v1/embed/dashboard/:publicId/python-run/post.md)

---

[API](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api.md) · [All operations](https://skmtc.dev/cube-js/apis/cube-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cube-js/cube-cloud-rest-api/revisions/97e151460143/schema)
