Skip to main content
POST
/
api
/
text2sql
/
databases
/
{database_id}
/
test
Test Database Connection
curl --request POST \
  --url https://api.example.com/api/text2sql/databases/{database_id}/test \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

database_id
integer
required

Response

Successful Response

The response is of type Response Test Database Connection Api Text2Sql Databases Database Id Test Post · object.