POST
/
api
/
v1
/
query
/
template
curl --request POST \
  --url https://your-engine-url/api/v1/query/template \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "",
  "query": ""
}'
{
  "query_template": {
    "id": 123,
    "name": "<string>",
    "query": "<string>",
    "parameters": [],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Enter: 'Bearer <JWT>', where JWT is the access token. Example: Bearer access_token_comes_here

Query Parameters

dry_run
boolean
default:false

Body

application/json
name
string
default:
query
string
default:

Response

200
application/json
Successful Response
query_template
object
required