메인 콘텐츠로 건너뛰기
POST
ClickStack: Create Saved Search

인증

Authorization
string
header
필수

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

경로 매개변수

organizationId
string<uuid>
필수

ID of the organization that owns the service.

serviceId
string<uuid>
필수

ID of the ClickStack service.

본문

application/json
name
string
필수

Display name for the saved search.

예시:

"Production Errors"

sourceId
string
필수

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

예시:

"507f1f77bcf86cd799439012"

select
string

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

예시:

"Timestamp, ServiceName, Body"

where
string

Row filter expression. The language is controlled by whereLanguage.

예시:

"SeverityText:ERROR"

whereLanguage
enum<string>

Language used for the where filter.

사용 가능한 옵션:
lucene,
sql
예시:

"lucene"

orderBy
string

ORDER BY expression. Empty uses the source default.

예시:

"Timestamp DESC"

tags
string[]

Tags used to organize saved searches.

예시:
filters
object[]

Structured pinned filters applied to the search.

예시:

응답

Successful response

status
number

HTTP status code.

예시:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object