{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":1165,"path":"api-reference/web-services/api-analytics-whitelist-domain.md","title":"Collect analytics for an API","bundle":null,"doc_type":null,"release":"australia","body":"\n# Collect analytics for an API\n\nSelect which APIs to collect analytics for and select if requestor information should be collected for each API.\n\n## Before you begin\n\n**Note:** API analytics is not available for certain APIs used for internal platform functionality, such as the UI and Mobile app APIs.\n\nRole required: api\\_analytics\\_read or admin\n\n## About this task\n\nWhen a new API is added, an inclusion list record is created automatically. You can modify or create new inclusion list records to manually configure which APIs and requestor information are logged.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Web Services** &gt; **Inclusion List** and create a new record.\n\n<table id=\"table_zvk_rjz_qw\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nAPI name\n\n</td><td>\n\nFor REST APIs, enter the API name. This name should contain only the namespace and ID of the API. Do not include any request parameters in the API name.For example, for the Table API endpoints `api/now/table/incident`and `api/now/table/problem`, the namespace and ID are **now/table**.\n\n SOAP APIs do not support separate logging configurations for different APIs. You can configure logging for all SOAP APIs by modifying the SOAP APIs inclusion list record.\n\n</td></tr><tr><td>\n\nCollect API stats\n\n</td><td>\n\nSelect this check box to track analytics for the specified API.\n\n</td></tr><tr><td>\n\nCollect API requestor stats\n\n</td><td>\n\nSelect this check box to track which users make requests to this API. This option is available only if **Collect API stats** is selected.\n\n</td></tr></tbody>\n</table>\n**Parent Topic:**[Analyze REST and SOAP API usage](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/c_APIAnalytics.md)\n\n"}}