Skip to main content
POST
Create a saved query

Authorizations

oiq_token
string
cookie
required

Query Parameters

tenantId
string

Tenant identifier. Overwritten from the authenticated session; a value naming a different tenant is refused with 403.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9_-]*$

Body

application/json
name
string
Required string length: 1 - 256
source
string

One of logs, traces, metrics, events, security.

Maximum string length: 32
description
string | null
Maximum string length: 4096
filters
array
timeRange
object | null
createdBy
string | null

Ignored. The creator is taken from the authenticated session.

Maximum string length: 320

Response

200

Success