Chief Tools Logo
FlowGuard API v1

Endpoints for discovering the FlowGuard proxies available to rules.


List servers

GET
https://flowguard.network/api/v1
/servers
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)

List the authenticated team's FlowGuard proxies and their rule capabilities. Use the formatted server IDs when creating an include or exclude rule scope. Proxy credentials and configuration are not exposed.

List servers › query Parameters

query
​string | null · maxLength: 255

Search results by name.

per_page
​integer · min: 1 · max: 100

Number of results per page.

Default: 50
page
​integer · min: 1

Page number to return.

Default: 1

List servers › Responses

Array of Server

​Server[] · required

Create a server

POST
https://flowguard.network/api/v1
/servers
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)

Create a FlowGuard proxy record for the authenticated team. Setup credentials remain available only in the web application.

Create a server › Request Body

name
​string · maxLength: 255 · required

Human-readable proxy name.

Example: Synthetic edge proxy
deployment
​string · enum

Whether the proxy runs on a single host or as a fleet of instances sharing one key. Can only be set when creating the server.

Enum values:
host
fleet
default_hostname
​string | null · maxLength: 255

Default TLS hostname, or null to reject connections without a matching certificate.

cert_path
​string | null · maxLength: 255

Absolute path containing combined certificate files.

acme_path
​string | null · maxLength: 255

Absolute path to a Traefik ACME file.

nginx_config_path
​string | null · maxLength: 255

Absolute path to an NGINX configuration file.

allow_unattended_upgrades
​boolean

Allow upgrades initiated by FlowGuard.

​object

Protocol configuration applied by the proxy.

​object

FG-Stream and FG-IPCountry headers the proxy adds to requests sent to the backend.

fail2ban_enabled
​boolean

Enable the host-level Fail2Ban integration.

Create a server › Responses

The server was created.

​Server · required

Show a server

GET
https://flowguard.network/api/v1
/servers/{server}
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)

Show one FlowGuard proxy belonging to the authenticated team, including its desired configuration, health, and capabilities. Credentials are never exposed.

Show a server › path Parameters

server
​string · required

Show a server › Responses

Server

​Server · required

Update a server

PATCH
https://flowguard.network/api/v1
/servers/{server}
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)

Update a FlowGuard proxy belonging to the authenticated team. Omitted fields retain their current values, and null clears nullable path and hostname fields.

Update a server › path Parameters

server
​string · required

Update a server › Request Body

name
​string · maxLength: 255 · required

Human-readable proxy name.

Example: Synthetic edge proxy
deployment
​string · enum

Whether the proxy runs on a single host or as a fleet of instances sharing one key. Can only be set when creating the server.

Enum values:
host
fleet
default_hostname
​string | null · maxLength: 255

Default TLS hostname, or null to reject connections without a matching certificate.

cert_path
​string | null · maxLength: 255

Absolute path containing combined certificate files.

acme_path
​string | null · maxLength: 255

Absolute path to a Traefik ACME file.

nginx_config_path
​string | null · maxLength: 255

Absolute path to an NGINX configuration file.

allow_unattended_upgrades
​boolean

Allow upgrades initiated by FlowGuard.

​object

Protocol configuration applied by the proxy.

​object

FG-Stream and FG-IPCountry headers the proxy adds to requests sent to the backend.

fail2ban_enabled
​boolean

Enable the host-level Fail2Ban integration.

Update a server › Responses

Server

​Server · required

Delete a server

DELETE
https://flowguard.network/api/v1
/servers/{server}
OpenID Connect
or
Bearer (ctp_*)
or
Bearer (ctt_*)

Delete a FlowGuard proxy record belonging to the authenticated team. The proxy installation must be removed separately from its host.

Delete a server › path Parameters

server
​string · required

Delete a server › Responses

The server was deleted.

string