Pipelines
Launch a new pipeline
Creates a pipeline and prepares it for interactive use. If the pipeline does not end with a sink, Tenzir adds an implicit output stream and returns the created pipeline ID. If the pipeline already has a sink, Tenzir returns deployable: true so the caller can deploy it explicitly.
post/pipeline/launch
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",
"name": "interactive-query",
"hidden": true,
"ttl": "5min",
"autostart": {
"created": true
},
"autodelete": {
"failed": true
},
"retry_delay": "500ms",
"cache_id": "4ada2434-32asfe2s",
"cache_capacity": 4000,
"cache_read_timeout": "1min",
"cache_write_timeout": "1h",
"serve_id": "4ada2434-32asfe2s",
"serve_buffer_size": 4000
}Response
The launch request was accepted.
Example response
{
"deployable": true
}Changes
No recorded changes to this operation across all 3 revisions of this API.