Triqai client accepts a configuration object as the second argument. All options are optional and have sensible defaults.
Full Configuration
Options Reference
Debug Hooks
UseonRequest and onResponse to log or monitor API calls without modifying your application logic:
Environment Variables
A common pattern is to read the API key from an environment variable:.env