--- title: "Search result report by ID: Request" slug: "search-result-report-by-id-request" tags: ["Reference", "NDRC 4.x", "Customer", "Network Security", "NDR 4.x"] updated: 2026-09-09T18:07:45Z published: 2026-09-09T18:07:45Z canonical: "docs.trellix.com/search-result-report-by-id-request" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Search result report by ID: Request To retrieve a specific search result report, send the following request: `GET https://<IA_IP_address>:<port_number>/scheduledsearch/v1/ watchreport/<user_name>/<scheduled_search_name>/<report_ID>` Required header: ``` Cookie: px= ``` Options - IA_IP_address—The IP address of the NDR appliance running the NDR API. - port_number—The port number of the NDR appliance running the NDR API. - user_name—The name of the user. The user_name must be for a currently logged-in user. - scheduled_search_name—The name of the scheduled search. It must be already created. - report_ID—The unique ID of the search result report. - token—This token authenticates the session. By default, the session times out after 24 hours. ### Example `GET https://xxx.xxx.xxx.xxx:443/scheduledsearch/v1/watchreport/npadmin/test/e5b7775c-a243-4e52-8810-d890e356b672` Required header: ``` Cookie: px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ``` ### Search result report by ID: Response ``` HTTP/1.1 [Response Code] [Response Message] Server: [Server] Date: [Date] Content-Type: [Content Type] id: [Report ID] userName: [User Name] watchName: [Scheduled Search Name] search_type: [Search Type] indices: [Indices] type: [Lookback Type] lowercase_expanded_terms: [Lowercase Expanded Terms] query: [Query] analyze_wildcard: [Analyze Wildcard] executionTime: [Execution Time] totalHitCount: [Total Hit Count] topHits: [Top Hits] conditionMet: [Condition Met] ``` ###### Response fields - Response Code—A standard HTTP response code. - 200—Request successful; the requested information is returned. - 404—Request unsuccessful because the search result report was not found. - Response Message—A standard HTTP response message. - OK—Request successful; the requested information is returned. - Not Found—Request unsuccessful because the search result report was not found. - Date—Standard HTML date format. - Content Type—The response format. - Report ID—The unique identifier of the search result report. - User Name—The name of the user that created the scheduled search. The User Name must match the name of the logged-in user. - Scheduled Search Name—The name of the scheduled search. - Search Type—* indicates that everything is searched. - Indices—The index type that is searched. - Lookback Type—The start time of the period examined by the query. The start time is `AUTO` if the start time is the last invocation of the query or `CUSTOM` if the start time is provided with the period field. - Lowercase Expanded Terms—Whether the terms are converted to lowercase letters. - Query—Query string. - Analyze Wildcard—Whether wildcards are used in the query. - Execution Time—The time when the query was run; the value is in ISO 8601 format. - Total Hit Count—The number of search results for the query. - Top Hits—The top documents that matched the query. The number is 10 by default. - Condition Met—Whether this query matched the specified condition. ###### Example ``` HTTP/1.1 200 OK Server: nginx Date: Thu, 28 Apr 2016 17:55:14 GMT Content-Type: application/json; charset=utf-8 {   "id": "e5b7775c-a243-4e52-8810-d890e356b672",   "userName": "npadmin",   "watchName": "test",   "query": { "search_type": "*", "indices": [   "nspector-2016.04.21",   "alert-2016.04.21" ], "lookback_period": {   "type": "AUTO" }, "body": {   "query": {              "query_string": {   "lowercase_expanded_terms": false,   "query": "(doc_values_type:fileinfo) AND (@timestamp: [2016-04-21T23:56:00.715Z TO 2016-04-21T23:58:00.715Z])",   "analyze_wildcard": true }   } }   },   "executionTime": "2016-04-21T23:58:00.715Z",   "totalHitCount": 6,   "topHits": [   { "_type": "fileinfo", "_source": {   "httpUserAgent": "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)",   "dstLocation": { "region": "22", "metro_code": "0", "area_code": "0", "postal_code": "N/A", "continent": "AS", "country_code3": "CHN", "longitude": "116.388298", "latitude": "39.928902", "country_code": "CN", "country_name": "China", "city": "Beijing"   },   "httpGet": "/message.php?id=op.vq2khjew0p3ku8%40localhost&ng=comp.lang.apl&show_headers=yes",   "exporterIPv4Address": "xxx.xxx.xxx.xxx",   "npulseFlowHash": 2538611190,   "fileStored": false,   "fileSize": 36038,   "destinationIPv4Address": "xxx.xxx.xxx.xxx",   "httpVersion": "HTTP/1.1",   "sourceTransportPort": 80,   "fileMagic": "HTML document, ASCII text",   "appType": 4,   "fileState": "CLOSED",   "doc_values_type": "fileinfo",   "pxuuid": "3d560e3f-7c17-4888-a16e-331dcb87496a",   "exporterIPv6Address": "fe80::225:90ff:fef9:633c",   "httpMethod": "GET",   "fileDirectory": "/",   "protocolIdentifierName": "TCP",   "sourceIPv4Address": "xxx.xxx.xxx.xxx",   "protocolIdentifier": 6,   "fileSuffix": "php",   "app_proto": "http",   "@timestamp": "2016-04-21T23:56:34.000001+0000",   "httpContentType": "text/html",   "destinationTransportPort": 60073,   "flow_id": 140714453165936,   "fileMD5": "506b2301e4c1c57ab3155950b169031a",   "tx_id": 0,   "fileName": "message.php",   "httpHost": "www.webuse.net",   "srcLocation": { "region": "CA", "metro_code": "825", "area_code": "858", "postal_code": "92122", "continent": "NA", "country_code3": "USA", "longitude": "-117.207298", "latitude": "32.859402", "country_code": "US", "country_name": "United States", "city": "San Diego"   },   "httpResponse": "200",   "httpContentLength": "36080",   "httpURL": "http://www.webuse.net:60073/message.php?id=op.vq2khjew0p3ku8%40localhost&ng=comp.lang.apl&show_headers=yes" }   },   { "_type": "fileinfo", "_source": {   "httpUserAgent": "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",   "dstLocation": { "region": "CA", "metro_code": "807", "area_code": "650", "postal_code": "94043", "continent": "NA", "country_code3": "USA", "longitude": "-122.057404", "latitude": "37.419201", "country_code": "US", "country_name": "United States", "city": "Mountain View"   },   "httpGet": "/message.php?id=30b884c0-2dde-4df5-962a-bbe64e0ed6c5%40y8g2000prd.googlegroups.com&ng=rec.arts.anime.misc&offset=140",   "exporterIPv4Address": "xxx.xxx.xxx.xxx",   "npulseFlowHash": 2377328249,   "fileStored": false,   "fileSize": 13147,   "destinationIPv4Address": "xxx.xxx.xxx.xxx",   "httpVersion": "HTTP/1.1",   "sourceTransportPort": 80,   "fileMagic": "HTML document, ASCII text",   "appType": 4,   "fileState": "CLOSED",   "doc_values_type": "fileinfo",   "pxuuid": "bc3738b8-d1e9-4700-80b4-14e82302991c",   "exporterIPv6Address": "fe80::225:90ff:fef9:633c",   "httpMethod": "GET",    "fileDirectory": "/",   "protocolIdentifierName": "TCP",   "sourceIPv4Address": "xxx.xxx.xxx.xxx",   "protocolIdentifier": 6,   "fileSuffix": "php",   "app_proto": "http",   "@timestamp": "2016-04-21T23:56:13.000001+0000",    "httpContentType": "text/html",   "destinationTransportPort": 51144,   "flow_id": 140703197611184,   "fileMD5": "066c2394d335253cc0133d5f25698065",   "tx_id": 0,   "fileName": "message.php",   "httpHost": "www.webuse.net",   "srcLocation": { "region": "CA", "metro_code": "825", "area_code": "858", "postal_code": "92122", "continent": "NA", "country_code3": "USA", "longitude": "-117.207298", "latitude": "32.859402", "country_code": "US", "country_name": "United States", "city": "San Diego"   },   "httpResponse": "200",   "httpContentLength": "13166",   "httpURL": "http://www.webuse.net:51144/message.php?id=30b884c0-2dde-4df5-962a-bbe64e0ed6c5%40y8g2000prd.googlegroups.com&ng=rec.arts.anime.misc&offset=140" }   },   { "_type": "fileinfo", "_source": {+}   },   { "_type": "fileinfo", "_source": {+}   },   { "_type": "fileinfo", "_source": {+}   },   { "_type": "fileinfo", "_source": {+}   }   ],   "conditionMet": true } ``` ### cURL code sample: Search result report by ID ``` curl -k -H "Content-Type: application/json" --cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" https://xxx.xxx.xxx.xxx:443/scheduledsearch/v1/watchreport/npadmin/test/e5b7775c-a243-4e52-8810-d890e356b672 ``` This cURL sample includes the following options: - `-k`—This option explicitly allows cURL to perform insecure SSL connections and transfers, which allows you to test your SSL connection without installing a CA certificate. - `-H "Content-Type: application/json"`—This header specifies that the request body is in JSON format. - `--cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"`—This option specifies the authentication token for this session. - `https://xxx.xxx.xxx.xxx:443/scheduledsearch/v1/watchreport/npadmin/test/e5b7775c-a243-4e52-8810-d890e356b672`—The scheduled search request URL. Replace `xxx.xxx.xxx.xxx` with the IP address of your NDR appliance. Replace `npadmin` with the name of the user who created the scheduled search. Replace `test` with the name of the scheduled search of interest. Replace `e5b7775c-a243-4e52-8810-d890e356b672` with the ID of the search result report of interest. ###### Results This example returns the specified search result report. The output is in JSON format.