Skip to main content
POST
/
Project
Create a project
curl --request POST \
  --url https://api.plantpredict.terabase.energy/Project \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "latitude": 41.6528052,
  "longitude": -83.5378674,
  "country": "United States",
  "countryCode": "US",
  "stateProvince": "Ohio",
  "stateProvinceCode": "OH",
  "locality": "Toledo",
  "region": "North America",
  "elevation": 178.5460357666016,
  "standardOffsetFromUTC": -5,
  "predictions": [],
  "status": 0,
  "name": "Sample Project",
  "description": null
}
'
{
  "id": 76495
}

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.

Query Parameters

enableMeteonormDownload
boolean
default:false

Body

application/json
name
string
required
latitude
number<double>
required
longitude
number<double>
required
description
string | null
elevation
number<double>
country
string
countryCode
string
stateProvince
string
stateProvinceCode
string
locality
string
region
string
standardOffsetFromUTC
number
status
enum<integer>

ProjectStatusEnum

Available options:
0,
1,
2
predictions
object[]

Response

Created project ID

id
integer
required