How data streams fit together
- A stream holds records. You push records into an
apistream, or End Close fills a connected stream for you. - A reconciliation puts one or more streams on Side A and one or more on Side B. The same stream can sit in several reconciliations.
- Exceptions are scoped to one stream in one reconciliation: the stream’s unmatched lines that are past due.
- Property definitions describe the custom fields a stream’s records carry in
metadata.
Data stream fields
Data stream
Choose a
key that names the system the stream represents, such as chase_operating or stripe_payouts. You can rename the stream later, but not its key.Stream types
POST /data_streams creates two types:
Other types are created when you connect a source in the app, for example
stripe, snowflake, big_query, databricks, postgres, csv, google_sheets, airwallex and hyperwallet. See How connections work and the integrations for each source.
End Close also writes one stream type itself. An adjustments stream holds the balancing records (“plugs”) for a single reconciliation and belongs to that reconciliation alone. See Adjustments.
Create a data stream
cURL
key returns 422.
Reset and delete a stream
POST /data_streams/{key}/resetremoves every record on the stream and keeps its configuration, property definitions and reconciliation links. It runs in the background: poll the returned operation and wait forcompletedbefore you load data again.DELETE /data_streams/{key}deletes the stream. It returns409while any reconciliation still uses the stream. A stream with more than 10,000 records must be deleted asynchronously with?async=true.
GET /data_streams/{key}/health reports the stream’s ingestion health.
Property definitions
A property definition names and types a custom field that a stream’s records carry, such ascustomer_email on a Stripe stream or check_number on a bank feed. Each definition belongs to one stream. The values themselves live in each record’s metadata.
Property definition
metadata.customer_email in matching rules.
Related
Records
The transactions inside a stream, and the fields each one carries.
Reconciliations
Put streams on two sides and match them.
How connections work
How connected sources keep their streams up to date.
API reference
Data stream and property definition endpoints.