Skip to main content
POST
Error

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corps

application/json
name
string
requis

Display name for the saved search.

Maximum string length: 1024
Exemple:

"Production Errors"

sourceId
string
requis

ID of the source to query. Must belong to the team.

Exemple:

"507f1f77bcf86cd799439012"

select
string

Comma-separated list of column expressions to display. Empty uses the source default.

Maximum string length: 4096
Exemple:

"Timestamp, ServiceName, Body"

where
string

Row filter expression. The language is controlled by whereLanguage.

Maximum string length: 8192
Exemple:

"SeverityText:ERROR"

whereLanguage
enum<string>
défaut:lucene

Language used for the where filter.

Options disponibles:
lucene,
sql
Exemple:

"lucene"

orderBy
string

ORDER BY expression. Empty uses the source default.

Maximum string length: 1024
Exemple:

"Timestamp DESC"

tags
string[]

Tags used to organize saved searches.

Maximum array length: 50
Maximum string length: 32
Exemple:
filters
object[]

Structured pinned filters applied to the search.

Maximum array length: 100
Exemple:

Réponse

Successfully created saved search

data
object

The saved search object.

Dernière modification le 15 juillet 2026