---
title: "Filters the set of resulting instances returned"
method: GET
path: "/pmapi/profile"
tags: ["PMAPI HOST SERVICES"]
---

# Filters the set of resulting instances returned

`GET /pmapi/profile`

Some PMAPI operations can be performed with an active instance domain profile which restricts (filters) the set of resulting instances returned, as 
described on [pmAddProfile](https://man7.org/linux/man-pages/man3/pmAddProfile.3.html)(3).

```bash
$ curl -s http://localhost:44322/pmapi/profile?expr=add,indom=60.2,iname=1%20minute
```
**Reference:** [pmAddProfile](https://man7.org/linux/man-pages/man3/pmAddProfile.3.html)(3), [pmDelProfile](https://man7.org/linux/man-pages/man3/pmDelProfile.3.html)(3)

## Query parameters

- `iname` string
- `indom` unknown
- `instance` number
- `expr` string
- `match` string
- `hostspec` string
- `context` number
- `polltimeout` number
- `client` string

## Response `200`

OK

## Changes

- **2020-10-21** `26cabf98ddfb` — 1 info
  - endpoint added
- **2020-10-20** `7da0633fad91` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/performancecopilot/apis/pmwebapi/changes/pmapi/profile/get.md)

---

[API](https://skmtc.dev/performancecopilot/apis/pmwebapi.md) · [All operations](https://skmtc.dev/performancecopilot/apis/pmwebapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/performancecopilot/pmwebapi/revisions/666212c8ed6b/schema)
