curl --request GET \
--url https://api.coralogix.com/mgmt/openapi/latest/data-exploration/saved-views/v1/{id} \
--header 'Authorization: <api-key>'{
"id": 52,
"name": "Logs view",
"timeSelection": {
"quickSelection": {
"seconds": 3600,
"caption": "Last Hour"
}
},
"filters": {
"filters": [
{
"name": "applicationName",
"selectedValues": {}
}
]
},
"folderId": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"isCompactMode": true,
"searchQuery": {
"query": "<string>",
"syntaxType": "SYNTAX_TYPE_UNSPECIFIED"
},
"viewType": "VIEW_TYPE_UNSPECIFIED"
}Gets a view by ID
curl --request GET \
--url https://api.coralogix.com/mgmt/openapi/latest/data-exploration/saved-views/v1/{id} \
--header 'Authorization: <api-key>'{
"id": 52,
"name": "Logs view",
"timeSelection": {
"quickSelection": {
"seconds": 3600,
"caption": "Last Hour"
}
},
"filters": {
"filters": [
{
"name": "applicationName",
"selectedValues": {}
}
]
},
"folderId": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"isCompactMode": true,
"searchQuery": {
"query": "<string>",
"syntaxType": "SYNTAX_TYPE_UNSPECIFIED"
},
"viewType": "VIEW_TYPE_UNSPECIFIED"
}API key authentication
id
52
Response for views.
id
52
View name
1"Logs view"
Show child attributes
Show child attributes
Unique identifier for folders
36"3dc02998-0b50-4ea8-b68a-4779d716fa1f"
Show child attributes
VIEW_TYPE_UNSPECIFIED, VIEW_TYPE_LOGS, VIEW_TYPE_TEMPLATES, VIEW_TYPE_ARCHIVE_LOGS, VIEW_TYPE_ARCHIVE_TEMPLATES Was this page helpful?