This method queues document onto the server for analysis. Queued document analyzes individually and will have its own set of results. If unique configuration ID provided, Semantria uses settings of that configuration during analysis, in opposite the primary configuration uses. Document IDs are unique in scope of configuration. If the same ID appears twice, Semantria overrides existing document with the new Data.
Request
Path Params
Query Params
Body Params application/json
Examples
Responses
🟢200Client request accepted and queued. Server responds with the sentiment-bearing phrases list.
application/json
Body
🟢202Client request accepted and queued for processing.
🟠401Authentication failed.
🟠402Unauthorized. Limit of system calls is reached or subscription is expired.
🟠413Characters limit for the document exceeded.
🔴500Server side issue. Server may respond with the details in response body.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.semantria.com//document.' \
--header'Content-Type: application/json' \
--data-raw'null'