Invoke Sql Agent

Beta
POST
/api/v0/agents/sql/invoke

Coming soon! Generate, execute, and test SQL queries. Returns an asset ID for the query object.

Request

This endpoint expects an object.
configmap from strings to anyRequired

Configuration for the SQL agent including database connection details and query parameters

messageslist of maps from strings to anyRequired

The messages to send to the SQL agent

Response

This endpoint returns an object.
metadatamap from strings to any

Additional metadata about the generated query

query_asset_idstring

The asset ID of the generated SQL query object

Built with