POST /api/agent/v1/question
Changed onSave a previously constructed query as a named question (card).
The query parameter accepts a query_handle (UUID) returned by construct_query (MBQL) or construct_native_query (native SQL), or a base64-encoded query string. MCP callers should always use the handle. Optionally specify display type, description, collection, and visualization settings. If collection_id is omitted the question is saved to the caller's personal collection. Pass an explicit null to save it to the root collection. The response collection_path is the saved location.
Saving a native (raw SQL) query requires native-query permission on the target database.
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
- breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - info
added
subschema #2to therequest propertyanyOflist - info
added
subschema #1subschema #2to therequest propertyanyOflist - info
added
subschema #1subschema #2to therequest propertyanyOflist - info
added
subschema #1subschema #2to therequest propertyanyOflist - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status - info
removed
subschema #1subschema #2from theresponse propertyoneOflist for the response status - info
removed
subschema #1subschema #2from theresponse propertyoneOflist for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info