---
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

---

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