Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference
Overview
Getting Started
Pipeline Authoring
    Pipeline Spec OverviewConnections
    Sources
    Transforms
    Destinations
      DestinationsFile System DestinationsObject Storage DestinationsJDBC DestinationsNoSQL DestinationsStream DestinationsAPI Destinations
    Execution Settings
Execution
Deployment
Troubleshooting
Examples
Destinations

API Destinations

API destinations send rows as HTTP calls, one request per row or in batches.

Providers: rest

Output fields

Every output in this type carries these fields; provider and format values live under options.

FieldTypeDefaultNotes
name (required)string--
from (required)string--
mode (required)append-Logical output mode for API writes.

Minimal example

A complete api destination with one output, written for provider rest:

Code
destinations: - name: orders type: api provider: rest # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: auth: type: oauth2 credentials: token_url: <token_url> client_id: <client_id> client_secret: <client_secret> outputs: - name: orders_output from: <from> mode: append url: https://api.example.com/v1/orders method: POST

Providers

rest

Connection

Use settings.connection_name for a saved connection, or configure it inline:

FieldTypeDefaultNotes
http_versionHTTP_1_1 or HTTP_2 or HTTP_3HTTP_2HTTP version to use for the API request.
ssl_verifybooleantrueVerify TLS certificates. Set to false to disable certificate and hostname validation (dev/testing only; applies to every call made through this connection, including chained file downloads).

auth is one of:

OAuth2 (client credentials)

FieldTypeDefaultNotes
type (required)oauth2--
credentials (required)object--
credentials.token_url (required)string-Token endpoint URL (e.g. https://login.microsoftonline.com/&#123;tenant&#125;/oauth2/v2.0/token).
credentials.client_id (required)string-OAuth2 application (client) ID.
credentials.client_secret (required)string-OAuth2 client secret.
credentials.client_secret_methodbasic or postbasicClient auth method: basic (default) or body.
credentials.scopestring-Scope string (e.g. 'https://graph.microsoft.com/.default').
credentials.token_fieldstringaccess_tokenField in the token response that holds the access token. Defaults to 'access_token'.

Bearer token

FieldTypeDefaultNotes
type (required)bearer--
credentials (required)object--
credentials.token (required)string-Static bearer token.

Basic auth

FieldTypeDefaultNotes
type (required)basic--
credentials (required)object--
credentials.user (required)string-Username.
credentials.password (required)string-Password.

API Key

FieldTypeDefaultNotes
type (required)api_key--
credentials (required)object--
credentials.key (required)string-API key value sent as the 'X-API-Key' header.

No auth

FieldTypeDefaultNotes
type (required)none--

Output options

outputs[].options:

FieldTypeDefaultNotes
request_modeper_row or batchper_rowSend one request per row or one JSON-array request per batch. Row placeholders are supported only in per_row mode.
batch_sizeinteger100Rows sent in each batch request. Minimum: 1.
headersarray of object--
headers[].name (required)string--
headers[].value (required)string--
paramsarray of object--
params[].name (required)string--
params[].value (required)string or number or boolean--

Streaming query options

These apply to every output in a streaming pipeline:

FieldTypeDefaultNotes
output_modeappend or complete or updateappendOutput mode of the streaming query. append: only new rows; complete: full result table; update: only updated rows (since 2.0). Maps to outputMode.
trigger_intervalstring-Trigger interval for processing (e.g. '10 seconds', '1 minute'). When set, uses Trigger.ProcessingTime(interval). Maps to triggerInterval.
checkpoint_locationstring-Optional custom checkpoint directory. When not set, a default under /app/data/spark-checkpoints/ is used. Maps to checkpointLocation.
query_namestring-Name for the streaming query (for monitoring and debugging). Maps to queryName.

Related pages

  • Destinations
  • Connections
  • Pipeline Spec Overview
  • API Reference
Suggest edit
Last modified on November 26, 2026
Stream DestinationsExecution Settings
On this page
  • Output fields
  • Minimal example
  • Providers
    • rest
  • Streaming query options
  • Related pages
YAML