About this endpoint
What it does
Analyzes the submitted text and returns a JSON object containing a data object. When requested_service is google, the response may include a google object with service-specific analysis results.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | The text to analyze. |
| Object | No | Google-specific configuration object. See schema for nested fields. | |
| google.key | String | No | Google API key. |
| google.google_language | String | No | Google language code. |
| encoding | String | No | Text encoding. |
| language | String | No | Language code for the input text. |
| requested_service | ENUM | Yes | Requested analysis service. Allowed value: google. |
Response
Returns a JSON object with a data object field. The data object may include a google object when requested_service is google.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Container for the analysis result. May include a google object when the requested service is google. |