/api/agent
POST /api/agent/v1/execute
Changed onExecute an MBQL query and return results.
Accepts a base64-encoded MBQL query (as returned by /v1/construct-query) and executes it, returning results with column metadata.
Response format:
- On success: {:data {:cols [...] :rows [...]} :row_count N :status :completed :running_time M}
- On failure: {:status :failed :error "message" ...}
Standard userspace query limits are enforced (2000 rows for simple queries, 10000 for aggregated).
post/api/agent/v1/execute
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Request body
Response
Successful response
Changes
- info
added
subschema #1subschema #2to the///response propertyanyOflist for the response status - info
removed
subschema #1subschema #2from the///response propertyoneOflist for the response status
- info
- info
endpoint added
- info