Schemas
Action
idFormatted action ID.
nameresultAction result applied to a matching request.
status_codeHTTP status returned by results that produce a response.
messageResponse message returned by results that produce a response.
window_secondsRate-limit window in seconds, or null for other results.
requests_per_windowRequests allowed per rate-limit window, or null for other results.
partition_byRate-limit partition dimensions, an empty list for one rule-wide bucket, or null when unset (per client IP on current proxies, rule-derived on older proxies).
created_atISO 8601 creation timestamp.
updated_atISO 8601 last-update timestamp.
rules_countNumber of rules currently using this action.
ActionCreatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn action was added.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ActionDeletedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn action was removed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ActionUpdatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn action changed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
BlockIPRequest
ipThe client IP address to block.
prefix_lengthBlock the network around the IP instead: 24 for IPv4, 56 or 64 for IPv6. Leave it out to block only the IP.
stream_idThe stream ID of the request the IP was blocked from, kept in the entry's comment.
BlockedIP
ipThe IP address that was looked up.
blockedWhether an entry of the Blocked IPs list covers the IP.
match_kindexact when the entry is the IP itself, cidr when it is a network around it.
additional_match_countHow many other entries also cover the IP, which stay when this entry is removed.
source_stream_idThe stream ID of the request the IP was blocked from, when it was blocked from one.
Whether AbuseIPDB lists the IP, with what confidence, and its page about the IP.
CreateWebhookEndpointRequest
urlHTTPS URL that receives the events, it must resolve to a public address.
eventsEvent types the endpoint receives, * for every event including types added later.
descriptionWhat the endpoint is for, shown in the dashboard.
IPList
idFormatted IP list ID accepted by IP-list rule conditions.
nameis_globalWhether the list is managed globally instead of by the authenticated team.
supports_confidenceWhether IP-list rule matches may specify a confidence threshold.
created_atISO 8601 creation timestamp.
updated_atISO 8601 last-update timestamp.
entries_countNumber of entries in the list when requested by the endpoint.
IPListEntry
idFormatted IP-list entry ID.
contentNormalized IPv4, IPv6, or CIDR value.
typeEntry address type.
commentOptional note associated with the entry.
confidenceConfidence assigned by a managed list, or null for custom lists.
created_atISO 8601 creation timestamp.
updated_atISO 8601 last-update timestamp.
ImportIPListEntriesRequest
Entries to normalize and add to the custom IP list.
IpListCreatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn IP list was added.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
IpListDeletedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn IP list was removed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
IpListEntryCreatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn entry was added to an IP list.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
IpListEntryDeletedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn entry was removed from an IP list.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
IpListEntryUpdatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn IP list entry changed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
IpListUpdatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn IP list was renamed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
LogWindowRequest
Anchor used to center the returned log window.
beforeNumber of matching events to retrieve before the anchor.
afterNumber of matching events to retrieve after the anchor.
ProxyRelease
versiontagurlRelease notes on GitHub.
is_latestWhether this is the newest release, the one manual upgrades install.
published_atISO 8601 timestamp of when the release was published.
rollout_starts_atISO 8601 timestamp of when the automatic rollout starts upgrading to this release.
ProxyRolloutPausedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn automatic proxy rollout paused after failed upgrades.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ProxyUpgrade
idFormatted upgrade ID.
statusrunning until the server reports the target version, which makes it succeeded. It is failed when the server did not report it in time.
sourceWhether someone started the upgrade or the automatic rollout did.
manual Started by someone, from the UI or the API. |
automatic Started by the automatic rollout. |
from_versionProxy version when the upgrade started.
target_versionProxy version the upgrade installs.
created_atISO 8601 timestamp of when the upgrade started.
finished_atISO 8601 timestamp of when the upgrade succeeded or failed.
ProxyUpgradeFailure
timeout The server did not report the target version in time. |
cancelled The server was deleted while the upgrade was running. |
ProxyUpgradeSource
manual Started by someone, from the UI or the API. |
automatic Started by the automatic rollout. |
QueryLogsRequest
fromInclusive beginning of the query range. Defaults to 24 hours before to.
toExclusive end of the query range. Defaults to the current time.
directionSort order for matching events.
limitMaximum number of events to return.
cursorOpaque cursor returned as meta.next_cursor by the previous page. Keep the time range, filters, and direction unchanged when continuing a query.
ResendWebhookEventRequest
endpointID of the endpoint to send the event to. It gets the event even when it did not receive it before, or does not subscribe to its type.
RotateWebhookSecretRequest
replace_previousRotate even though the secret from the last rotation still signs deliveries. That secret stops signing right away, receivers that only know it start rejecting deliveries.
Rule
idFormatted rule ID.
namepositionZero-based evaluation position. Lower positions are evaluated first.
action_idFormatted action ID, or null when the rule has no action.
Normalized recursive condition group evaluated by the rule.
Server scope controlling which proxies evaluate the rule.
created_atISO 8601 creation timestamp.
updated_atISO 8601 last-update timestamp.
RuleCreatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA rule was added.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
RuleDeletedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA rule was removed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
RuleUpdatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA rule changed or was disabled.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
SaveActionRequest
nameHuman-readable action name.
resultResult applied when a rule using this action matches. log and skip_log continue evaluation; skip_log leaves the request out of the logs unless another rule acts on it or the response status is 400 or higher.
status_codeHTTP status returned by results that produce a response.
messageResponse message returned by results that produce a response.
window_secondsRate-limit window in seconds. Required when result is rate_limit.
requests_per_windowRequests allowed during the rate-limit window. Required when result is rate_limit.
partition_byDimensions that receive independent rate-limit buckets. An empty list creates one bucket per rule. Null leaves the scope to the proxy: per client IP on current proxies, a rule-derived bucket shared by all clients on older proxies.
SaveIPListEntryRequest
contentIPv4, IPv6, or CIDR value.
commentOptional note associated with the entry.
SaveIPListRequest
nameHuman-readable IP-list name.
SaveRuleRequest
nameHuman-readable rule name.
Recursive condition group. Each group contains an AND or OR operator, a list of matches, and nested groups. Consult the rule capabilities endpoint for supported match types and operators.
Server scope controlling which proxies evaluate the rule.
action_idFormatted ID of an action owned by the authenticated team. Send null for a match-only rule.
positionZero-based evaluation position. Omit when creating to append the rule; omit when updating to retain its current position.
SaveServerRequest
nameHuman-readable proxy name.
deploymentWhether the proxy runs on a single host or as a fleet of instances sharing one key. Can only be set when creating the server.
default_hostnameDefault TLS hostname, or null to reject connections without a matching certificate.
cert_pathAbsolute path containing combined certificate files.
acme_pathAbsolute path to a Traefik ACME file.
nginx_config_pathAbsolute path to an NGINX configuration file.
allow_unattended_upgradesAllow upgrades initiated by FlowGuard.
auto_upgradesWhether the automatic rollout upgrades this server, or null to follow the team's setting. Omit it to keep the current value.
Protocol configuration applied by the proxy.
FG-Stream and FG-IPCountry headers the proxy adds to requests sent to the backend.
fail2ban_enabledEnable the host-level Fail2Ban integration.
Server
idFormatted server ID accepted by rule server scopes.
namedeploymentWhether the proxy runs on a single host or as a fleet of instances sharing one key.
live_instance_countNumber of proxy instances that reported in during the last 7 minutes.
versionCurrently reported FlowGuard proxy version.
heartbeat_statusHealth status calculated from the proxy's latest heartbeat.
config_up_to_dateWhether the proxy has loaded the latest desired configuration.
default_hostnameDefault TLS hostname, or null when unmatched connections are rejected.
cert_pathAbsolute path containing combined certificate files.
acme_pathAbsolute path to a Traefik ACME file.
nginx_config_pathAbsolute path to an NGINX configuration file.
allow_unattended_upgradesWhether FlowGuard may initiate proxy upgrades.
Proxy upgrades started from FlowGuard.
HTTP protocols served by the proxy.
FG-Stream and FG-IPCountry headers the proxy adds to requests sent to the backend.
fail2ban_enabledWhether the host-level Fail2Ban integration is enabled.
Rule features supported by the installed proxy version.
created_atISO 8601 creation timestamp.
updated_atISO 8601 last-update timestamp.
ServerCreatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server was added and waits for its proxy.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerDeletedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server was removed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerEnrolledEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server's proxy reported in for the first time.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerOfflineEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server's proxy stopped reporting in.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerOnlineEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn offline server's proxy reports in again.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerUpdatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server's name or settings changed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerUpgradeFailedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA proxy upgrade failed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerUpgradeStartedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA proxy upgrade started.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerUpgradeSucceededEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA proxy upgrade succeeded.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
SummarizeTrafficRequest
fromtobaselinesUpdateWebhookEndpointRequest
urlHTTPS URL that receives the events, it must resolve to a public address.
descriptionWhat the endpoint is for, shown in the dashboard. Null removes it.
eventsEvent types the endpoint receives, * for every event including types added later. Replaces the current list.
WebhookAttemptError
Why an attempt failed without a usable response, an attempt with a non-2xx response has no error.
timeout The endpoint did not answer within 15 seconds. |
connection The connection failed: DNS, refused, TLS. |
blocked The URL resolves to a private or reserved address. |
redirect The endpoint answered with a redirect, which is not followed. |
WebhookDelivery
idFormatted delivery ID.
endpoint_idID of the endpoint it is sent to.
event_idID of the event it sends.
event_typeType of the event it sends.
server.created A server was added and waits for its proxy. |
server.enrolled A server's proxy reported in for the first time. |
server.updated A server's name or settings changed. |
server.deleted A server was removed. |
server.offline A server's proxy stopped reporting in. |
server.online An offline server's proxy reports in again. |
server.upgrade_started A proxy upgrade started. |
server.upgrade_succeeded A proxy upgrade succeeded. |
server.upgrade_failed A proxy upgrade failed. |
proxy_rollout.paused An automatic proxy rollout paused after failed upgrades. |
rule.created A rule was added. |
rule.updated A rule changed or was disabled. |
rule.deleted A rule was removed. |
action.created An action was added. |
action.updated An action changed. |
action.deleted An action was removed. |
ip_list.created An IP list was added. |
ip_list.updated An IP list was renamed. |
ip_list.deleted An IP list was removed. |
ip_list_entry.created An entry was added to an IP list. |
ip_list_entry.updated An IP list entry changed. |
ip_list_entry.deleted An entry was removed from an IP list. |
webhook_endpoint.test A test event sent from the dashboard. |
statuspending Waiting for its first attempt or for a retry. |
succeeded The endpoint answered with a 2xx status. |
failed Every attempt failed. |
cancelled The endpoint was disabled or deleted before it succeeded. |
attemptsAttempts made so far, resends included.
next_attempt_atISO 8601 time the next automatic attempt is due, null when none is scheduled.
last_attempted_atISO 8601 time of the last attempt, null before the first.
last_response_statusHTTP status of the last response, null before the first attempt or when no response came.
created_atISO 8601 creation timestamp.
Every attempt with its request and response, oldest first. Only returned for a single delivery.
WebhookDeliveryAttempt
numberNumber of the attempt within its delivery, from 1.
manualWhether someone resent it, instead of an automatic attempt.
succeededWhether the endpoint answered with a 2xx status in time.
attempted_atISO 8601 time the request was sent.
duration_msHow long the request took, null when it could not be sent.
error_messageWhat went wrong, for people.
responseThe endpoint's response, null when none came.
WebhookDeliveryStatus
pending Waiting for its first attempt or for a retry. |
succeeded The endpoint answered with a 2xx status. |
failed Every attempt failed. |
cancelled The endpoint was disabled or deleted before it succeeded. |
WebhookEndpoint
idFormatted endpoint ID.
urlHTTPS URL that receives the events.
descriptionWhat the endpoint is for.
Event types the endpoint receives, * for every event including types added later.
statusWhether deliveries are sent. A disabled endpoint receives nothing until it is enabled again.
enabled Receives the events it subscribed to. |
disabled Receives nothing until someone enables it again, disabled_reason tells why. |
disabled_atISO 8601 time the endpoint was disabled, null while it is enabled.
failing_sinceISO 8601 time the endpoint started failing every delivery, null while deliveries succeed. It is disabled after five days.
secretSigning secret, only set in the response that creates the endpoint or rotates its secret, null otherwise. Store it with your other secrets.
previous_secret_expires_atISO 8601 time until which the secret from before the last rotation still signs deliveries next to the current one, null when only one secret signs.
created_atISO 8601 creation timestamp.
updated_atISO 8601 timestamp of the last change.
WebhookEndpointDisabledReason
manual Someone disabled it. |
failing Every delivery failed for five days, so it was disabled automatically. |
WebhookEndpointStatus
enabled Receives the events it subscribed to. |
disabled Receives nothing until someone enables it again, disabled_reason tells why. |
WebhookEndpointTestEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA test event sent from the dashboard.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
WebhookEvent
idFormatted event ID, the same as id in the payload and the webhook-id header.
typeEvent type.
server.created A server was added and waits for its proxy. |
server.enrolled A server's proxy reported in for the first time. |
server.updated A server's name or settings changed. |
server.deleted A server was removed. |
server.offline A server's proxy stopped reporting in. |
server.online An offline server's proxy reports in again. |
server.upgrade_started A proxy upgrade started. |
server.upgrade_succeeded A proxy upgrade succeeded. |
server.upgrade_failed A proxy upgrade failed. |
proxy_rollout.paused An automatic proxy rollout paused after failed upgrades. |
rule.created A rule was added. |
rule.updated A rule changed or was disabled. |
rule.deleted A rule was removed. |
action.created An action was added. |
action.updated An action changed. |
action.deleted An action was removed. |
ip_list.created An IP list was added. |
ip_list.updated An IP list was renamed. |
ip_list.deleted An IP list was removed. |
ip_list_entry.created An entry was added to an IP list. |
ip_list_entry.updated An IP list entry changed. |
ip_list_entry.deleted An entry was removed from an IP list. |
webhook_endpoint.test A test event sent from the dashboard. |
api_versionVersion of the payload format.
created_atISO 8601 time the event happened.
The body every delivery of the event sends, see the event's schema for its fields.
The event's deliveries, one per endpoint. Only returned for a single event.
WebhookEventType
server.created A server was added and waits for its proxy. |
server.enrolled A server's proxy reported in for the first time. |
server.updated A server's name or settings changed. |
server.deleted A server was removed. |
server.offline A server's proxy stopped reporting in. |
server.online An offline server's proxy reports in again. |
server.upgrade_started A proxy upgrade started. |
server.upgrade_succeeded A proxy upgrade succeeded. |
server.upgrade_failed A proxy upgrade failed. |
proxy_rollout.paused An automatic proxy rollout paused after failed upgrades. |
rule.created A rule was added. |
rule.updated A rule changed or was disabled. |
rule.deleted A rule was removed. |
action.created An action was added. |
action.updated An action changed. |
action.deleted An action was removed. |
ip_list.created An IP list was added. |
ip_list.updated An IP list was renamed. |
ip_list.deleted An IP list was removed. |
ip_list_entry.created An entry was added to an IP list. |
ip_list_entry.updated An IP list entry changed. |
ip_list_entry.deleted An entry was removed from an IP list. |
webhook_endpoint.test A test event sent from the dashboard. |
WebhookEventTypeDetails
typeEvent type, as type in the payload and in an endpoint's events.
server.created A server was added and waits for its proxy. |
server.enrolled A server's proxy reported in for the first time. |
server.updated A server's name or settings changed. |
server.deleted A server was removed. |
server.offline A server's proxy stopped reporting in. |
server.online An offline server's proxy reports in again. |
server.upgrade_started A proxy upgrade started. |
server.upgrade_succeeded A proxy upgrade succeeded. |
server.upgrade_failed A proxy upgrade failed. |
proxy_rollout.paused An automatic proxy rollout paused after failed upgrades. |
rule.created A rule was added. |
rule.updated A rule changed or was disabled. |
rule.deleted A rule was removed. |
action.created An action was added. |
action.updated An action changed. |
action.deleted An action was removed. |
ip_list.created An IP list was added. |
ip_list.updated An IP list was renamed. |
ip_list.deleted An IP list was removed. |
ip_list_entry.created An entry was added to an IP list. |
ip_list_entry.updated An IP list entry changed. |
ip_list_entry.deleted An entry was removed from an IP list. |
webhook_endpoint.test A test event sent from the dashboard. |
groupHeading the event is listed under in the dashboard.
descriptionWhen the event is sent.