Ocean Security
  1. Metrics
Ocean Security
  • Metrics
    • Get top highlighted threats
      GET
    • Get hours saved metric
      GET
    • Get prevented financial loss metric (USD)
      GET
    • Get protected inboxes count
      GET
    • Get threats over time metric
      GET
    • Get top targeted entities
      GET
    • Get top threat types
      GET
  • Threats
    • List recent threats
      GET
    • Get threat by ID
      GET
    • Get threats by Internet Message ID
      GET
  1. Metrics

Get top targeted entities

GET
https://api.ocean.security/api/v1/api/v1/metrics/top_targeted_entities
Returns a list of the top 5 targeted entities (users or groups) based on threat count within the specified time period.

Request

Query Params

Header Params

Responses

🟢200OK
application/json
List of top targeted entities and their threat counts
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.ocean.security/api/v1/api/v1/metrics/top_targeted_entities' \
--header 'X-Api-Key;'
Response Response Example
200 - Example 1
{
    "results": {
        "items": [
            {
                "count_threats": 0,
                "full_name": "string",
                "job_title": "string"
            }
        ]
    },
    "status": 0
}
Modified at 2025-07-27 09:03:30
Previous
Get threats over time metric
Next
Get top threat types
Built with