Insights
Execute Query
Changed onExecutes an ad-hoc SQL query against the analytics database and returns columnar results.
post/api/v1/insights/execute
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or API key in cookie __fabro_session
Request body
Example request
{
"sql": "SELECT workflow_name, COUNT(*) FROM runs GROUP BY 1"
}Response
Query results
Example response
{
"columns": [
"workflow_name",
"count"
],
"elapsed": 0.342,
"row_count": 3
}Changes
- info
added the optional property
//to the response with the status
- info