POST
/
detection
/
stats
/
chat-ops
Get detection chat ops statistics
curl --request POST \
  --url https://api.wirespeed.co/detection/stats/chat-ops \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "days": 123
}'
[
  {
    "date": "<string>",
    "totalChatOps": 123,
    "successfulChatOps": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
days
number
required

Number of days for chart data (30, 60, or 90)

Response

Returns chat ops statistics

date
string
required

Date in ISO format

totalChatOps
number
required

Total number of chat ops for the day

successfulChatOps
number
required

Number of successful chat ops for the day