Search Sessions
search-sessionsFilter and retrieve GreyNoise sensor network sessions over a time range using Lucene query syntax. Returns source/destination IPs, ports, timestamps, and classification.
Instructions
Query and filter GreyNoise sensor network sessions over a time range. Returns a paginated list with source/destination IPs and ports, timestamps, byte/packet counts, and classification. Use Lucene query syntax (e.g. destination.port:443).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| query | No | Lucene query string to filter sessions | |
| scope | No | Data scope: workspace (default) or demo | |
| sort_by | No | Field to sort by (default: lastPacket) | |
| end_time | Yes | End time, ISO 8601 (e.g. 2025-01-07T23:59:59Z) | |
| page_size | No | Results per page, 1-100 (default: 25) | |
| sort_desc | No | Sort descending (default: true) | |
| start_time | Yes | Start time, ISO 8601 (e.g. 2025-01-01T00:00:00Z) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| sessions | No | ||
| pagination | No | ||
| request_metadata | No |