Amazon Comprehend Comprehend Operations API

The Comprehend Operations API from Amazon Comprehend — 1 operation(s) for comprehend operations.

GitHub OpenAPI
Business capability
Language & Document Understanding AE-110.40

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /#ClassifyDocument Classify a single document in real time · Classify Document #
Ask an LLM
“How do I classify one document with a custom classifier?”
“Can I classify a PDF or Word document with a custom model?”
Tell an agent
Classify {Text} with custom classifier {EndpointArn}.
Classify the document {Bytes} using endpoint {EndpointArn}.
POST /#ContainsPiiEntities Check text for PII entities · Contains Pii Entities #
Ask an LLM
“Does this text contain personally identifiable information?”
“Can I check a string for PII entity types like phone numbers?”
Tell an agent
Check {Text} for PII entities in {LanguageCode}.
Scan the text {Text} for PII and return the entity types.
POST /#DetectDominantLanguage Detect the dominant language of text · Detect Dominant Language #
Ask an LLM
“What language is a piece of text written in?”
“Can I detect the dominant language of a short text string?”
Tell an agent
Detect the dominant language of {Text}.
Identify the language of the text {Text}.
POST /#DetectEntities Detect named entities in text · Detect Entities #
Ask an LLM
“What named entities like people and locations are in a text?”
“Can I detect custom entities with a custom entity recognition model?”
Tell an agent
Detect entities in {Text} in {LanguageCode}.
Detect entities in the document {Bytes} using endpoint {EndpointArn}.
POST /#DetectKeyPhrases Detect key noun phrases in text · Detect Key Phrases #
Ask an LLM
“What are the key phrases in a piece of text?”
“Can I find the main noun phrases in a document?”
Tell an agent
Detect key phrases in {Text} in {LanguageCode}.
Find the key noun phrases of {Text}.
POST /#DetectPiiEntities Detect personally identifiable information · Detect Pii Entities #
Ask an LLM
“What PII like phone numbers and bank account numbers are in text?”
“Can I detect PII entities in Spanish text?”
Tell an agent
Detect PII entities in {Text} in {LanguageCode}.
Find personally identifiable information in {Text}.
POST /#DetectSentiment Detect sentiment in text · Detect Sentiment #
Ask an LLM
“Is this text positive, negative or neutral?”
“Can I get a sentiment score for a short text string?”
Tell an agent
Detect sentiment in {Text} in {LanguageCode}.
Score the sentiment of {Text}.
POST /#DetectSyntax Detect syntax and parts of speech · Detect Syntax #
Ask an LLM
“What parts of speech are in a sentence?”
“Can I get the syntax analysis of a short text?”
Tell an agent
Detect syntax in {Text} in {LanguageCode}.
Analyze the parts of speech in {Text}.
POST /#DetectTargetedSentiment Detect sentiment toward entities in text · Detect Targeted Sentiment #
Ask an LLM
“How do I get sentiment for each entity mentioned in text?”
“Can targeted sentiment analysis be run on Spanish text?”
Tell an agent
Detect targeted sentiment in {Text} in {LanguageCode}.
Score sentiment for each entity in {Text}.
POST /#DetectToxicContent Detect toxic content in text segments · Detect Toxic Content #
Ask an LLM
“Is this text toxic or offensive?”
“Can I check a list of text segments for toxicity?”
Tell an agent
Detect toxic content in {TextSegments} in {LanguageCode}.
Check {TextSegments} for toxicity.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-comprehend:amazon-comprehend-operations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-comprehend-operations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Comprehend Operations API
  version: '2017-11-27'
  description: Generated from AWS's published Smithy model for Amazon Comprehend. 10 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://comprehend.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (53 KB total) ---
# Full source: https://artifacts.apis.io/amazon-comprehend/openapi/amazon-comprehend-operations-api-openapi.yml