Beta
Invoke Sql Agent
Coming soon! Generate, execute, and test SQL queries. Returns an asset ID for the query object.
Headers
X-API-KEY
Request
This endpoint expects an object.
config
Configuration for the SQL agent including database connection details and query parameters
messages
The messages to send to the SQL agent
Response
Successful Response
metadata
Additional metadata about the generated query
query_asset_id
The asset ID of the generated SQL query object
Errors
422
SQL Invoke Request Unprocessable Entity Error