Skip to main content
Server path: /svix-streaming | Type: Application | PCID required: Yes

Tools

ToolDescription
svix_streaming_v1_authentication_get_stream_poller_tokenGet Poller Token
svix_streaming_v1_authentication_rotate_stream_poller_tokenRotate Poller Token
svix_streaming_v1_authentication_stream_expire_allStream Expire All
svix_streaming_v1_authentication_stream_logoutStream Logout
svix_streaming_v1_authentication_stream_portal_accessGet Stream Portal Access
svix_streaming_v1_streaming_event_type_createCreate Stream Event Type
svix_streaming_v1_streaming_event_type_deleteDelete Stream Event Type
svix_streaming_v1_streaming_event_type_getGet Stream Event Type
svix_streaming_v1_streaming_event_type_listList Stream Event Types
svix_streaming_v1_streaming_event_type_patchPatch Stream Event Type
svix_streaming_v1_streaming_event_type_updateUpdate Stream Event Type
svix_streaming_v1_streaming_events_createCreate Events
svix_streaming_v1_streaming_events_getPoller Sink Stream Events
svix_streaming_v1_streaming_sink_createCreate Sink
svix_streaming_v1_streaming_sink_deleteDelete Sink
svix_streaming_v1_streaming_sink_getGet Sink
svix_streaming_v1_streaming_sink_get_secretGet Sink Secret
svix_streaming_v1_streaming_sink_headers_getGet Sink Headers
svix_streaming_v1_streaming_sink_headers_patchPatch Sink Headers
svix_streaming_v1_streaming_sink_listList Sinks
svix_streaming_v1_streaming_sink_patchPatch Sink
svix_streaming_v1_streaming_sink_rotate_secretRotate Sink Secret
svix_streaming_v1_streaming_sink_transformation_getGet Sink Transformation
svix_streaming_v1_streaming_sink_transformation_partial_updateSet Sink Transformation
svix_streaming_v1_streaming_sink_updateUpdate Sink
svix_streaming_v1_streaming_stream_createCreate Stream
svix_streaming_v1_streaming_stream_deleteDelete Stream
svix_streaming_v1_streaming_stream_getGet Stream
svix_streaming_v1_streaming_stream_listList Streams
svix_streaming_v1_streaming_stream_patchPatch Stream
svix_streaming_v1_streaming_stream_updateUpdate Stream

svix_streaming_v1_authentication_get_stream_poller_token

Get Poller Token Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.

svix_streaming_v1_authentication_rotate_stream_poller_token

Rotate Poller Token Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.
expiryintegerNoHow long the token will be valid for, in seconds. Can be up to 31,536,000 seconds (1 year).
oldTokenExpiryintegerNoUpdates 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:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
expiryintegerNoHow many seconds until the old key is expired.
sessionIdsstring[]NoAn 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 Logout

svix_streaming_v1_authentication_stream_portal_access

Get Stream Portal Access Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
expiryintegerNoHow long the token will be valid for, in seconds. Valid values are between 1 hour and 7 days. The default is 7 days.
featureFlagsstring[]NoThe set of feature flags the created token will have access to.
sessionIdstringNoAn 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:
ParameterTypeRequiredDefaultDescription
archivedbooleanNoThe archived value
deprecatedbooleanNoThe deprecated value
descriptionstringNoThe description value
featureFlagsstring[]NoFeature Flags
namestringYesThe event type’s name

svix_streaming_v1_streaming_event_type_delete

Delete Stream Event Type Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe event type’s name
expungebooleanNoBy 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:
ParameterTypeRequiredDefaultDescription
namestringYesThe event type’s name

svix_streaming_v1_streaming_event_type_list

List Stream Event Types Parameters:
ParameterTypeRequiredDefaultDescription
limitintegerNoLimit the number of returned items
iteratorstringNoThe iterator returned from a prior invocation
orderstringNoThe sorting order of the returned items
include_archivedbooleanNoInclude archived (deleted but not expunged) items in the response.

svix_streaming_v1_streaming_event_type_patch

