Skip to main content
PATCH
/
v1
/
saved-filters
/
{id}
Update a saved filter (TRU-216)
curl --request PATCH \
  --url https://api.trulayer.ai/v1/saved-filters/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "filters": {}
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "filters": {},
  "created_by": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

SDK API key (tl_...) or Clerk session JWT

Path Parameters

id
string<uuid>
required

Body

application/json

PATCH body — all fields optional; only supplied fields are changed.

name
string
Maximum string length: 100
filters
object

Response

Updated saved filter

A team-shared, tenant-scoped query preset for the traces list (TRU-216). filters is an opaque JSON object whose shape is owned by the dashboard.

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
tenant_id
string<uuid>
required
project_id
string<uuid>
required
name
string
required
Maximum string length: 100
filters
object
required

Opaque filter DSL object owned by the dashboard.

created_by
string
required

Clerk user ID of the author.