API CodexAPI Codex
WebsiteDashboardGet API Key
  • Documentation
  • All APIs
  • Changelog
Resources
  • Docs Home
  • API Catalog
  • API Codex Website
Platform
  • Get a free API key
  • Dashboard
  • APIs & Pricing

© 2026 API Codex. All rights reserved.

Information
Other endpoints
    Analyze textpostAnalyze file uploadpost
Schemas
powered by Zudoku
Text Analysis API
Text Analysis API

Schemas


Error

error
​string · required

Error message

HealthResponse

message
​string · required

Detection

value
​string · required

Detected value

position
​integer

Position of detection in the text

ModeratedDetection

value
​string · required

Detected value

position
​integer

Position of detection in the text

flags
​string[]

Moderation flags

DetectionResults

success
​boolean · required

Whether the detection was successful

analyzed_at
​string · date-time · required

Timestamp of the analysis

​object · required
count
​integer · required

Total number of detections

NLPAnalysisResults

languages
​string[]

Languages detected in the text, with the primary language first

​object
topics
​string[]

Key topics or themes in the text

categories
​string[]

Categories the text belongs to

keywords
​string[]

Important keywords or key phrases in the text

summary
​string

A very brief 1-2 sentence summary of the text content

sentiment
​string · enum

The overall sentiment of the text

Enum values:
positive
negative
neutral
mixed
​object
On this page
  • Error
  • HealthResponse
  • Detection
  • ModeratedDetection
  • DetectionResults
  • NLPAnalysisResults