This article shows how to use the SQLFlow Rest API to communicate with the SQLFlow server and get the generated metadata and data lineage.
In order to use the SQLFlow rest API, you may connect to the SQLFlow Cloud server or setup a SQLFlow on-premise version on your owner server.
If you want to connect to the SQLFlow Cloud Server, you may request a 30 days premium account to get the necessary userId and secret code.
Once getting the premium account, please click the icon at the right top of the screen:
Accountmenu item to see:
Here you can
- Copy the userId
- By default, the Secret key field is empty, please click the
generatebutton to create a new secret key and copy this code.
- User ID
- Secrete Key
Always set userId to
userSecretempty when connect to the SQLFlow on-premise version.
- 1.TOKEN is not needed in the API calls when connect to the SQLFlow on-premise version
userIdis always set to
userSecretis left empty when connecting to the SQLFlow on-premise version.
- 3.The server port is 8081 by default for the SQLFlow on-premise version, and There is no need to specify the port.