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

# 4.5 Servers and authentication

> Servers and authentication for ReportGeneratorTool.

The `/v1` servers and workspace API keys below describe a proposed contract. The `example.com` hosts are placeholders, not live service endpoints.

> [tab] Example production
>
> **Base URL** `https://api.reportgenerator.example.com`

> [tab] Example staging
>
> **Base URL** `https://api.staging.reportgenerator.example.com`

#### Authentication

Send `Authorization: Bearer YOUR_API_KEY` on /v1 requests. Use a workspace API key issued by your administrator. Resources are scoped to that workspace. A resource outside the workspace returns 404; a disallowed action returns 403.

Portal credentials in `client` authenticate to the device portal and are separate from the API key. They are not included in job responses.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.