v1
latestOpenAPI 3.0.22026-07-2413411.3 KBQuery Runs
Run a query
- You must own or have permissions to the query to run it.
- Enforces a 10 second query timeout limit.
post/queries/{query_id}/runs
Path parameters
query_idstring required
You can find the query's ID by navigating to the query in the PopSQL app, opening the share modal, and copying the share link. The link will look like: https://app.popsql.com/queries/<query_id>/<query name>
Request body
Example request
{
"variables": {
"your_variable_name": "your_variable_value"
}
}Response
Successful Run