---
title: "Find perspectives"
method: GET
path: "/perspectives"
tags: ["perspectives"]
---

# Find perspectives

`GET /perspectives`

Find a perspective or perspectives. You may query using field filters with asterisk (*) wildcards. You may also optionally specify sort, limit, offset, and a list of fields to include in the response. The global default limit will apply if no limit param is specified.

## Query parameters

- `fields` string[]
- `sort` string[]
- `limit` integer
- `offset` integer
- `name` string
- `rootSubject` string
- `createdAt` string
- `updatedAt` string

## Response `200`

Success, returns a list of perspectives.

- PerspectivesResponse[]
  - `id` string
  - `name` string — The name of the perspective.
  - `rootSubject` string — The absolute path of the root subject.
  - `aspectFilter` string[] — Array of aspect names to filter; Aspect name: Max 60 characters; case insensitive; allows alpha-numeric characters, underscore (_) and dash (-).
  - `aspectTagFilter` string[] — Array of aspect tag names to filter; Tag name: Max 60 characters; case insensitive; allows alpha-numeric characters, underscore (_) and dash (-).
  - `subjectTagFilter` string[] — Array of subject tag names to filter; Tag name: Max 60 characters; case insensitive; allows alpha-numeric characters, underscore (_) and dash (-).
  - `aspectFilterType` 'INCLUDE' | 'EXCLUDE'
  - `aspectTagFilterType` 'INCLUDE' | 'EXCLUDE'
  - `subjectTagFilterType` 'INCLUDE' | 'EXCLUDE'
  - `statusFilter` string[] — Array of sample status to filter; Status values can only be one of these: Critical, Invalid, Timeout, Warning, Info, OK, -Critical, -Invalid, -Timeout, -Warning, -Info, -OK.
  - `createdBy` string — TODO
  - `createdAt` string — TODO
  - `updatedAt` string — TODO
  - `lensId` string — The id of Lens.
  - `apiLinks` HATEOAS[] — Hypertext As The Engine Of Application State.
    - `href` string, required — URL of the related HATEOAS link you can use for subsequent calls.
    - `rel` string, required — Link relation that describes how this link relates to the previous call.
    - `method` string, required — The HTTP method required for the related call.

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `default` — Error

## Changes

- **2019-03-14** (v1) `61c43b67559b` — 2 info
  - added the new optional `query` request parameter `createdAt`
  - added the new optional `query` request parameter `updatedAt`
- **2018-03-30** (v1) `4ca6b20ef8df` — 2 warning
  - deleted the `query` request parameter `createdAt`
  - deleted the `query` request parameter `updatedAt`

[Change history](https://skmtc.dev/salesforce/apis/refocus-api/changes/perspectives/get.md)

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
