# TestMonitor

> Read TestMonitor projects and test-run inventories.

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

## Actions

### Get project

Read one TestMonitor project.

**Inputs**

- Project ID (`project_id`, number, required): Project ID from List projects. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "completed": false,
      "id": 1,
      "key": "1",
      "name": "Example Project"
    }
  }
}
```

### List projects

Read one page of TestMonitor projects.

**Inputs**

- Page (`page`, number): Page to read. Request subsequent pages explicitly. At least 1.
- Limit (`limit`, number): Maximum number of records in this page. From 1 to 100.
- Query (`query`, text): Optional project search text.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "completed": false,
        "id": 1,
        "key": "1",
        "name": "Example Project"
      }
    ]
  }
}
```

### List test runs

Read one page of test runs in a project.

**Inputs**

- Project ID (`project_id`, number, required): Required project ID from List projects. At least 1.
- Page (`page`, number): Page to read. Request subsequent pages explicitly. At least 1.
- Limit (`limit`, number): Maximum number of records in this page. From 1 to 100.
- Query (`query`, text): Optional test-run search text.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "code": "TR20",
        "id": 20,
        "name": "Release Regression",
        "priority": false
      }
    ]
  }
}
```
