Retrieve all queries

GET {{baseUrl}}/queries?pageToken=<string>&executable=<boolean>&isDynamic=<boolean>&ontologyId=<string>

Returns a list of Data Query SQL Model

Request Params

KeyDatatypeRequiredDescription
pageTokenstringSelects next page. Value must be taken rom response body property 'page.nextToken'. If omitted, first page is returned.
executablestringFilter based on executable flag
isDynamicstringFilter based on isDynamic flag
ontologyIdstringFilter based on ontology id

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;page&quot;:{&quot;nextToken&quot;:&quot;ut&quot;},&quot;queries&quot;:[{&quot;createdBy&quot;:&quot;jsmith@example.com&quot;,&quot;createdDate&quot;:&quot;2019-08-08T05:55:06.119Z&quot;,&quot;description&quot;:&quot;Analysis of vehicle accident&quot;,&quot;executable&quot;:false,&quot;id&quot;:&quot;5d52995b988cdf5c449874a5&quot;,&quot;isBusinessQuery&quot;:true,&quot;isDynamic&quot;:true,&quot;name&quot;:&quot;crashanalysis&quot;,&quot;ontologyId&quot;:&quot;A065E2E5D2A36888AF88469073786B6F&quot;,&quot;resultType&quot;:&quot;REST&quot;,&quot;pendingActions&quot;:[{&quot;field&quot;:&quot;sqlStatement&quot;,&quot;message&quot;:&quot;vehicle is not mapped in ontology&quot;},{&quot;field&quot;:&quot;sqlStatement&quot;,&quot;message&quot;:&quot;vehicle is not mapped in ontology&quot;}],&quot;updatedBy&quot;:&quot;jkale@example.com&quot;,&quot;updatedDate&quot;:&quot;2019-08-09T01:45:09.105Z&quot;},{&quot;createdBy&quot;:&quot;jsmith@example.com&quot;,&quot;createdDate&quot;:&quot;2019-08-08T05:55:06.119Z&quot;,&quot;description&quot;:&quot;Analysis of vehicle accident&quot;,&quot;executable&quot;:false,&quot;id&quot;:&quot;5d52995b988cdf5c449874a5&quot;,&quot;isBusinessQuery&quot;:true,&quot;isDynamic&quot;:true,&quot;name&quot;:&quot;crashanalysis&quot;,&quot;ontologyId&quot;:&quot;A065E2E5D2A36888AF88469073786B6F&quot;,&quot;resultType&quot;:&quot;REST&quot;,&quot;pendingActions&quot;:[{&quot;field&quot;:&quot;sqlStatement&quot;,&quot;message&quot;:&quot;vehicle is not mapped in ontology&quot;},{&quot;field&quot;:&quot;sqlStatement&quot;,&quot;message&quot;:&quot;vehicle is not mapped in ontology&quot;}],&quot;updatedBy&quot;:&quot;jkale@example.com&quot;,&quot;updatedDate&quot;:&quot;2019-08-09T01:45:09.105Z&quot;}]}