Skip to main content
GET
/
Project
/
{projectId}
/
Prediction
/
{predictionId}
/
TimeSeriesData
/
{timeSeriesId}
/
CSV
Download time series as CSV
curl --request GET \
  --url https://api.plantpredict.terabase.energy/Project/{projectId}/Prediction/{predictionId}/TimeSeriesData/{timeSeriesId}/CSV \
  --header 'Authorization: Bearer <token>'
"timestamp,value\n2024-01-01T00:00:00,0.250\n2024-01-01T01:00:00,0.251\n2024-01-01T02:00:00,0.253\n"

Documentation Index

Fetch the complete documentation index at: https://docs.plantpredict.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.

Path Parameters

projectId
integer
required
predictionId
integer
required
timeSeriesId
integer
required

Response

CSV file

Time-series data exported as CSV, one row per timestamp.