Patch Stream Event Type Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe event type’s name
archivedbooleanNoThe archived value
deprecatedbooleanNoThe deprecated value
descriptionstringNoThe description value
featureFlagsstring[]NoFeature Flags

svix_streaming_v1_streaming_event_type_update

Update Stream Event Type Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe event type’s name
archivedbooleanNoThe archived value
deprecatedbooleanNoThe deprecated value
descriptionstringNoThe description value
featureFlagsstring[]NoFeature Flags

svix_streaming_v1_streaming_events_create

Create Events Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
eventsobject[]YesThe events value
streamobjectNoThe stream value

svix_streaming_v1_streaming_events_get

Poller Sink Stream Events Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.
limitintegerNoLimit the number of returned items
iteratorstringNoThe iterator returned from a prior invocation
afterstringNoThe after value

svix_streaming_v1_streaming_sink_create

Create Sink Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
batchSizeintegerNoHow many events will be batched in a request to the Sink.
eventTypesstring[]NoA list of event types that filter which events are dispatched to the Sink. An empty list (or null) will not filter out any events.
maxWaitSecsintegerNoHow 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.
metadataobjectNoThe metadata value
statusstringNoThe status value
uidstringNoAn optional unique identifier for the sink.

svix_streaming_v1_streaming_sink_delete

Delete Sink Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.

svix_streaming_v1_streaming_sink_get

Get Sink Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.

svix_streaming_v1_streaming_sink_get_secret

Get Sink Secret Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.

svix_streaming_v1_streaming_sink_headers_get

Get Sink Headers Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.

svix_streaming_v1_streaming_sink_headers_patch

Patch Sink Headers Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.
headersobjectYesThe headers value

svix_streaming_v1_streaming_sink_list

List Sinks Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
limitintegerNoLimit the number of returned items
iteratorstringNoThe iterator returned from a prior invocation
orderstringNoThe sorting order of the returned items

svix_streaming_v1_streaming_sink_patch

Patch Sink Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.
batchSizeintegerNoBatch Size
eventTypesstring[]NoEvent Types
maxWaitSecsintegerNoMax Wait Secs
metadataobjectNoThe metadata value
statusstringNoThe status value
uidstringNoThe StreamSink’s UID.

svix_streaming_v1_streaming_sink_rotate_secret

Rotate Sink Secret Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.
keystringNoThe 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:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.

svix_streaming_v1_streaming_sink_transformation_partial_update

Set Sink Transformation Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.
codestringNoThe code value

svix_streaming_v1_streaming_sink_update

Update Sink Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
sink_idstringYesThe StreamSink’s ID or UID.
batchSizeintegerNoHow many events will be batched in a request to the Sink.
eventTypesstring[]NoA list of event types that filter which events are dispatched to the Sink. An empty list (or null) will not filter out any events.
maxWaitSecsintegerNoHow 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.
metadataobjectNoThe metadata value
statusstringNoThe status value
uidstringNoAn optional unique identifier for the sink.

svix_streaming_v1_streaming_stream_create

Create Stream Parameters:
ParameterTypeRequiredDefaultDescription
metadataobjectNoThe metadata value
namestringYesThe stream’s name.
uidstringNoAn optional unique identifier for the stream.

svix_streaming_v1_streaming_stream_delete

Delete Stream Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.

svix_streaming_v1_streaming_stream_get

Get Stream Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.

svix_streaming_v1_streaming_stream_list

List Streams Parameters:
ParameterTypeRequiredDefaultDescription
limitintegerNoLimit the number of returned items
iteratorstringNoThe iterator returned from a prior invocation
orderstringNoThe sorting order of the returned items

svix_streaming_v1_streaming_stream_patch

Patch Stream Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
descriptionstringNoThe Stream’s description.
metadataobjectNoThe metadata value
uidstringNoAn optional unique identifier for the stream.

svix_streaming_v1_streaming_stream_update

Update Stream Parameters:
ParameterTypeRequiredDefaultDescription
stream_idstringYesThe Stream’s ID or UID.
metadataobjectNoThe metadata value
namestringYesThe stream’s name.
uidstringNoAn optional unique identifier for the stream.