fluxguard.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Account
get
account.get
Get the organisation account: plan, credits, site count and flags
Risk: read
flags maps each severity label to the colour the console shows it in; the same labels appear as aiFlagged on a change.
Output
flags full type
flags full type
Categories
create
categories.create
Create a site category; sites are assigned to it in the Fluxguard console
Risk: write
Creates a site category. Page categories exist separately and the API cannot create them.
Output
list
categories.list
List the site categories change notifications can be limited to
Risk: read
id field. An account with no categories answers {}.
Output
categories full type
categories full type
Monitoring
addPage
monitoring.addPage
Add a URL for monitoring, creating a site and session when none is given
Risk: write
siteId and sessionId must be given together. The API answers 400 when only one is set, and 400 when siteNickname or a category option is set alongside an existing site, so the plugin rejects both cases before sending.
Output
deletePage
monitoring.deletePage
Stop monitoring a page: Fluxguard hides it and everything captured for it, and the id still resolves with status ignore
Risk: destructive · Irreversible
Answers 204. Fluxguard keeps the row with
status: 'ignore' rather than removing it, so the id keeps resolving.
Output
deleteSite
monitoring.deleteSite
Delete a site with all of its sessions, pages and captured versions
Risk: destructive · Irreversible
Answers 204. Deleting an already-deleted site answers 204 too.
Output
getPage
monitoring.getPage
Get one monitored page with its version counts and categories
Risk: read
An unknown site, session or page answers 204 with no body, not 404, so the plugin throws instead of returning an empty page. A deleted page still answers 200 with
status: 'ignore'.
Output
site full type
site full type
session full type
session full type
startCrawl
monitoring.startCrawl
Start capturing a session now; the capture runs in the background and spends account credits
Risk: write
Answers 204 with no body. The crawl runs in the background and spends account credits; read the capture with
monitoring.getPage.
Output
Webhooks
create
webhooks.create
Add a webhook URL. Every later change event is POSTed to it, so a live URL starts receiving data immediately
Risk: write
Only
url is honoured. siteCategories and categories are silently ignored, so assign categories in the console instead.
Output
delete
webhooks.delete
Remove a webhook so its URL stops receiving change events
Risk: destructive
The
id travels in the request body. A query parameter is ignored and a request without a body answers 400, so the plugin always sends { id }. Deleting an unknown id answers 204.
Output
list
webhooks.list
List the webhook URLs change events are posted to
Risk: read
secret is its own HMAC signing key for deliveries, and Fluxguard shows the same value behind the key icon beside the webhook URL in Account Settings. Pass it as webhookSecret, or store it with keys.set_webhook_signature, to verify incoming deliveries.
Output
webhooks full type
webhooks full type
sample
webhooks.sample
Get a sample delivery built from this account, to inspect the payload shape
Risk: read
samples full type
samples full type