GET /asset_model/saved_searches
Retrieves a list of saved searches that can be used or applied against the /asset_model/saved_searches/{saved_search_id}/results query.
Retrieves a list of saved searches that can be used or applied against the /asset_model/saved_searches/{saved_search_id}/results query.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
Range |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero. |
filter |
query |
Optional |
String |
text/plain |
Optional - This parameter is used to restrict the elements in a list base on the contents of various fields. |
fields |
query |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The request to retrieve the list of saved searches completed successfully. |
|
500 |
1020 |
The server encountered an error during the attempt to retrieve the list of saved searches. |
Response Description
A list of saved searches. Each saved search contains an ID, name, and list of filters.
Response Sample
[
{
"columns": [
{
"name": "String",
"type": "String"
}
],
"description": "String",
"filters": [
{
"operator": "String",
"parameter": "String",
"value": "String"
}
],
"id": 42,
"is_shared": true,
"name": "String",
"owner": "String"
}
]