Login
Get Started
Search...
/
Introduction
Overview
Why Coactive
Getting started
Quickstart
SDKs
Tutorials
Intelligent Search
Classification
Real-time Visual Analytics
API Reference
Asset
Classification
Concept
Credentials
Dataset
Dynamic Tags
Query
GET
List queries
POST
Create query
GET
Get query
DEL
Delete query
POST
Stop query
GET
Get query results url
Search
Login
Get Started
API Reference
Query
Create query
POST
https://app.coactive.ai
/
api
/
v1
/
queries
Create and enqueue the execution of a SQL query
Request
This endpoint expects an object.
query
string
Required
The SQL query
datasetId
string
Required
The id of the dataset to query
Response
This endpoint returns an object.
createdUserId
string
The user that created the resource
createdDt
datetime
The created datetime of the resource
updatedUserId
string
The user that last updated the resource
updatedDt
datetime
The datetime the resource was last updated
queryId
string
The query id
query
string
The SQL query
datasetId
string
The dataset id
status
enum
The current status of the query
Show 6 enum values
startDt
datetime
Optional
The time the query started executing
endDt
datetime
Optional
The time the query finished executing
isActive
boolean
Optional
Defines if the query is in an active state or not
Built with