Method
queryDatabaseConnectorDatallm GET
Copy GET

Runs a read-only query in the specified database connector. This API is specifically designed for DataLLM

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes databaseConnectorId str A unique string identifier for the database connector.
Yes query str The query to be run in the database connector (must be read-only).
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
type
description

Exceptions:

TYPE WHEN
DataNotFoundError `databaseConnectorId` is not found.
InvalidRequest If the query is not read-only or if access control validation fails.
Language: