Skip to main content

Telemetry upload (Deprecated)

DEPRECATED use telemetry-strict or telemetry-custom instead.

Upload telemetry as a single CSV file per request. The name and the format of the CSV must be agreed upon beforehand.

POST https://api.ravenwits.com/api/v0/telemetry/upload/

Requires Bearer API key.

Request​

multipart/form-data:

FieldTypeRequiredDescription
plant_idstringYesPlant identifier (must exist under Plants).
filefileYesCSV only (.csv extension).

Example (curl)​

curl --request POST \
--url 'https://api.ravenwits.com/api/v0/telemetry/upload/' \
--header 'Authorization: Bearer {your-api-key}' \
--form 'plant_id=MY_PLANT_IDENTIFIER' \
--form 'file=@./generation.csv;type=text/csv'

Responses​

StatusBody
201{ "message": "…" }
400Missing plant_id / file, not .csv, unknown plant, etc.
401Invalid or missing API key.
502S3 upload failure (permissions, network).