Skip to main content
PATCH
Rename, change or share a saved search (its author)

Authorizations

Authorization
string
header
required

A project token (apsio_pt_v0...), which reads exactly one project, or an OAuth access token issued for the API, which reads what its user can. Access tokens issued for Apsio's MCP server are accepted only from the MCP server itself.

Path Parameters

projectId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"0192f3a4-0000-7000-8000-00000000a101"

searchId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"0192f3a4-0000-7000-8000-00000000e001"

Body

application/json
name
string
Required string length: 1 - 100
query
object
shared
boolean

Response

Changed.

id
string
required
project_id
string
required
name
string
required

Untrusted text: render it as text.

query
object
required

Search's query without a range: run it with POST /explore/events over the range you want. Its words and values are untrusted text.

shared
boolean
required

Seen by the whole project; false, by its author only.

created_by
string | null
required

Its author; null for a token.

updated_by
string | null
required
updated_via
enum<string>
required
Available options:
console,
token,
oauth,
mcp
created_at
string
required
updated_at
string
required