Applications
Create a data flow
Declare a data flow on the application. Either `sourceId` or `targetId` must be the application in the path — the request is rejected with a 400 otherwise.
Required scope applications:edit
/applications/{id}/flowsAuthorizations
AuthorizationstringrequiredAuthorization header carrying a workspace API key, as “Bearer kbn_live_…”. The X-Api-Key header is accepted equivalently.
Path parameters
idstring<uuid>requiredIdentifier of the application. Must belong to the workspace the key is bound to.
Bodyapplication/json
sourceIdstring<uuid>Application emitting the flow.
targetIdstring<uuid>Application receiving the flow.
dataIdsstring<uuid>[]Data objects carried by the flow.
commentstringFree-text note describing the flow.
protocolstringTransport protocol carrying the flow.
formatstringPayload format exchanged.
exchangeFrequencystringHow often the exchange runs.
portTypestringKind of port used.
portintegerNetwork port used by the flow.
encryptedbooleanWhether the flow is encrypted in transit.
documentIdsstring<uuid>[]Documents attached to the flow.
middlewaresobject[]Middlewares the flow transits through, in order.
Response201 · application/json
The flow was created.
idstring<uuid>requiredUnique identifier of the data flow.
commentstring | nullFree-text note describing the flow.
protocolstring | nullTransport protocol carrying the flow.
formatstring | nullPayload format exchanged.
exchangeFrequencystring | nullHow often the exchange runs.
portTypestring | nullKind of port used.
portinteger | nullNetwork port used by the flow.
encryptedboolean | nullWhether the flow is encrypted in transit.
sourceobjectrequiredApplication the flow originates from.
targetobjectrequiredApplication the flow is delivered to.
dataCountintegerNumber of data objects carried by the flow.
documentCountintegerNumber of documents attached to the flow.
middlewareCountintegerNumber of middlewares the flow transits through.