GreyNoise Intelligence · JSON Structure

Greynoise Session Structure

A network session captured by GreyNoise sensors. Sessions contain network flow data, protocol details, and enrichment metadata. The full set of fields is dynamic and can be discovered via the `/v3/sessions/fields` endpoint.

Type: object Properties: 12
SecurityThreat IntelligenceCybersecurityIP ReputationVulnerability ManagementNetwork TelemetrySOC AutomationPublic APIs

Session is a JSON Structure definition published by GreyNoise Intelligence, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

_id firstPacket lastPacket source.ip source.port destination.ip destination.port source.bytes source.packets destination.bytes destination.packets classification

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://api-evangelist.github.io/greynoise/json-structure/greynoise-session-structure.json",
  "name": "Session",
  "type": "object",
  "description": "A network session captured by GreyNoise sensors. Sessions contain network\nflow data, protocol details, and enrichment metadata. The full set of fields\nis dynamic and can be discovered via the `/v3/sessions/fields` endpoint.\n",
  "additionalProperties": true,
  "properties": {
    "_id": {
      "type": "string",
      "description": "Unique session identifier.",
      "example": "2505-abcdef123456"
    },
    "firstPacket": {
      "type": "datetime",
      "description": "Timestamp of the first packet in the session.",
      "example": "2025-01-15T10:30:00Z"
    },
    "lastPacket": {
      "type": "datetime",
      "description": "Timestamp of the last packet in the session.",
      "example": "2025-01-15T10:30:05Z"
    },
    "source.ip": {
      "type": "string",
      "description": "Source IP address.",
      "example": "203.0.113.45"
    },
    "source.port": {
      "type": "int32",
      "description": "Source port number.",
      "example": 54321
    },
    "destination.ip": {
      "type": "string",
      "description": "Destination IP address.",
      "example": "198.51.100.10"
    },
    "destination.port": {
      "type": "int32",
      "description": "Destination port number.",
      "example": 443
    },
    "source.bytes": {
      "type": "int32",
      "description": "Total bytes sent from source.",
      "example": 1024
    },
    "source.packets": {
      "type": "int32",
      "description": "Total packets sent from source.",
      "example": 10
    },
    "destination.bytes": {
      "type": "int32",
      "description": "Total bytes sent from destination.",
      "example": 2048
    },
    "destination.packets": {
      "type": "int32",
      "description": "Total packets sent from destination.",
      "example": 8
    },
    "classification": {
      "type": "string",
      "description": "GreyNoise classification of the source IP.",
      "example": "malicious"
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/greynoise-session-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.