/svix-streaming | Type: Application | PCID required: Yes
Tools
svix_streaming_v1_authentication_get_stream_poller_token
Get Poller Token Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
svix_streaming_v1_authentication_rotate_stream_poller_token
Rotate Poller Token Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
expiry | integer | No | — | How long the token will be valid for, in seconds. Can be up to 31,536,000 seconds (1 year). |
oldTokenExpiry | integer | No | — | Updates the previous token’s expiration, in seconds. If set to 0, the old token will immediately be revoked. Must be between 0 and 86,400 seconds (1 day). Defaults to 300 seconds (5 minutes). |
svix_streaming_v1_authentication_stream_expire_all
Stream Expire All Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
expiry | integer | No | — | How many seconds until the old key is expired. |
sessionIds | string[] | No | — | An optional list of session ids. If any session ids are specified, only Stream tokens created with that session id will be expired. |
svix_streaming_v1_authentication_stream_logout
Stream Logoutsvix_streaming_v1_authentication_stream_portal_access
Get Stream Portal Access Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
expiry | integer | No | — | How long the token will be valid for, in seconds. Valid values are between 1 hour and 7 days. The default is 7 days. |
featureFlags | string[] | No | — | The set of feature flags the created token will have access to. |
sessionId | string | No | — | An optional session ID to attach to the token. When expiring tokens with “Expire All”, you can include the session ID to only expire tokens that were created with that session ID. |
svix_streaming_v1_streaming_event_type_create
Create Stream Event Type Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
archived | boolean | No | — | The archived value |
deprecated | boolean | No | — | The deprecated value |
description | string | No | — | The description value |
featureFlags | string[] | No | — | Feature Flags |
name | string | Yes | — | The event type’s name |
svix_streaming_v1_streaming_event_type_delete
Delete Stream Event Type Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | The event type’s name |
expunge | boolean | No | — | By default, event types are archived when “deleted”. With this flag, they are deleted entirely. |
svix_streaming_v1_streaming_event_type_get
Get Stream Event Type Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | The event type’s name |
svix_streaming_v1_streaming_event_type_list
List Stream Event Types Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | — | Limit the number of returned items |
iterator | string | No | — | The iterator returned from a prior invocation |
order | string | No | — | The sorting order of the returned items |
include_archived | boolean | No | — | Include archived (deleted but not expunged) items in the response. |
svix_streaming_v1_streaming_event_type_patch
Patch Stream Event Type Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | The event type’s name |
archived | boolean | No | — | The archived value |
deprecated | boolean | No | — | The deprecated value |
description | string | No | — | The description value |
featureFlags | string[] | No | — | Feature Flags |
svix_streaming_v1_streaming_event_type_update
Update Stream Event Type Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | The event type’s name |
archived | boolean | No | — | The archived value |
deprecated | boolean | No | — | The deprecated value |
description | string | No | — | The description value |
featureFlags | string[] | No | — | Feature Flags |
svix_streaming_v1_streaming_events_create
Create Events Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
events | object[] | Yes | — | The events value |
stream | object | No | — | The stream value |
svix_streaming_v1_streaming_events_get
Poller Sink Stream Events Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
limit | integer | No | — | Limit the number of returned items |
iterator | string | No | — | The iterator returned from a prior invocation |
after | string | No | — | The after value |
svix_streaming_v1_streaming_sink_create
Create Sink Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
batchSize | integer | No | — | How many events will be batched in a request to the Sink. |
eventTypes | string[] | No | — | A list of event types that filter which events are dispatched to the Sink. An empty list (or null) will not filter out any events. |
maxWaitSecs | integer | No | — | How long to wait before a batch of events is sent, if the batchSize is not reached. For example, with a batchSize of 100 and maxWaitSecs of 10, we will send a request after 10 seconds or 100 events, whichever comes first. Note that we will never send an empty batch of events to the Sink. |
metadata | object | No | — | The metadata value |
status | string | No | — | The status value |
uid | string | No | — | An optional unique identifier for the sink. |
svix_streaming_v1_streaming_sink_delete
Delete Sink Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
svix_streaming_v1_streaming_sink_get
Get Sink Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
svix_streaming_v1_streaming_sink_get_secret
Get Sink Secret Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
svix_streaming_v1_streaming_sink_headers_get
Get Sink Headers Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
svix_streaming_v1_streaming_sink_headers_patch
Patch Sink Headers Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
headers | object | Yes | — | The headers value |
svix_streaming_v1_streaming_sink_list
List Sinks Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
limit | integer | No | — | Limit the number of returned items |
iterator | string | No | — | The iterator returned from a prior invocation |
order | string | No | — | The sorting order of the returned items |
svix_streaming_v1_streaming_sink_patch
Patch Sink Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
batchSize | integer | No | — | Batch Size |
eventTypes | string[] | No | — | Event Types |
maxWaitSecs | integer | No | — | Max Wait Secs |
metadata | object | No | — | The metadata value |
status | string | No | — | The status value |
uid | string | No | — | The StreamSink’s UID. |
svix_streaming_v1_streaming_sink_rotate_secret
Rotate Sink Secret Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
key | string | No | — | The endpoint’s verification secret. Format: base64 encoded random bytes optionally prefixed with whsec_. It is recommended to not set this and let the server generate the secret. |
svix_streaming_v1_streaming_sink_transformation_get
Get Sink Transformation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
svix_streaming_v1_streaming_sink_transformation_partial_update
Set Sink Transformation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
code | string | No | — | The code value |
svix_streaming_v1_streaming_sink_update
Update Sink Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
sink_id | string | Yes | — | The StreamSink’s ID or UID. |
batchSize | integer | No | — | How many events will be batched in a request to the Sink. |
eventTypes | string[] | No | — | A list of event types that filter which events are dispatched to the Sink. An empty list (or null) will not filter out any events. |
maxWaitSecs | integer | No | — | How long to wait before a batch of events is sent, if the batchSize is not reached. For example, with a batchSize of 100 and maxWaitSecs of 10, we will send a request after 10 seconds or 100 events, whichever comes first. Note that we will never send an empty batch of events to the Sink. |
metadata | object | No | — | The metadata value |
status | string | No | — | The status value |
uid | string | No | — | An optional unique identifier for the sink. |
svix_streaming_v1_streaming_stream_create
Create Stream Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
metadata | object | No | — | The metadata value |
name | string | Yes | — | The stream’s name. |
uid | string | No | — | An optional unique identifier for the stream. |
svix_streaming_v1_streaming_stream_delete
Delete Stream Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
svix_streaming_v1_streaming_stream_get
Get Stream Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
svix_streaming_v1_streaming_stream_list
List Streams Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | — | Limit the number of returned items |
iterator | string | No | — | The iterator returned from a prior invocation |
order | string | No | — | The sorting order of the returned items |
svix_streaming_v1_streaming_stream_patch
Patch Stream Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
description | string | No | — | The Stream’s description. |
metadata | object | No | — | The metadata value |
uid | string | No | — | An optional unique identifier for the stream. |
svix_streaming_v1_streaming_stream_update
Update Stream Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
stream_id | string | Yes | — | The Stream’s ID or UID. |
metadata | object | No | — | The metadata value |
name | string | Yes | — | The stream’s name. |
uid | string | No | — | An optional unique identifier for the stream. |

