쿼리

저장된 및 예약된 쿼리에 대한 REST API 작업

개요

circle-info

를 입력하세요 /queries REST API 작업은 Panther 버전 1.101부터 오픈 베타로 제공되며 모든 고객이 사용할 수 있습니다. 버그 보고 및 기능 요청은 Panther 지원팀에 공유해 주세요.

다음과 상호작용하려면 이 API 작업을 사용하세요 저장된 및 예약된 검색 Panther에서.

API를 호출하려면 Panther REST API 사용 방법 지침을 참조하세요— 이 문서 페이지에서 직접 호출하는 방법에 대한 안내.

circle-exclamation

필수 권한

  • 다음에 대해 GET 작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다 쿼리 데이터 레이크 권한을 선택하세요.

  • 다음에 대해 POST, PUTDELETE 작업을 수행하려면 API 토큰에 다음 권한이 있어야 합니다 저장된 검색 관리 권한을 선택하세요.

작업

create query

post
Authorizations
X-API-KeystringRequired
Body
descriptionstringOptional

The description of the query

namestringRequired

The name of the query

sqlstringRequired

The raw sql of the query

Responses
chevron-right
200

OK response.

application/json
post
/queries

get query

get
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the query to fetch

Responses
chevron-right
200

OK response.

application/json
get
/queries/{id}

update query

post

updates a query

Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired
Body
descriptionstringOptional

The description of the query

namestringRequired

The name of the query

sqlstringRequired

The raw sql of the query

Responses
chevron-right
200

OK response.

application/json
post
/queries/{id}

delete query

delete
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the query to delete

Responses
delete
/queries/{id}

No content

list queries

get
Authorizations
X-API-KeystringRequired
Query parameters
cursorstringOptional

the pagination token

limitinteger · int64Optional

the maximum results to return

Default: 100
Responses
chevron-right
200

OK response.

application/json
get
/queries
200

OK response.

Last updated

Was this helpful?