Pipelines
Create a new pipeline
Creates a pipeline.
If autostart.created is true, Tenzir sends the response after the pipeline starts successfully. If startup fails, Tenzir discards the pipeline and returns the observed diagnostics.
post/pipeline/create
Request
- Base URLhttps://tenzir.com/api/v0
- AuthAPI key in header X-Tenzir-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"id": "08446737-da9b-4787-8599-97d85c48c3bb",
"definition": "export | where foo | publish /bar",
"name": "zeek-monitoring-pipeline",
"ttl": "5min",
"autostart": {
"created": true
},
"autodelete": {
"failed": true
},
"retry_delay": "500ms",
"unstoppable": true
}Response
The pipeline was created.
Example response
{
"id": "4c7f2b11-6169-4d1b-89b4-4fc0a68b3d4a"
}Changes
No recorded changes to this operation across all 3 revisions of this API.