POST
/
detection
/
custom
List custom detections
curl --request POST \
  --url https://api.wirespeed.co/detection/custom \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "size": 123,
  "page": 123,
  "filter": "<string>",
  "search": "<string>",
  "orderBy": "<string>",
  "orderDir": "asc"
}'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "category": "<string>",
      "description": "<string>",
      "query": "<string>",
      "lastRan": "<string>",
      "createdAt": "<string>",
      "enabled": true,
      "createdBy": "<string>"
    }
  ],
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json
size
number
page
number
filter
string
orderBy
string
orderDir
enum<string>
Available options:
asc,
desc

Response

data
object[]
required

Array of custom detections

totalCount
number
required

Total number of custom detections matching the query