# DebugBear

> Read DebugBear projects, monitored pages, and recent performance metrics.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/debugbear

## Actions

### Get project

Read a project including its monitored pages.

**Inputs**

- Project ID (`project_id`, text, required): Project ID from List projects.

**Outputs**

- `data` (object): The response from DebugBear.

**Example output**

```json
{
  "data": {
    "id": "100",
    "name": "Example project",
    "pages": [
      {
        "id": "200",
        "name": "Homepage",
        "url": "https://example.com"
      }
    ]
  }
}
```

### Get project page metrics

Read the most recent existing page metrics, optionally before a date.

**Inputs**

- Project ID (`project_id`, text, required): Project ID from List projects.
- Before (`before`, date): Ignore results after this date (YYYY-MM-DD).

**Outputs**

- `data` (list): The response from DebugBear.

**Example output**

```json
{
  "data": [
    {
      "metrics": {
        "performance.score": 0.96,
        "seo.score": 0.8
      },
      "page": {
        "id": "200",
        "name": "Homepage"
      }
    }
  ]
}
```

### List projects

Read projects and their monitored-page inventories.

**Inputs**: None.

**Outputs**

- `data` (list): The response from DebugBear.

**Example output**

```json
{
  "data": [
    {
      "id": "100",
      "name": "Example project",
      "pages": [
        {
          "id": "200",
          "name": "Homepage",
          "url": "https://example.com"
        }
      ]
    }
  ]
}
```
