run_sqlAsk AIpost https://example.com/api/v1/run_sqlRuns a SQL query and returns the results as structured dataBody ParamssqlstringrequiredThe SQL query to executethreadIdstringOptional thread ID for conversation contextlimitintegerDefaults to 1000Maximum number of rows to returnResponses 200Successfully executed SQL 400Bad request or SQL execution error 405Method not allowedUpdated 12 months ago