---
title: "Get the path of a monitor or folder."
method: GET
path: "/v1/monitors/{id}/path"
tags: ["monitorsLibraryManagement"]
---

# Get the path of a monitor or folder.

`GET /v1/monitors/{id}/path`

Get the full path of the monitor or folder in the monitors library.

## Path parameters

- `id` string, required

## Response `200`

Full path of the monitor or folder.

- Path
  - `pathItems` PathItem[], required — Elements of the path.
    - `id` string, required — Identifier of the path element.
    - `name` string, required — Name of the path element.
    - `description` string — Description of the path element.
  - `path` string, required — String representation of the path.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
