sites

Deploy History

Return paginated deploy history for the site, newest first. Use this to follow up on a POST /sites/{site_id}/git/deploy call or to inspect deploy outcomes triggered from the UI.

get/sites/{site_id}/git/history

Request

Path parameters

site_idinteger required

Query parameters

pageinteger
per_pageinteger

Response

Successful Response

messagestring
dataobject[]
pageobject

Example response

{
  "message": "Success",
  "data": [
    {
      "id": 4821,
      "created": "2026-05-27T12:08:00.000Z",
      "after": "13407c6d",
      "before": "9dd0f047",
      "branch": "main",
      "email": "user@example.com",
      "message": "Update theme",
      "name": "john",
      "repository": "https://github.com/example/site.git",
      "state": "deployed"
    }
  ],
  "page": {
    "currentPage": 1,
    "nextPage": null,
    "lastPage": 1,
    "perPage": 25,
    "totalItems": 1
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.