---
title: "Get Text Emotion Insights"
method: GET
path: "/v1/texts/{text_id}"
tags: ["Text Emotion API"]
---

# Get Text Emotion Insights

`GET /v1/texts/{text_id}`

Retrieves detailed emotion analysis results for a specific uploaded text.
Includes paragraph wise analysis, and supports 28 emotions.

## Path parameters

- `text_id` string, required — The unique ID of the text.

## Response `200`

Successful Response

- FetchTextResponse — Detailed response for a text emotion analysis request. Attributes: title (Optional[str]): Title of the text (available for v2 texts). model_id (str): Model used to process the text. created_at (Any): Timestamp of creation. text (Optional[str]): The input text. user_id (Optional[str]): ID of the user who submitted the text. word_count (Optional[int]): Number of words in the input. segments (Optional[List[Emotions]]): List of emotions per sentence. emotions (Optional[dict]): Overall emotions detected in the text. parent_id (Optional[str]): ID associated with parent audio id if any.
  - `id` string, required
  - `status` string, required
  - `title` string, nullable
  - `model_id` string, nullable
  - `document_type` string, nullable
  - `user_id` string, nullable
  - `word_count` integer, nullable
  - `segments` union[], nullable
    - union
      - Emotions — Model representing detected emotions in a sentence. Attributes: emotions (Optional[dict]): Dictionary of emotion scores. sentence (Optional[str]): The sentence where emotions were detected.
        - `emotions` object
        - `sentence` string
      - TranscriptEmotions — Represents emotional data for a transcript segment. Attributes: emotions (Optional[Dict[str, str]]): Dictionary of detected emotions and their scores or labels. start_time (Optional[int]): Start time of the segment in milliseconds. end_time (Optional[int]): End time of the segment in milliseconds. speaker_id (Optional[int]): ID of the speaker for this segment. name (Optional[str]): Name of the speaker, if available. max_emotion (Dict[str, Union[str, float]]): Emotion with the highest confidence. segment (Optional[str]): The actual text of the transcript segment.
        - `emotions` object, nullable
        - `start_time` integer, nullable
        - `end_time` integer, nullable
        - `speaker_id` integer, nullable
        - `name` string, nullable
        - `max_emotion` object, required
        - `segment` string, nullable
  - `created_at` string, nullable
  - `text` string, nullable
  - `emotions` object, nullable
  - `parent_id` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/imentiv/apis/welcome-to-imentiv-ai.md) · [All operations](https://skmtc.net/imentiv/apis/welcome-to-imentiv-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/imentiv/welcome-to-imentiv-ai/versions/4a61d1ac9025/schema)
