Submit a natural language query

POST/api/v1/nl/query

Parameters

This endpoint does not accept parameters.

Responses

200Query result

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/nl/query" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "query": "Show me all unencrypted S3 buckets in production", "scope": "prod" }'

Response

200Query result
Example response not yet documented.