Text focused APIs utilizing generative large language models (LLMs)
MARCIE API (2025-08-18T18:01:56Z)
Lets documents, content and metadata be stored in MARCIE for further API processing. To get this data into the MARCIE store, document decomposition and ingestion, as well as manual document/content submission APIs can be used. Once populated, application APIs provide semantic/syntactic analysis, semantic search and content related querying to be executed at scale. See APPS from the navigation panel for more details.
Content is submitted to endpoints with associated control attributes and results are synchronously returned. Primary examples of these APIs include: content comparison, enrichment, transformation, and analysis (spellcheck, grammar, sentiment, readability). See DOCUMENT and CONTENT from the navigation panel for more details. In this scenario, content is not stored or persisted.
https://marcie.redocly.app/_mock/openapi/
https://w1waoh1clk.execute-api.us-east-1.amazonaws.com/{basePath}/
Enrichments/Classification
Text enrichment APIs offer various enrichment functions that take the raw text as its input and provides a specific enrichment/feature corresponding to the input text. An enrichment function is idempotent and its output is determined by the input text and the underlying predictive (deep learning based) linguistic model. Some examples of these include text based sentiment, readability calculation etc. Most of the underlying methods can be used either using a "GET" or a "POST" HTTP method. For smaller text, the GET method offers better performance and allows for network optimizations such as caching.
- Mock server
https://marcie.redocly.app/_mock/openapi/text/enrichment/readability
https://w1waoh1clk.execute-api.us-east-1.amazonaws.com/semantex-qa/text/enrichment/readability
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://marcie.redocly.app/_mock/openapi/text/enrichment/readability?text=Peter+is+a+boy.+He+lives+in+a+village.' \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "status": { "success": true, "code": 200 }, "result": { "readability": { … } } }
- Mock server
https://marcie.redocly.app/_mock/openapi/text/enrichment/readability
https://w1waoh1clk.execute-api.us-east-1.amazonaws.com/semantex-qa/text/enrichment/readability
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://marcie.redocly.app/_mock/openapi/text/enrichment/readability \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"text": "Environment Canada has ended tornado watches and warnings for eastern Ontario and western Quebec. Several storms came through the region in the afternoon Thursday bringing severe thunderstorm and tornado watches and warnings along the way. At times all of eastern Ontario and Western Quebec had watches or warnings. The Ottawa airport tweeted around 4:40 p.m. that the storms going through the region may have an impact on flights. Fewer than 300 customers were dealing with power outages that began at 4 p.m. Thursday. Power was restored to the area in River ward just before 10 p.m. A spokesperson for Hydro Ottawa said lightning caused the outages. Watches are issued when Environment Canada determines conditions are favourable for the development of thunderstorms strong enough to include a tornado. Tornado warnings are issued when a tornado has been reported or there'\''s credible evidence one is imminent. The tornado watches come less than a month after a weak tornado in the Casselman, Ont., area and a devastating derecho windstorm that knocked out power to hundreds of thousands of customers in the region and killed at least 10 people across Ontario and Quebec.",
"lang": "en"
}'
{ "status": { "success": true, "code": 200 }, "result": { "readability": { … } } }