Logs

Change a saved log search.

Changed on
patch/projects/{project_id}/logs/saved-searches/{saved_search_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

saved_search_idinteger required

Saved search ID

Request body

descriptionstring nullable

Absent leaves the description unchanged; an empty string clears it.

namestring nullable

Absent leaves the name unchanged.

pinnedboolean nullable
time_rangestring nullable

Response

Saved search updated

alert_countinteger required

Log alert rules counting this search. A search with alerts cannot be deleted until they are detached, so the console can say so before offering the button.

created_atstring date-time required
created_byinteger nullable
descriptionstring nullable
idinteger required
namestring required
pinnedboolean required
project_idinteger required
time_rangestring required
updated_atstring date-time required

Changes