# Settings APIs

**Base URL:** `/api/v1/settings`

These endpoints allow retrieval and configuration of Guardian system settings, including Hedera operator credentials, environment information, and package version details.

**Authentication:** All endpoints require a valid JWT Bearer token (`Authorization: Bearer <token>`). Obtain a token via `POST /accounts/login`.

***

## Endpoints

| Method | Endpoint                | Description                                        | Auth Required |
| ------ | ----------------------- | -------------------------------------------------- | ------------- |
| POST   | `/settings`             | Set Guardian system settings                       | Yes           |
| GET    | `/settings`             | Return current Guardian system settings            | Yes           |
| GET    | `/settings/environment` | Return the current Hedera network environment name | Yes           |
| GET    | `/settings/about`       | Return Guardian package version information        | Yes           |

***

## Endpoint Details

* [Adding Settings](/docs/develop/settings-and-logs/settings-apis/adding-settings.md)
* [Displaying Current Settings](/docs/develop/settings-and-logs/settings-apis/displaying-current-settings.md)
* [Returns Environment Name](/docs/develop/settings-and-logs/settings-apis/returns-environment-name.md)
* [Returns Package Version](/docs/develop/settings-and-logs/settings-apis/returns-package-version.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/docs/develop/settings-and-logs/settings-apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
