post https://api.sort.xyz/v1/query/prompt/run
Generates and runs a Sort SQL query from a text prompt. The response includes the
generated query text, the result of executing the query, query duration in milliseconds as well as the id of the
new query that can be subsequently executed with /v1/query/run/{id}
.
Supported formats are json
and csv
.
Stability: Alpha. This experimental feature is subject to breaking changes. Use with caution.
Example inputs:
- "What are the last 5 results of the totalSupply method of ethereum contract 0x00000000006c3852cbef3e08e8df289169ede581?"