Create zero trust device review
Vigil's review of one WARP device's health over a range: the latest DEX report, each metric, top apps and the detected anomalies, in one answer. Read-only, and only for accounts the caller may read whole and no other customer shares. Never sends IPs, ISP or Wi-Fi names to the model: the normalised data has none.
Authorizations
Send one of these:
Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login.
Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Needs a key with write access: read-only keys get 403 with the code read_only_key. See organisation API keys.
Body
application/jsonThe catalog has no JSON Schema for this body. One validates it with the schema below.
Validation schema
BodySchema = z.object({
customerId: z.string().uuid(),
accountId: z.string().regex(CLOUDFLARE_ACCOUNT_ID),
deviceId: z.string().regex(ZERO_TRUST_RESOURCE_ID),
range: z.enum(DEVICE_HISTORY_RANGES).default('24h'),
/** Ask the model again even when a recent review is cached. */
refresh: z.boolean().optional(),
})Response
Success