> ## 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.

# スナップショット一覧の取得

> 単一のデータベースに関連するすべてのスナップショットの一覧を取得します。

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  アカウントの API キーです。これは[アカウント設定](https://squarecloud.app/ja/account/security)で確認できます。
</ParamField>

### Parameters

<ParamField path="database_id" type="string" placeholder="Database ID" required>
  データベースのID。
</ParamField>

### Response

<ResponseField name="status" type="string">
  呼び出しが成功したかどうかを示します。成功した場合は `success`、失敗した場合は `error` です。
</ResponseField>

<ResponseField name="response" type="array">
  レスポンスの内容。

  <Expandable title="オブジェクトを切り替え">
    <ResponseField name="name" type="string">
      Square Cloud上でホストされているデータベースのID。
    </ResponseField>

    <ResponseField name="size" type="number">
      バックアップのサイズ（バイト単位）。
    </ResponseField>

    <ResponseField name="modified" type="string">
      バックアップの最終更新日時。
    </ResponseField>

    <ResponseField name="key" type="string">
      バックアップ用のAWSアクセスキー。
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "status":"success",
    "response":[
      {
        "name":"a14b8d5e1cb7405a851eb4c075506121",
        "size":10644463,
        "modified":"2025-08-13T13:29:11.263Z",
        "key":"AWSAccessKeyId=accesskey&Expires=1757683751&Signature=VZ03MSxcNw3%2FtPezXv0IhTs0jq4%3D&versionId=45ec0b49-9af6-445e-a55c-abd7ec5278b2"
      },
      {
        "name":"a14b8d5e1cb7405a851eb4c075506121",
        "size":2742383,
        "modified":"2025-08-13T00:01:47.010Z",
        "key":"AWSAccessKeyId=accesskey&Expires=1757683751&Signature=7zw5apjyaOd1xPZl3gRgp8Y4yEs%3D&versionId=f65e1378-8717-45c5-8aec-bb233eedb5ce"
      }
    ]
  }
  ```
</ResponseExample>

<Note>目的のスナップショットをダウンロードするためのURLの形式は次のとおりです: [https://snapshots.squarecloud.app/databases/\{accountID}/\{name}.zip?\{key}](https://snapshots.squarecloud.app/databases/\{accountID}/\{name}.zip?\{key})</Note>
