POST
/
platform
/
v2
/
sites
/
{site_id}
/
actual
curl --request POST \
  --url https://api.rebase.energy/platform/v2/sites/{site_id}/actual \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "power",
  "data": [
    {
      "valid_time": "2024-01-01T00:00:00Z",
      "value": 6000
    }
  ]
}'
{}

Authorizations

Authorization
string
header
required

Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.

Path Parameters

site_id
string
required

Body

application/json
data
object[]
required
Example:
[
  {
    "valid_time": "2024-01-01T00:00:00Z",
    "value": 6000
  }
]
type
string
default:power
Example:

"power"

Response

200
application/json
Successful Response

The response is of type object.