Text Emotion API

Get Text Details

Retrieve all details for a specific text directly from the database.

Returns a complete standardized response with all possible fields. Fields that don't exist in the database are returned as null.

Access Control:

  • Authenticated users can access their own texts
  • Admins can access all texts
  • Sample texts and shared texts are publicly accessible
get/v2/texts/{text_id}

Path parameters

text_idstring required

The unique ID of the text.

The unique ID of the text.

Response

Successful Response

bulk_upload_idstring nullable

Bulk upload batch ID

created_atstring nullable

Creation timestamp

csv_analysis_urlstring nullable

CSV analysis file URL

csv_statusstring nullable

CSV generation status

document_typestring nullable

Document type: standalone, transcript

idstring nullable

Unique text identifier

is_userboolean nullable

Whether user submitted text

media_sourcestring nullable

Cloud platform source: dropbox, google_drive, aws_s3, public_url

media_source_urlstring nullable

Original cloud storage URL

model_idstring nullable

Model used for processing

urlstring nullable

GCS bucket URL of uploaded extracted text

parent_idstring nullable

Parent audio/video ID if transcript

predefined_qaobject[] nullable

Predefined Q&A about the text

psychologist_reviewstring nullable

Psychologist review content

psychologist_review_statusstring nullable

Psychologist review status

sentencesobject[] nullable

Sentences with emotions

share_statusboolean nullable

Whether text is shared

statusstring nullable

Processing status

tags_mapobject nullable

Tags map with general and sample flags

textstring nullable

The actual text content (may contain HTML)

text_emotionsobject nullable

Overall text emotions

titlestring nullable

Text title

ui_requestboolean nullable

Whether request came from UI

user_idstring nullable

Owner user ID

word_countinteger nullable

Word count

youtube_urlstring nullable

YouTube URL if applicable