GET
/
edr
/
policies
curl --request GET \
  --url https://api.leen.dev/v1/edr/policies \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "count": 123,
  "total": 123,
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "vendor_id": "<string>",
      "policy_type": "<string>",
      "vendor": "<string>",
      "vendor_data": {},
      "device_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ]
    }
  ]
}

Authorizations

X-CONNECTION-ID
string
header
required
X-API-KEY
string
header
required

Query Parameters

enableCursor
boolean
default:
false

Enable cursor based pagination instead of default offset-based pagination

updatedSince
string | null

Datetime filter, only return items updated since this datetime. Example format: 2021-01-01T00:00:00+00:00

limit
integer
default:
100

Limit size (page size)

Required range: x > 0
offset
integer
default:
0

Offset index (starting index of page)

Required range: x > 0
excludeTotal
boolean
default:
false

Skips returning the total rows, total is set to null when true

cursor
string | null
deviceId
string | null

Device ID, pass a single device ID to get the policies associated with the device

Response

200
application/json
Successful Response
count
integer
required

Number of items return in the response

items
object[]
required

List of items returned in the response

total
integer | null

Total number of items that can be returned