Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Imentiv AI Text Emotion API API

The Text Emotion Analysis API by Imentiv analyzes a given piece of text and returns the detected emotional tone(s).**Features:**- The API processes the text, detects emotions for each paragraph, and returns results.- A callback mechanism is supported for asynchronous analysis.- **Supported emotions (28):** Admiration, Amusement, Approval, Caring, Desire, Excitement, Gratitude, Joy/Happy, Love, Optimism, Pride, Relief, Anger, Disappointment, Annoyance, Disapproval, Disgust, Embarrassment, Fear, Grief, Nervousness, Remorse, Sadness, Confusion, Curiosity, Realization, Surprise, Neutral

Imentiv AI Text Emotion API API is one of 6 APIs that Imentiv AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Text Emotion API. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 7 operations across 5 paths, and defines 12 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against the base URL https://api.imentiv.ai.

7 operations 5 paths 12 schemas 1 DELETE3 GET1 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.imentiv.ai
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Imentiv AI Text Emotion API API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-Key (APIKeyHeader).

Paths & Operations 7

Across 5 paths, the API surfaces 7 operations — 1 DELETE, 3 GET, 1 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Text Emotion API 7

The Text Emotion Analysis API by Imentiv analyzes a given piece of text and returns the detected emotional tone(s). Features: - The API processes the text, detects emotions for ea…

POST
/v2/texts
Upload Text
upload_text_v2_texts_post body → 200422
GET
/v1/texts
List Texts
list_texts_v1_texts_get 3 params → 200422
GET
/v1/texts/{text_id}
Get Text Emotion Insights
get_text_emotion_insights_v1_texts__text_id__get 1 param → 200422
DELETE
/v1/texts/{text_id}
Delete Text
delete_text_v1_texts__text_id__delete 1 param → 200422
PUT
/v1/texts/{text_id}
Reprocess Text
reprocess_text_v1_texts__text_id__put 1 param body → 200422
PUT
/v1/texts/{text_id}/emotions
Edit Text
edit_text_v1_texts__text_id__emotions_put 1 param body → 200422
GET
/v1/texts/{text_id}/report
Download Text Emotion Report
download_text_emotion_report_v1_texts__text_id__report_get 1 param → 200422

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are FetchTextResponse (12 properties), TranscriptEmotions (7 properties), TextEmotionResponseV2 (6 properties), Body_upload_text_v2_texts_post (3 properties). Each schema is shown below with its type and property counts.

HTTPValidationError
object
1 property
ValidationError
object
3 properties 3 required
PaginatedResponse
object
Model for paginated audio emotion responses. Attributes: documents (List[AudioEmotionResponse]): List of audio responses. count (int): Total count of documents.
2 properties 2 required
FetchTextResponse
object
Detailed response for a text emotion analysis request. Attributes: title (Optional[str]): Title of the text (available for v2 texts). modelid (str): Model used…
12 properties 2 required
TextReprocessResponse
object
Response model for reprocessing a text analysis request. Attributes: message (str): Additional information about the reprocessing result.
3 properties 3 required
DeleteTextResponse
object
Response returned after deleting a text emotion analysis result.
2 properties 2 required
TextEmotionResponseV2
object
V2 response model for text emotion detection. Simplified text-only processing without YouTube support. Direct text submission with mandatory title field. Attri…
6 properties 5 required
Body_reprocess_text_v1_texts__text_id__put
object
2 properties
Body_edit_text_v1_texts__text_id__emotions_put
object
2 properties 1 required
Body_upload_text_v2_texts_post
object
3 properties 2 required
Emotions
object
Model representing detected emotions in a sentence. Attributes: emotions (Optional[dict]): Dictionary of emotion scores. sentence (Optional[str]): The sentence…
2 properties
TranscriptEmotions
object
Represents emotional data for a transcript segment. Attributes: emotions (Optional[Dict[str, str]]): Dictionary of detected emotions and their scores or labels…
7 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

imentiv-ai-text-emotion-api-api-openapi.yml Raw ↑

Other APIs Imentiv AI publishes across the network.

Imentiv AI AI Insights API API
Imentiv AI Audio Emotion API API
Imentiv AI Image Emotion API API
Imentiv AI Report API API
Imentiv AI Video Emotion API API