POST /v2/streaming/data/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}/channels/ELASTIC/rows
restnot supportedData loading & unloadingElastic Channels don’t require a separate open-channel operation. Send a batch of NDJSON rows directly to a table or to the implicit ELASTIC channel of a pipe:
Syntax
POST /v2/streaming/data/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}/channels/ELASTIC/rows
Parameters
| Name | In | Required | Description |
|---|---|---|---|
databaseName | path | required | Database name, case-insensitive. |
schemaName | path | required | Schema name, case-insensitive. |
pipeName | path | required | The target table for the default pipe, or the custom pipe name. |
rows | body | required | NDJSON rows. The maximum Elastic request payload is 4 MB (the payload size sent over the network, after compression if used). |
requestId | query | optional | A UUID that tracks the request. Use the same value on every retry of the same rowset (batch of rows), and generate a new UUID for each distinct rowset. |
retryCount | query | optional | The retry attempt number, starting at 0. Increment it for each retry. A value greater than 0 signals that duplicate rows are possible; it doesn’t prove that a duplicate occurred. |
Authorization | header | required | Authentication token |
X-Snowflake-Authorization-Token-Type | header | optional | JWT/OAuth |
Content-Type (required when the request has a body) | header | required | Media type of the request body. Use application/x-ndjson for append-rows requests. Use application/json for open-channel, drop-channel, and bulk channel-status bodies. Use application/x-www-form-urlencoded for the scoped-token exchange. |
Content-Encoding | header | optional | Specifies the compression format of the payload. Supported: gzip, zstd. |
User-Agent | header | optional | Identifies the client application. Recommended format: SnowpipeStreamingSDK/{version} ({platform}) {LANGUAGE}/{language_version} (app={partner-name}). Example: SnowpipeStreamingSDK/1.0.0 (Linux amd64) PYTHON/3.11.0 (app=MyPartnerApp). |
Usage notes
- The table endpoint is only for Elastic Channels. On the first request, Snowflake creates or resolves the managed default pipe named <tableName>-STREAMING. Each streaming pipe includes an implicit ELASTIC channel, which the request uses without a separate open-channel operation. Use the pipe endpoint for an Elastic Channel on a custom pipe with in-flight transformations or pre-clustering.
- Send a non-empty NDJSON rowset. Elastic requests must not include continuationToken, offsetToken, startOffsetToken, or endOffsetToken.
Response
A successful HTTP 200 response is the durable acknowledgement: Snowflake has durably buffered the request payload. It doesn’t mean that rows are immediately queryable in the target table. Row-level processing errors are persisted to the error table when error logging is enabled. { "message": "OK" } Elastic Channels provide at-least-once delivery without an ordering guarantee. Retrying after an ambiguous response can produce duplicate rows. Include a stable event identifier in the row payload and reconcile or deduplicate downstream when duplicates matter.