Request to claim-detection for a bunch of sentences
Request
POST https://producer.events.newtral.es/claim-detection/statements
Request body
The request body takes a complete PredictionStatements resource, containing the following writable properties:
{
"statements": [
"string"
]
}
Properties
| Name | Type | Description | Additional |
|---|---|---|---|
| statements[] | array of string |
The list of statements to be verified. |
Authorization
This request requires the use of one of following authorization methods:
API key
.
Response
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 201 |
Created
The event has been successfully sent |
SendResponse |
| 400 |
Bad Request
The body is invalid |
AvroValidationException |
| 401 |
Unauthorized
The user is not authenticated |
UnauthorizedException |
| 500 |
Internal Server Error
The event could not be sent |
EventNotSentException |