Pipeline output
Read multiple pipeline outputs
Changed onReads events from multiple existing pipeline output streams. By default, the endpoint uses long polling (timeout: 5s) and returns as soon as at least one event is available (min_events: 1).
post/serve-multi
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
{
"requests": [
{
"serve_id": "query-1",
"continuation_token": "340ce2j",
"schema": "exact"
}
],
"max_events": 1024,
"min_events": 1,
"timeout": "200ms",
"schema": "exact"
}Response
The response contains one entry for each requested output stream.
object required
Changes
- info
added the new
name_and_typeenum value to the request property// - info
added the new
name_and_typeenum value to the request property - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- breaking
removed the enum value
legacyof the request property// - breaking
removed the enum value
legacyof the request property - info
the
request property default value changed fromlegacytoexact
- breaking