Reset a data stream
Changed onAsynchronously wipes all records on the stream while preserving stream config, property definitions, and reconciliation links. Always async. Poll the returned operation.
Completion is verified. The operation reaches completed only after the stream is confirmed empty in the primary database, with records_remaining set to 0. Records that land while the reset is running are swept up a bounded number of times; if any survive, the operation ends failed with records_remaining greater than 0 and an error_message asking you to stop ingestion and retry. Do not reload data onto the stream until you observe completed.
Request
- Base URLhttps://api.endclose.com/v1
- AuthAPI key in header X-API-KEY
Path parameters
The immutable data stream key
Response
Reset accepted. Poll GET /data_streams/{key}/operations/{id} (also set in the Location header).
Changes
- breaking
the
response's property type changed fromintegertostring, and format from no format touuidfor status - breaking
the
response's property type changed fromintegertostring, and format from no format touuidfor status - breaking
the
response's property type changed fromintegertostring, and format from no format touuidfor status
- breaking
- info
added the optional property
to the response with the status
- info