get/api/v2/responses/sentiment-distribution

Return response sentiment distribution.

Return response sentiment distribution.

Requires bearer API key

Parameters

X-Project-Id

header

Required for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.

Schema: string

startDate

query

No description provided.

Schema: string:date-time

endDate

query

No description provided.

Schema: string:date-time

monitorIds

query

Comma-separated values are accepted.

Schema: string

modelIds

query

Comma-separated values are accepted.

Schema: 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.