[DEPRECATED - Will be shut off 9/14/2026] Execute Natural Language Query (Moby AI)

Process natural language prompts to retrieve data. This endpoint interprets user-provided questions and generates SQL queries to fetch the desired results. The response returns the query results in a JSON format, grouped based on the question.

Body Params
string
required

The unique identifier for the shop (e.g., example.myshopify.com). This is the shop-id value in your Triple Whale app URL (for example ?shop-id=example.myshopify.com).

string
required

The natural language input describing the data you want to query. The AI interprets this to generate SQL or directly retrieve relevant data.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json