Developers can stream generic timeseries data from pre-recorded CSV files into a Lens by connecting a CSV File Reader data connector to the input data stream of a Lens. Prior to streaming CSV data to a lens, a developer should first upload their CSV file to the Archetype platform using the Files API. Upon uploading their CSV 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 CSV file from your terminal to the Archetype platform using the Files API.Documentation Index
Fetch the complete documentation index at: https://docs.archetypeai.app/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
You can pass the following parameters to the CSV File Reader via the stream_config.| Parameter | Description | Required |
|---|---|---|
file_id | The file_id of the CSV file you wish to pass to the CSV File Reader. The file_id should correspond to a valid file you’ve uploaded via the files API. | Yes |