Readers
JSONL File Reader
(Archived) Legacy Lens runtime: stream JSONL data into a lens with the JSONL File Reader connector.
Developers can stream generic JSONL data from pre-recorded JSONL files into a Lens by connecting a JSONL File Reader data connector to the input data stream of a Lens.
Prior to streaming JSONL data to a lens, a developer should first upload their JSONL file to the Archetype platform using the Files API. Upon uploading their JSONL file, the developer will receive a file_id that identifies that file throughout the Newton Platform.
For example, the bash command below demonstrates how to upload a local JSONL file from your terminal to the Archetype platform using the Files API.
Upon successful upload, you will receive a JSON response similar to:
Like all data stream connectors, the JSONL file reader can be identified and configured via the following stream type and stream config:
This can be passed to Newton as an event: