API
automate as much as you like
Last updated
automate as much as you like
Last updated
To keep Dot in sync with your production environment, it is recommended to trigger the following API endpoint
Region: app
(US) or eu
(EU)
Connection Type: postgres
, redshift
, snowflake
, mssql
, bigquery
, databricks
, looker
, dbt
User ID: usually email of the user (url encoded)
API Token: can get created (and overwritten) by clicking Copy API Token
in Settings/Users/Actions/···
Trigger with curl (CLI)
Trigger with dbt webhooks
Call the api endpoint after your dbt run completed.
Inform Dot about key external knowledge assets, such as BI dashboards or custom data apps, so it can recommend them to users and assist with discovery and understanding. Authentication works similarly to the Sync Connection endpoint.
Export all conversations together with relevant meta data fields such as number of messages or author.
For most operations on Dot you first need to login.
For embedded use cases that require SSO, where your end users have individual permissions you can use this endpoint to obtain an access token for users that is valid for 24h. Here is an example on how you can use it to embed Dot in your application.
Please make sure that enabled this flag on settings: "Allow admins to authenticate for users to enable SSO in embeds".
/api/auth/token
password
No body
/api/get_users
No body
/api/send_invitations
No body
/api/delete_user
No body
/api/change_user_role
No body
/api/add_user_to_group
No body
/api/remove_user_from_group
No body
/api/ask_with_history
No body
/api/ask
No body
/api/sync/{connection_type}//{connection_id}
No body
/api/create_user
No body
/api/import_and_overwrite_external_asset
No body
/api/auth/embedded_user_login
No body
/api/export_history
by default two weeks ago, format YYYY-MM-DD
by default tomorrow, format YYYY-MM-DD
No body