Return a list of Saved Searches​
Returns a list of saved searches.
Query Parameters
- offset int32
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
- limit int32
Possible values:
<= 250
Default value:
250
Max number of results to return. See V3 API Standard Collection Parameters for more information.
Example: 250 - count boolean
If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored.
Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used.
See V3 API Standard Collection Parameters for more information.
Example: true - filters string
An expression used to constrain the result set using the filtering syntax described in V3 API Standard Collection Parameters.
Allowed filter properties: owner.id, public
Allowed filter operator: eq
Example filters:
owner.id eq "0de46054-fe90-434a-b84e-c6b3359d0c64"
-- returns saved searches for the specified owner IDpublic eq true
-- returns all public saved searchesowner.id eq me or public eq true
-- returns all of the current user's saved searches as well as all public saved searches belonging to other users in the current orgExample: public eq true
- 200
- 400
- 403
The list of requested saved searches.
Response Headers
X-Total-Count integer
Example: 5The total result count (returned only if the count parameter is specified as true).
- application/json
- Schema
- Example (from schema)
Schema array
- id string
The saved search ID.
owner object
The owner of the saved search.
type stringPossible values: [
ACCOUNT_CORRELATION_CONFIG
,ACCESS_PROFILE
,ACCESS_REQUEST_APPROVAL
,ACCOUNT
,APPLICATION
,CAMPAIGN
,CAMPAIGN_FILTER
,CERTIFICATION
,CLUSTER
,CONNECTOR_SCHEMA
,ENTITLEMENT
,GOVERNANCE_GROUP
,IDENTITY
,IDENTITY_PROFILE
,IDENTITY_REQUEST
,LIFECYCLE_STATE
,PASSWORD_POLICY
,ROLE
,RULE
,SOD_POLICY
,SOURCE
,TAG
,TAG_CATEGORY
,TASK_RESULT
,REPORT_RESULT
,SOD_VIOLATION
,ACCOUNT_ACTIVITY
]An enumeration of the types of DTOs supported within the IdentityNow infrastructure.
id stringThe id of the object.
- name string
The name of the saved search.
- description string
The description of the saved search.
- public boolean
Default value:
false
Indicates if the saved search is public.
- created date-time
The date the saved search was initially created.
- modified date-time
The last date the saved search was modified.
- indices string[]
Possible values: [
accessprofiles
,accountactivities
,entitlements
,events
,identities
,roles
,*
]The names of the Elasticsearch indices in which to search.
columns object
The columns to be returned (specifies the order in which they will be presented) for each document type.
The currently supported document types are: accessprofile, accountactivity, account, aggregation, entitlement, event, identity, and role.
typeitems object
field stringThe name of the field.
header stringThe value of the header.
- query string
The search query using Elasticsearch Query String Query syntax from the Query DSL.
- fields string[]
The fields to be searched against in a multi-field query.
- sort string[]
The fields to be used to sort the search results.
filters object
The filters to be applied for each filtered field name.
type stringPossible values: [
EXISTS
,RANGE
,TERMS
]Enum representing the currently supported filter types. Additional values may be added in the future without notice.
range object
The range of values to be filtered.
lower object
The lower bound of the range.
value stringThe value of the range's endpoint.
inclusive booleanDefault value:
false
Indicates if the endpoint is included in the range.
upper object
The upper bound of the range.
value stringThe value of the range's endpoint.
inclusive booleanDefault value:
false
Indicates if the endpoint is included in the range.
terms string[]The terms to be filtered.
exclude booleanDefault value:
false
Indicates if the filter excludes results.
[
{
"id": "0de46054-fe90-434a-b84e-c6b3359d0c64",
"owner": {
"type": "IDENTITY",
"id": "2c91808568c529c60168cca6f90c1313"
},
"name": "Disabled accounts",
"description": "Disabled accounts",
"public": false,
"created": "2018-06-25T20:22:28.104Z",
"modified": "2018-06-25T20:22:28.104Z",
"indices": [
"identities"
],
"columns": {
"identity": [
{
"field": "displayName",
"header": "Display Name"
},
{
"field": "e-mail",
"header": "Work Email"
}
]
},
"query": "@accounts(disabled:true)",
"fields": [
"disabled"
],
"sort": [
"displayName"
],
"filters": {
"attributes.cloudAuthoritativeSource": {
"type": "EXISTS",
"exclude": true
},
"accessCount": {
"type": "RANGE",
"range": {
"lower": {
"value": "3"
}
}
},
"created": {
"type": "RANGE",
"range": {
"lower": {
"value": "2019-12-01",
"inclusive": true
},
"upper": {
"value": "2020-01-01"
}
}
},
"source.name": {
"type": "TERMS",
"terms": [
"HR Employees",
"Corporate Active Directory"
],
"exclude": true
},
"protected": {
"type": "TERMS",
"terms": [
"true"
]
}
}
}
]
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (from schema)
Schema
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
causes object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (from schema)
- 403
Schema
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
causes object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 403 response object
{
"detailCode": "403 Forbidden",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server understood the request but refuses to authorize it."
}
]
}