Vigilbase One APIServices
Get Cloudflare zone map
The account's zones and what serves each hostname on them (Workers, Pages, R2, and the Access applications in front). Account-wide, so the same rule as the Developer Platform: the whole account, never a shared one. Read-only.
Authorizations
Send one of these:
AuthorizationstringAccess tokenheaderrequired
Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login.
AuthorizationstringAPI keyheaderrequired
Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Read-only keys work. See organisation API keys.
Query Parameters
accountIdstring
customerIdstring
Body
application/jsonThe catalog has no JSON Schema for this body. One validates it with the schema below.
Validation schema
QuerySchema = z.object({
customerId: z.string().uuid('Invalid customer ID format'),
accountId: z.string().regex(CLOUDFLARE_ACCOUNT_ID, 'Invalid account ID format'),
})Response
Success
More about this endpoint in the guide.
Was this page helpful?