cURL
curl --request POST \ --url https://api.example.com/query/sql \ --header 'Content-Type: application/json' \ --data ' { "sql": "<string>", "include_history": true } '
{ "app_id": "<string>", "collection": "<string>", "count": 1, "data": [ "<unknown>" ], "query": "<string>" }
SQL Query Request
SQL query string Format: SELECT ... FROM app::collection WHERE ... Example: "SELECT name, age FROM myapp::users WHERE age > 18 ORDER BY name LIMIT 10"
Include all versions of records (history)
SQL query executed successfully
SQL Query Response
App ID extracted from query
Collection name extracted from query
Number of results returned
x >= 0
Query results
SQL query that was executed