1curl https://app.coactive.ai/api/v1/queries/string \2 -H "Authorization: Bearer <token>"
1{2 "createdUserId": "user_example",3 "createdDt": "2018-09-11T15:11:45.456777",4 "updatedUserId": "user_example",5 "updatedDt": "2018-09-11T15:11:45.456777",6 "queryId": "57552f03-87af-4847-a83e-e46a320af0c2",7 "query": "select * from coactive_images_table",8 "datasetId": "c40276f0-024b-4a3f-b3e6-dcf0d304843e",9 "status": "Running",10 "startDt": "2018-09-11T15:11:45.456777",11 "endDt": "2018-09-11T15:11:48.456777",12 "isActive": false,13 "result": {14 "error": "Error raised while executing query",15 "meta": {16 "page": {17 "currentPage": 1,18 "limit": 10,19 "offset": 0,20 "lastPage": 1,21 "total": 10022 },23 "links": {24 "next": "/api/list?limit=10&offset=10",25 "first": "/api/list?limit=10&offset=0",26 "last": "/api/list?limit=10&offset=90"27 },28 "sort": [29 {30 "direction": "asc",31 "field": "name"32 }33 ]34 },35 "data": []36 }37}