---
title: "Evaluate attack score for a raw message"
method: POST
path: "/v0/messages/attack_score"
tags: ["Messages"]
---

# Evaluate attack score for a raw message

`POST /v0/messages/attack_score`

Evaluate attack score for a raw message

## Request body

- AttackScoreForRawMessageInput
  - `raw_message` string, byte, required — The full base64 encoded raw eml message

## Response `200`

OK

- HandlersAttackScoreResponse
  - `graymail_score` number, double, nullable — Score from 0 to 100, with higher scores indicating a higher correlation with messages involved in graymail.
  - `score` number, double, nullable — Score from 0 to 100, with higher scores indicating a higher correlation with messages involved in attacks.
  - `top_signals` HandlersAttackScoreSignalResult[] — Top signals contributing to the score
    - `category` string
    - `description` string
    - `rank` integer
  - `verdict` string, nullable — Verdict of the score, determined by thresholds.

---

[API](https://skmtc.dev/sublime/apis/sublime-platform-api.md) · [All operations](https://skmtc.dev/sublime/apis/sublime-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sublime/sublime-platform-api/revisions/d5df82850357/schema)
