WWatchLLM
get/api/v2/responses/sentiment-distribution

Return response sentiment distribution.

Return response sentiment distribution.

Requires bearer API key

Parameters

NameInDescription
X-Project-IdheaderRequired for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.string
startDatequeryNo description provided.string:date-time
endDatequeryNo description provided.string:date-time
monitorIdsqueryComma-separated values are accepted.string
modelIdsqueryComma-separated values are accepted.string

Responses

200

Successful JSON response.

application/json
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "positive": {
      "type": "integer"
    },
    "neutral": {
      "type": "integer"
    },
    "negative": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "positive",
    "neutral",
    "negative",
    "total"
  ]
}

Try it

Send this request to the local WatchLLM REST handler. Use a key from /workspace/api; organization keys can include X-Project-Id only when the endpoint documents that header.