Novant

Documentation

Import Trends

Imports trend data into a project, allowing it to be appended, prepended, or merged to overwrite existing records.

POST /v1/import/trends
curl https://api.novant.io/v1/import/trends?mode=append \
  -u ak_sample_123: \
  -H "Content-Type: text/csv" \
  --data-binary @trends.csv

Parameters

mode

Configure how data will be imported:

If not specified, defaults to merge.

Note: The mode parameter must be provided as a URL query parameter.

Content

The CSV data to import for this request.

Requirements:

Example:

ts, s.2.5, s.2.6
2025-08-12T04:00:00-04:00, 10, 0.25
2025-08-12T04:15:00-04:00, 15, 0.50
2025-08-12T04:30:00-04:00, 20, 0.75

Returns

Returns ok if import was successful.

{ "status": "ok" }