v1

latestOpenAPI 3.1.02026-08-063512102.9 KB

Run a query

Run a new query in a given context - one of the sql or structured parameters must be present. This service account must have analyst permissions in the chosen context. A reference to the created query job is returned. If the same query is submitted multiple times, the same job reference may be returned if caching is enabled.

post/v1/queries

Request body

sqlstring

A SQL query definition, which can only be used to query a database connection source

Response

Successful response

successtrue required
request_idstring required