# Settings APIs

Endpoints for retrieving and updating Guardian system settings, such as Hedera operator credentials and IPFS configuration.

**Authentication:** Bearer token required (`Authorization: Bearer <token>`)

**Permission:** Standard Registry role required.

***

| Method | Endpoint           | Description                                  | Auth Required |
| ------ | ------------------ | -------------------------------------------- | ------------- |
| `GET`  | `/api/v1/settings` | Returns the current Guardian system settings | Yes           |
| `POST` | `/api/v1/settings` | Updates the Guardian system settings         | Yes           |

## Endpoints

* [Displaying Current Settings](/docs/develop/guardian/standard-registry/standard-registry-operations/settings-apis/displaying-current-settings.md)
* [Adding Settings](/docs/develop/guardian/standard-registry/standard-registry-operations/settings-apis/adding-settings.md)

***

## Branding

Endpoints for updating and retrieving the platform branding configuration.

| Method | Endpoint           | Description                                         | Auth Required |
| ------ | ------------------ | --------------------------------------------------- | ------------- |
| `POST` | `/api/v1/branding` | Updates the platform branding configuration         | Yes           |
| `GET`  | `/api/v1/branding` | Returns the current platform branding configuration | No            |

***

## IPFS File Operations

Endpoints for uploading, retrieving, and deleting files on IPFS.

| Method   | Endpoint                               | Description                                | Auth Required |
| -------- | -------------------------------------- | ------------------------------------------ | ------------- |
| `POST`   | `/api/v1/ipfs/file`                    | Uploads a file to IPFS                     | Yes           |
| `POST`   | `/api/v1/ipfs/file/direct`             | Uploads raw JSON data directly to IPFS     | Yes           |
| `POST`   | `/api/v1/ipfs/file/dry-run/{policyId}` | Uploads a file to IPFS in dry-run mode     | Yes           |
| `GET`    | `/api/v1/ipfs/file/{cid}`              | Retrieves a file from IPFS by its CID      | Yes           |
| `GET`    | `/api/v1/ipfs/file/{cid}/dry-run`      | Retrieves a file from IPFS in dry-run mode | Yes           |
| `DELETE` | `/api/v1/ipfs/file/{cid}`              | Removes (unpins) a file from IPFS          | Yes           |


---

# 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/guardian/standard-registry/standard-registry-operations/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.
