[Deprecated] Get Widget Statistics

Cortex XSOAR 6 API

post /statistics/widgets/query

Get a given widget object statistics result. Note: This route has many return types based on the widget type and data. Each 200X represent a 200 OK request of specific widget type and data

Deprecated - use "/v2/statistics/widgets/query

CURL
curl -X POST \ -H "Authorization: [[apiKey]]" \ -H "Accept: application/json" \ "https://hostname:443/statistics/widgets/query"
Authentication: api_key Api Key "Authorization"
Responses

Response differ according to the widget type

  • Incident data type of a "table" or "list" widget returns incidentSearchResponse total: type: integer data: type: array items: "$ref": "#/definitions/Incident" - Indicators data type of a "table" or "list" widget returns IoCsResponse total: type: integer data: type: array items: "$ref": "#/definitions/IocObject" - Number widget returns a simple number type: integer - Trend widget returns a trend object "$ref": "#/definitions/StatsTrendsResponse" - Text widget returns a text object, describing the final text and the placeholders values. "$ref": "#/definitions/StatsTextResponse" - A chart data array by groups. When requesting a date, the key is the date string, according to the specified time frame. Empty groups (dates) are also returned. type: array items: "$ref": "#/definitions/Group"
Body