> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aiola.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aiola.ai/_mcp/server.

# Sentiment Analysis

> Learn about aiOla's sentiment analysis capabilities.

## Task Description

This Sentiment Analysis endpoint analyzes sentiment in transcript text. It evaluates the emotional tone of the provided text and returns a structured sentiment analysis.

## Inputs

* **Text**: The transcript text to analyze for sentiment (required)

## Output

### Description

The API returns a JSON object containing sentiment analysis with:

* `overall`: The detected sentiment (positive, negative, neutral, etc.)
* `explanation`: A brief explanation of the reasoning behind the sentiment classification

### Example

```json
{
  "sentiment": {
    "overall": "positive",
    "explanation": "Strong positive language and enthusiastic tone"
  }
}
```