Skip to main content
POST
/
Project
/
{projectId}
/
Prediction
/
{predictionId}
/
TimeSeriesData
Create new time series
curl --request POST \
  --url https://api.plantpredict.terabase.energy/Project/{projectId}/Prediction/{predictionId}/TimeSeriesData \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "predictionId": 123,
  "name": "<string>",
  "detailsCount": 123,
  "details": [
    {}
  ]
}
'
{
  "message": "The request is invalid.",
  "modelState": {
    "latitude": [
      "The field Latitude must be between -90 and 90."
    ]
  }
}

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

Body

application/json
id
integer
predictionId
integer
type
enum<integer>

TimeSeriesType

Available options:
0,
1,
2,
3,
4,
5,
6
name
string
detailsCount
integer
details
object[]

Response

Created