API Reference
Base URL: https://flowtriq.com · All endpoints return JSON · All timestamps are UTC ISO 8601
Deploy API
Register Node
Register a new node using a workspace deploy token. Returns the node's API key and UUID. See Mass Deployment for the full guide and one-liner deploy command.
| Header | Value |
|---|---|
| Authorization* | Bearer YOUR_DEPLOY_TOKEN |
| Content-Type | application/json |
| Body Parameter | Required | Description |
|---|---|---|
| name | Yes | Display name for the node |
| ip | Yes | Public IP address of the server |
| location | No | Region or datacenter label |
| os | No | Operating system identifier |
| interface | No | Network interface to monitor (default: eth0) |
| HTTP | Error | Meaning |
|---|---|---|
| 401 | Invalid deploy token | Token is wrong, revoked, or missing |
| 400 | Node name / IP required | Missing required fields |
| 402 | Payment failed | No active subscription or payment issue |
| 409 | Duplicate name | A node with that name already exists |
REST API v1
The REST API provides programmatic access to your workspace data. Use it to build integrations, embed Flowtriq into hosting panels, MSP tools, and NOC platforms.
Base URL: https://flowtriq.com/api/v1 · Auth: Authorization: Bearer YOUR_DEPLOY_TOKEN
List Nodes
Returns all active nodes in your workspace. Supports pagination and status filtering.
| Query Parameter | Default | Description |
|---|---|---|
| limit | 50 | Results per page (1-100) |
| offset | 0 | Pagination offset |
| status | Filter: online, offline, attack, elevated |
Get Node
Returns detailed info for a single node, including baseline traffic stats and protocol breakdown.
Create Node
Creates a new node. Same functionality as POST /api/deploy but returns the full node object.
| Body | Required | Description |
|---|---|---|
| name | Yes | Display name (max 100 chars) |
| ip | Yes | Public IPv4 or IPv6 address |
| location | No | Datacenter / region label |
| os | No | Operating system |
| interface | No | Network interface (default: eth0) |
| priority | No | production, staging, development |
Update Node
Update node properties. Only include the fields you want to change.
Delete Node
Soft-deletes a node. The node is deactivated and stops appearing in your dashboard. This cannot be undone via the API.
List Incidents
Returns incidents across all nodes. Supports filtering by status, severity, and node.
| Query Parameter | Default | Description |
|---|---|---|
| limit | 50 | Results per page (1-100) |
| offset | 0 | Pagination offset |
| status | Filter: active, resolved, false_positive | |
| severity | Filter: critical, high, medium, low | |
| node | Filter by node UUID |
Get Incident
Returns full incident detail including protocol breakdown, geographic origin data, and AI summary.
List Notification Channels
Returns all notification channels configured in your workspace.
Create Notification Channel
| Body | Required | Description |
|---|---|---|
| name | Yes | Channel display name |
| type | Yes | discord, slack, email, sms, pagerduty, opsgenie, webhook, teams, telegram, grafana, datadog, prometheus |
| config | Yes | Type-specific configuration object (e.g. {"webhook_url":"..."}) |
Delete Notification Channel
Permanently deletes a notification channel.
Workspace Info
Returns workspace metadata including plan, node count, and subscription status.
Analytics Summary
Returns aggregated incident analytics for the specified time range.
| Query Parameter | Default | Description |
|---|---|---|
| range | 30d | Time range: 7d, 30d, 90d, 365d |
Status Overview
Quick health check of all your nodes, ideal for building status pages or NOC dashboards.
Agent API
The agent API at https://flowtriq.com/api/v1/agent/* is used by ftagent to send metrics, report incidents, upload PCAPs, and receive configuration. See Agent API Reference for full endpoint documentation.
This API is not intended for direct use; the ftagent handles all communication automatically once configured.
Health Check
Returns system health status. No authentication required.
Dashboard APIs
The dashboard uses session-authenticated API endpoints at /api/dash/* for live metrics, PCAP management, workspace operations, and more. These endpoints require an active dashboard session and are not intended for external use.