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

# Blob Get Settings

> Lies mit GET /v1/account/settings die Regeln pro Präfix deines Blob-Storage-Kontos.

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  Der API-Schlüssel für Ihr Konto. Sie finden ihn in Ihren [Kontoeinstellungen](https://squarecloud.app/de/account/security).
</ParamField>

Get Settings gibt die mit [Update Settings](/de/blob-reference/endpoint/settings-put) gespeicherten Regeln zurück. Jede Regel gilt für die Dateien unter ihrem Präfix: Standard-Sichtbarkeit, -Ablauf und -Cache, Größen- und Typ-Limits sowie automatische Löschung. Erfordert den Scope `blob:read`.

### Antwort

<ResponseField name="status" type="string">
  "success" bei Erfolg, "error" bei Misserfolg.
</ResponseField>

<ResponseField name="response" type="object">
  <Expandable title="Objekt umschalten">
    <ResponseField name="rules" type="array">
      Die Regeln, wie gespeichert. Siehe [Update Settings](/de/blob-reference/endpoint/settings-put) für jedes Feld.

      <Expandable title="Objekt umschalten">
        <ResponseField name="prefix" type="string">
          Das Präfix, für das die Regel gilt, mit `/` am Ende.
        </ResponseField>

        <ResponseField name="private" type="boolean">
          Standard-Sichtbarkeit.
        </ResponseField>

        <ResponseField name="expire" type="string">
          Standard-Ablauf.
        </ResponseField>

        <ResponseField name="max_size" type="number">
          Maximale Dateigröße in Bytes.
        </ResponseField>

        <ResponseField name="extensions" type="string[]">
          Akzeptierte Endungen.
        </ResponseField>

        <ResponseField name="cache_control" type="string">
          Standard-Cache.
        </ResponseField>

        <ResponseField name="delete_after_days" type="number">
          Tage, nach denen Dateien gelöscht werden.
        </ResponseField>

        <ResponseField name="created_at" type="ISO 8601">
          Wann die Regel gespeichert wurde.
        </ResponseField>

        <ResponseField name="active_from" type="ISO 8601">
          Ab wann die automatische Löschung greift (24 Stunden nach `created_at`). Nur vorhanden mit `delete_after_days`.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://blob.squarecloud.app/v1/account/settings' \
    --header 'Authorization: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "status": "success",
    "response": {
      "rules": [
        {
          "prefix": "invoices/",
          "private": true,
          "extensions": ["pdf"],
          "created_at": "2026-09-25T12:00:00.000Z"
        },
        {
          "prefix": "tmp/",
          "delete_after_days": 7,
          "created_at": "2026-09-25T12:00:00.000Z",
          "active_from": "2026-09-26T12:00:00.000Z"
        }
      ]
    }
  }
  ```
</ResponseExample>
