- 29 Nov 2022
- 1 minute to read
API settings
- Updated on 29 Nov 2022
- 1 minute to read
The API has a number of configuration settings that control its behaviour at the site level. Site Administrators can configure the general API settings for your site by navigating to Quick-access menu > Development > API > API settings.
Setting | Description | Notes |
---|---|---|
Site rate limit | Set the maximum query complexity cost for all clients per minute. | The default value is 500,000. |
Client rate limit | Set the maximum query complexity cost per minute for a single client. | You can configure this limit for individual clients by editing their settings. The default value is 250,000. |
Maximum query complexity | Set the maximum complexity allowed for a single query. | The default value is 6,000. |
Maximum query depth | Set the maximum depth allowed for a single query. | The default value is 15. |
Default token expiration | This sets the default length of time tokens will be valid when adding new API clients. Use the two dropdown menus to set the value and the unit of time (e.g. hours, days, weeks). | You can configure the token expiry for each client by editing their settings. The default length of time is 24 hours. |
Default error response | This setting determines how much information will be provided in API responses when errors occur. Select one of the following options:
| The default option is Normal. |
Join the Totara Community for more resources to help you get the most out of Totara. You can also book a call to have a chat about your Totara platform with a dedicated Customer Success Manager.
© Copyright 2024 Totara Learning Solutions. All rights reserved.