---
title: "PHP Error Logs"
method: GET
path: "/sites/{id}/logs/php"
tags: ["sites"]
---

# PHP Error Logs

`GET /sites/{id}/logs/php`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/sites/{id}/logs/php`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/sites/:id/logs/php/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a list of a site's PHP logs. These logs can help assist in debugging issues related to PHP on your site. The logs are available for the past 7 days, we respond with 200 log messages per page.

## Path parameters

- `id` integer, required

## Query parameters

- `scroll_id` string
- `status` string

## Response `200`

Successful Response

- object
  - `logs` object[]
  - `scroll_id` string

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
