---
updatedAt: 2025-06-05T08:35:34.000Z
agentTools:
  projectIndex: https://sectigoweb.dev/llms.txt
---

# List Backups

This endpoint is used to list all of the backups for a Website resource.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "website-files-backup",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://platform.sectigo.com/websites"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/{website_id}/commits": {
      "get": {
        "summary": "List Backups",
        "description": "",
        "operationId": "website-files-list-backups",
        "parameters": [
          {
            "name": "website_id",
            "in": "path",
            "description": "The ID of the Website to list backups for.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n  {\n    \"commit_id\" : \"87f3b9f036c71aebc49abff30f415e763dead8c2\",\n    \"additions\" : 0,\n    \"modifications\" : 2,\n    \"deletions\" : 0,\n    \"new_content\" : true,\n    \"event_time\" : \"2014-02-27T12:06:09-05:00\"\n  },\n  {\n    \"commit_id\" : null,\n    \"additions\" : 0,\n    \"modifications\" : 0,\n    \"deletions\" : 0,\n    \"new_content\" : false,\n    \"event_time\" : \"2014-02-24T12:56:00-05:00\"\n  }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "commit_id": {
                        "type": "string",
                        "example": "87f3b9f036c71aebc49abff30f415e763dead8c2"
                      },
                      "additions": {
                        "type": "integer",
                        "example": 0,
                        "default": 0
                      },
                      "modifications": {
                        "type": "integer",
                        "example": 2,
                        "default": 0
                      },
                      "deletions": {
                        "type": "integer",
                        "example": 0,
                        "default": 0
                      },
                      "new_content": {
                        "type": "boolean",
                        "example": true,
                        "default": true
                      },
                      "event_time": {
                        "type": "string",
                        "example": "2014-02-27T12:06:09-05:00"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "value": "application/json",
        "key": "Content-type"
      },
      {
        "value": "application/json",
        "key": "Accept"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```