analysis
Sentiment analysis
Classify the sentiment of a text (positive / neutral / negative). Returns overall and per-sentence sentiment with confidence scores.
post/api/v1/sentiment
Request
- Base URL: https://api.sapling.ai
- URL: https://api.sapling.ai/api/v1/sentiment
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.sapling.ai/oauth/authorize, token URL https://api.sapling.ai/oauth/token, scopes: sapling:api)
- none
Request body
Response
Successful response. Field-level schemas and examples: https://sapling.ai/docs/api/sentiment/ A bare JSON array (no per-sentence results) is the degraded shape served when sentence tokenization fails upstream.
Changes
No recorded changes to this operation across all 1 revision of this API.