Query Service API examples

Teradata Developer Guides

ft:locale
en-US
ft:lastEdition
2026-08-18

When using the examples, please keep in mind that:

  • The examples in this document use Python, and you can use these to create examples in your language of choice.
  • The examples provided here are complete and ready for you to use, although most require a little customization.
  • The examples in this document use the URL https://<QS_HOSTNAME>:1443/.
  • Replace the following variables with your own value:
    • <QS_HOSTNAME>: Server where Query Service is installed
    • <SYSTEM_NAME>: Preconfigured alias of the system

Note

If your Teradata instance is provided through Teradata Trial, <QS_HOSTNAME> is the host URL of your Teradata Trial environment, and <SYSTEM_NAME> is 'local'.