POST
/
api
/
v1
/
reference-queries
/
{id}
/
validate
/
curl --request POST \
  --url https://api.camelai.com/api/v1/reference-queries/{id}/validate/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "title": "<string>",
  "connection_id": 123,
  "source_type": "USER"
}'
{
  "valid": true,
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Serializer for Reference Queries.

Response

200 - application/json

The response is of type object.