Sentiment Analysis List Predictions
GET {{baseUrl}}/api/v1/datasets/{{sentiment-dataset-id}}/predictions
Lists the predictions made by the Sentiment API for a specific dataset ID. These predictions can be used to give feedback on.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
predictionTimestampStart | string | Optional timestamp, predictions earlier are filtered out. Uses the ISO-8601 standard. | |
predictionTimestampEnd | string | Optional timestamp, predictions later are filtered out. Uses the ISO-8601 standard. | |
limit | number | The limit defining the maximal number of predictions to return. | |
cursor | string | The cursor to view the next paginated collection of predictions as provided by the next_cursor value in the ListPredictionsResponse . |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Authorization | string |
RESPONSES
status: OK
{"limit":20,"nextCursor":"VGhpcyBpcyBub3QgYSByZWFsIGN1cnNvciwgYnV0IHRoZXkgd291bGQgYmUgYmFzZTY0IGVuY29kZWQgdG9vCg==","predictions":[{"created_at":"2021-08-24T12:04:32Z","message_content":"This is very good, thanks a lot!","sentiment":"POSITIVE","sentiment_predicted":true}]}