Get Sessions

Returns a paginated list of network sessions matching the query criteria. Sessions represent individual network connections captured by GreyNoise sensors.

Query Params
string
enum
Defaults to workspace

Controls the data scope for the query.

  • workspace: Query data from the current workspace (default). Requires the Sensors entitlement.
  • demo: Query demo/sample data. Requires the Swarm entitlement. Not available on export endpoints.
Allowed:
date-time
required

Start time for the query range (ISO 8601 format).

date-time
required

End time for the query range (ISO 8601 format).

string

Lucene query string to filter sessions.

integer
≥ 1
Defaults to 1

Page number for pagination.

integer
1 to 100
Defaults to 25

Number of results per page.

string
Defaults to lastPacket

Field to sort results by.

string
enum
Defaults to true

Whether to sort in descending order.

Allowed:
Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json