Return saved search by ID
GEThttps://sailpoint.api.identitynow.com/v2024/saved-searches/:id
Returns the specified saved search.
Request
Path Parameters
ID of the requested document.
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
The requested saved search.
- application/json
- Schema
- Example (auto)
Schema
The saved search ID.
0de46054-fe90-434a-b84e-c6b3359d0c64
owner object
The ID of the identity that owns this saved search.
2c91808568c529c60168cca6f90c1313
Whether this saved search is visible to anyone but the owner. This field will always be false as there is no way to set a saved search as public at this time.
false
false
The name of the saved search.
Disabled accounts
The description of the saved search.
Disabled accounts
The date the saved search was initially created.
2018-06-25T20:22:28.104Z
The last date the saved search was modified.
2018-06-25T20:22:28.104Z
The names of the Elasticsearch indices in which to search.
Possible values: [accessprofiles
, accountactivities
, entitlements
, events
, identities
, roles
, *
]
["identities"]
columns object
The search query using Elasticsearch Query String Query syntax from the Query DSL.
@accounts(disabled:true)
The fields to be searched against in a multi-field query.
["disabled"]
orderBy objectnullable
The fields to be used to sort the search results.
["displayName"]
filters objectnullable
{
"id": "0de46054-fe90-434a-b84e-c6b3359d0c64",
"owner": {
"type": "IDENTITY",
"id": "2c91808568c529c60168cca6f90c1313"
},
"ownerId": "2c91808568c529c60168cca6f90c1313",
"public": false,
"name": "Disabled accounts",
"description": "Disabled accounts",
"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"
],
"orderBy": {
"identity": [
"lastName",
"firstName"
],
"role": [
"name"
]
},
"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 (auto)
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"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."
}
]
}
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
- application/json
- Schema
- Example (auto)
Schema
A message describing the error
JWT validation failed: JWT is expired
{
"error": "JWT validation failed: JWT is expired"
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (auto)
- 403
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"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."
}
]
}
Not Found - returned if the request URL refers to a resource or object that does not exist
- application/json
- Schema
- Example (auto)
- 404
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"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 404 response object
{
"detailCode": "404 Not found",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server did not find a current representation for the target resource."
}
]
}
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
- application/json
- Schema
- Example (auto)
Schema
A message describing the error
Rate Limit Exceeded
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (auto)
- 500
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"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 500 response object
{
"detailCode": "500.0 Internal Fault",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "An internal fault occurred."
}
]
}
Authorization: oauth2
type: Personal Access Tokenscopes: sp:scopes:all
- go
- powershellSailPoint SDK
- pythonSailPoint SDK
- csharp
- curl
- dart
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- r
- ruby
- rust
- shell
- swift
- NATIVE