Stream Triggers
Create a stream trigger
Creates a new stream trigger for data processing and routing. A stream trigger connects a data source to a target, enabling real-time data flow between components.
Usage Notes:
- The system automatically creates necessary import/export pairs
- Stream triggers define both source and target configurations
- The source configuration specifies where data originates
- The target configuration specifies where data should be delivered
- Response types can be Singleton (single response), Stream (continuous), or Chunked (paginated)
- Source and target types determine how data flows through the system
- The trigger is active immediately after creation
- Both synchronous and asynchronous data processing patterns are supported
post/trigger/stream
Request
- Base URLhttps://api.quiva.ai
- Auth
- HTTP bearer
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "my-stream-trigger",
"collection": "my-collection",
"description": "Stream data processing trigger",
"trigger_type": "stream"
}Response
Stream trigger created successfully
Example response
{
"body": {
"name": "my-stream-trigger",
"collection": "my-collection",
"description": "Stream data processing trigger",
"stream": "quiva-trigger-config",
"subject": "ms.trigger.stream.my-stream-trigger",
"trigger_type": "stream",
"type": "stream-trigger"
},
"status_code": 201
}Changes
No recorded changes to this operation across all 10 revisions of this API.