{ version: 1.5 host: https://demoapi.trainsai.io # verify host ssl certificate, set to False only if you have a very good reason verify_certificate: True # default demoapi.trainsai.io credentials credentials { access_key: "EGRTCO8JMSIGI6S39GTP43NFWXDQOW" secret_key: "x!XTov_G-#vspE*Y(h$Anm&DIc5Ou-F)jsl$PdOyj5wG1&E!Z8" } # default version assigned to requests with no specific version. this is not expected to change # as it keeps us backwards compatible. default_version: 1.5 http { max_req_size = 15728640 # request size limit (smaller than that configured in api server) retries { # retry values (int, 0 means fail on first retry) total: 240 # Total number of retries to allow. Takes precedence over other counts. connect: 240 # How many times to retry on connection-related errors (never reached server) read: 240 # How many times to retry on read errors (waiting for server) redirect: 240 # How many redirects to perform (HTTP response with a status code 301, 302, 303, 307 or 308) status: 240 # How many times to retry on bad status codes # backoff parameters # timeout between retries is min({backoff_max}, {backoff factor} * (2 ^ ({number of total retries} - 1)) backoff_factor: 1.0 backoff_max: 300.0 } wait_on_maintenance_forever: true pool_maxsize: 512 pool_connections: 512 } auth { # When creating a request, if token will expire in less than this value, try to refresh the token token_expiration_threshold_sec = 360 } }