---
title: "Execute tone-detection evaluator"
method: POST
path: "/v2/evaluators/execute/tone-detection"
tags: ["evaluators"]
---

# Execute tone-detection evaluator

`POST /v2/evaluators/execute/tone-detection`

Detect the tone of the text

**Request Body:**
- `input.text` (string, required): The text to detect the tone of

## Request body

- RequestToneDetectionRequest
  - `input` RequestToneDetectionInput, required
    - `text` string, required

## Response `200`

OK

- ResponseToneDetectionResponse
  - `score` number
  - `tone` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

- **2026-01-01** `aef6c851927f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/traceloop/apis/traceloop-api/changes/v2/evaluators/execute/tone-detection/post.md)

---

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