> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.rebase.energy/llms.txt
> Use this file to discover all available pages before exploring further.

# Platform API

> Example section for showcasing API endpoints

## Introduction

This documentation will show you how to create sites, upload production data, upload localized weather measurements and access forecasts for your sites.

## Authentication

Each request to the Platform API must be authenticated with an API key. You can create a new API key in your user profile .

The API key must be included in the header for every request like this:

`GL-API-KEY: your_api_key`

<Note>
  You must replace `your_api_key` with your personal API key.
</Note>

## Base URL

All endpoints in this documentation are relative to this **base URL**:

`https://api.rebase.energy/platform/v1`

For instance, requesting endpoint `/site/forecast/latest/<site_id>` should be done to the complete url:

`https://api.rebase.energy/platform/v1/site/forecast/latest/<site_id>`
