Skip to main content

Flowg API

auth

Change Password

Change Password of current user

Authorizations:
jwtAuthpatAuth
Request Body schema: application/json
new_password
string
old_password
string

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Authenticate

Create new Session cookie

Request Body schema: application/json
password
string
username
string

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true,
  • "token": "string"
}

Fetch current profile

Fetch the profile of the currently authenticated user

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "permissions": {
    },
  • "success": true,
  • "user": {
    }
}

backup

Backup Authentication Database

Download a full snapshot of the authentication database.

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "code": 0,
  • "context": {
    },
  • "error": "string",
  • "status": "string"
}

Backup Configuration

Download a full snapshot of the configuration database.

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "code": 0,
  • "context": {
    },
  • "error": "string",
  • "status": "string"
}

Backup Logs Database

Download a full snapshot of the logs database.

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "code": 0,
  • "context": {
    },
  • "error": "string",
  • "status": "string"
}

Restore Authentication Database

Upload a full snapshot of the authentication database.

Authorizations:
jwtAuthpatAuth
Request Body schema: multipart/form-data
backup
string <binary> <application/octet-stream> (MultipartFile)

Responses

Response samples

Content type
application/json
{
  • "success": true
}

Restore Configuration

Upload a full snapshot of the configuration database.

Authorizations:
jwtAuthpatAuth
Request Body schema: multipart/form-data
backup
string <binary> <application/octet-stream> (MultipartFile)

Responses

Response samples

Content type
application/json
{
  • "success": true
}

Restore Logs Database

Upload a full snapshot of the logs database.

Authorizations:
jwtAuthpatAuth
Request Body schema: multipart/form-data
backup
string <binary> <application/octet-stream> (MultipartFile)

Responses

Response samples

Content type
application/json
{
  • "success": true
}

forwarders

List Forwarders

List forwarders

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "forwarders": [
    ],
  • "success": true
}

Get Forwarder

Get forwarder

Authorizations:
jwtAuthpatAuth
path Parameters
forwarder
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "forwarder": {
    },
  • "success": true
}

Save Forwarder

Save forwarder

Authorizations:
jwtAuthpatAuth
path Parameters
forwarder
required
string non-empty
Request Body schema: application/json
object (ModelsForwarderV2)
object or object or object (ModelsForwarderConfigV2)
version
integer
Default: 2

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Delete Forwarder

Delete forwarder

Authorizations:
jwtAuthpatAuth
path Parameters
forwarder
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "success": true
}

pipelines

List Pipelines

List pipelines

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "pipelines": [
    ],
  • "success": true
}

Get Pipeline

Get pipeline

Authorizations:
jwtAuthpatAuth
path Parameters
pipeline
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "flow": {
    },
  • "success": true
}

Save Pipeline

Save pipeline

Authorizations:
jwtAuthpatAuth
path Parameters
pipeline
required
string non-empty
Request Body schema: application/json
object (ModelsFlowGraphV2)
Array of objects or null (ModelsFlowEdgeV2)
Array of objects or null (ModelsFlowNodeV2)
version
integer
Default: 2

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Delete Pipeline

Delete pipeline

Authorizations:
jwtAuthpatAuth
path Parameters
pipeline
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "success": true
}

Ingest Log

Run log record through a pipeline

Authorizations:
jwtAuthpatAuth
path Parameters
pipeline
required
string non-empty
Request Body schema: application/json
object or null
property name*
additional property
string

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

acls

List Roles

List known roles

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "roles": [
    ],
  • "success": true
}

Save Role

Save Role

Authorizations:
jwtAuthpatAuth
path Parameters
role
required
string non-empty
Request Body schema: application/json
scopes
Array of strings or null

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Delete Role

Delete Role

Authorizations:
jwtAuthpatAuth
path Parameters
role
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "success": true
}

Create Token

Create a new Personal Access Token for the current user

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "token": "string",
  • "token_uuid": "string"
}

List Tokens

List Personal Access Token UUIDs for the current user

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "token_uuids": [
    ]
}

Delete Token

Delete Personal Access Token UUIDs for the current user

Authorizations:
jwtAuthpatAuth
path Parameters
token-uuid
required
string <uuid>

Responses

Response samples

Content type
application/json
{
  • "success": true
}

List Users

List known users

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "users": [
    ]
}

Save User

Save User

Authorizations:
jwtAuthpatAuth
path Parameters
user
required
string non-empty
Request Body schema: application/json
password
string
roles
Array of strings or null

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Delete User

Delete User

Authorizations:
jwtAuthpatAuth
path Parameters
user
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "success": true
}

streams

List Streams

List known stream

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "streams": {
    },
  • "success": true
}

Get Stream Configuration

Get or Create Stream configuration

Authorizations:
jwtAuthpatAuth
path Parameters
stream
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "config": {
    },
  • "success": true
}

Configure Stream

Configure Stream retention and indexes

Authorizations:
jwtAuthpatAuth
path Parameters
stream
required
string non-empty
Request Body schema: application/json
object (ModelsStreamConfig)
indexed_fields
Array of strings or null
size
integer <int64>

Maximum size in MB, 0 to disable

ttl
integer <int64>

TTL in seconds, 0 to disable

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Purge Stream

Remove all logs (and indexes) related to a stream

Authorizations:
jwtAuthpatAuth
path Parameters
stream
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "success": true
}

List Stream Fields

List known fields for a stream

Authorizations:
jwtAuthpatAuth
path Parameters
stream
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "fields": [
    ],
  • "success": true
}

Query Stream

Query logs from a stream

Authorizations:
jwtAuthpatAuth
path Parameters
stream
required
string non-empty
query Parameters
from
required
string <date-time>
to
required
string <date-time>
filter
null or string

Responses

Response samples

Content type
application/json
{
  • "records": [
    ],
  • "success": true
}

Watch Logs

Server-Sent Events endpoint to watch logs in real time.

Authorizations:
jwtAuthpatAuth
path Parameters
stream
required
string non-empty
query Parameters
filter
null or string

Responses

Response samples

Content type
application/json
{
  • "code": 0,
  • "context": {
    },
  • "error": "string",
  • "status": "string"
}

tests

Test Forwarder

Test forwarder

Authorizations:
jwtAuthpatAuth
path Parameters
forwarder
required
string non-empty
Request Body schema: application/json
object or null
property name*
additional property
string

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Test Transformer

Test Transformer

Authorizations:
jwtAuthpatAuth
Request Body schema: application/json
code
string
object or null

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "record": {
    },
  • "success": true
}

transformers

List Transformers

List Transformers

Authorizations:
jwtAuthpatAuth

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "transformers": [
    ]
}

Get Transformer

Get Transformer

Authorizations:
jwtAuthpatAuth
path Parameters
transformer
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "script": "string",
  • "success": true
}

Save Transformer

Save Transformer

Authorizations:
jwtAuthpatAuth
path Parameters
transformer
required
string non-empty
Request Body schema: application/json
script
string

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "success": true
}

Delete Transformer

Delete Transformer

Authorizations:
jwtAuthpatAuth
path Parameters
transformer
required
string non-empty

Responses

Response samples

Content type
application/json
{
  • "success": true
}