---
title: "Creates a saved view for an organization belonging to a specific source"
method: POST
path: "/api/v2/saved-views"
tags: ["Saved Views"]
---

# Creates a saved view for an organization belonging to a specific source

`POST /api/v2/saved-views`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/saved-views`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/saved-views/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates the saved view for an organization.

#### Sample Request
```
curl -X POST {baseUrl}/views \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
```

## Request body

- JumpcloudOrganizationSettingsSavedViewCreateRequest
  - `columns` string[]
  - `configuration` JumpcloudOrganizationSettingsConfiguration
    - `filters` JumpcloudOrganizationSettingsFilters[]
      - `field` string, nullable
      - `operation` 'OPERATION_UNKNOWN' | 'AND' | 'OR' | 'EQUALS' | 'NOT_EQUALS' | 'GREATER_THAN' | 'LESS_THAN' | 'STARTS_WITH' | 'ENDS_WITH' | 'IN' | 'CONTAINS' | 'NOT_CONTAINS' | 'BOOL' | 'GREATER_THAN_EQUAL' | 'LESS_THAN_EQUAL' | 'NOT_IN' | 'SEARCH': Filter operation to be applied: and - Provides logical 'and' groupings of all elements provided in the `filters` array (all sub-filter criteria must be satisfied). or - Provides logical 'or' groupings of all elements provided in the `filters` array (any sub-filter criteria can be satisfied). equals - Compares `field` with `value` for a // match. Case insensitive. not_equals - Compares `field` with `value` for an exact non-match. Case insensitive. greater_than - Checks if `field` is greater numerically than static `value` (non-inclusive). Works for numbers and datetime types. less_than - Checks if `field` is less than static `value` (non-inclusive). Works for numbers and datetime types. starts_with - Checks if `field` starts with static `value`. Case insensitive. Only works for string types. ends_with - Checks if `field` ends with static `value`. Case insensitive. Only works for string types.
      - `value` unknown
    - `sort` string
  - `id` string, byte
  - `isDefault` boolean
  - `name` string
  - `shared` boolean
  - `source` string

## Response `200`

A successful response.

- JumpcloudOrganizationSettingsSavedView
  - `adminId` string, byte
  - `columns` string[]
  - `configuration` JumpcloudOrganizationSettingsConfiguration
    - `filters` JumpcloudOrganizationSettingsFilters[]
      - `field` string, nullable
      - `operation` 'OPERATION_UNKNOWN' | 'AND' | 'OR' | 'EQUALS' | 'NOT_EQUALS' | 'GREATER_THAN' | 'LESS_THAN' | 'STARTS_WITH' | 'ENDS_WITH' | 'IN' | 'CONTAINS' | 'NOT_CONTAINS' | 'BOOL' | 'GREATER_THAN_EQUAL' | 'LESS_THAN_EQUAL' | 'NOT_IN' | 'SEARCH': Filter operation to be applied: and - Provides logical 'and' groupings of all elements provided in the `filters` array (all sub-filter criteria must be satisfied). or - Provides logical 'or' groupings of all elements provided in the `filters` array (any sub-filter criteria can be satisfied). equals - Compares `field` with `value` for a // match. Case insensitive. not_equals - Compares `field` with `value` for an exact non-match. Case insensitive. greater_than - Checks if `field` is greater numerically than static `value` (non-inclusive). Works for numbers and datetime types. less_than - Checks if `field` is less than static `value` (non-inclusive). Works for numbers and datetime types. starts_with - Checks if `field` starts with static `value`. Case insensitive. Only works for string types. ends_with - Checks if `field` ends with static `value`. Case insensitive. Only works for string types.
      - `value` unknown
    - `sort` string
  - `id` string, byte
  - `isDefault` boolean
  - `name` string
  - `shared` boolean
  - `source` string

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
