Skip to main content
POST
モニター統計ログ一覧

承認

pubrio-api-key
string
header
必須

API で実行する操作内容と、その操作に付与された権限を識別するための一意の API トークンです。このトークンはダッシュボードの 設定 画面から発行できます。

ボディ

application/json
monitor_id
string<uuid>

ログを取得するモニターの一意識別子。

monitor_ids
string<uuid>[]

指定したモニターのログに絞り込みます。

monitor_log_ids
string<uuid>[]

指定したログエントリに絞り込みます。

search_term
string

error_message、destination_type、detection_mode に対して照合される検索語(大文字小文字を区別しない部分一致)。

start_date
string<date>

created_at の日付範囲の開始日(ISO 日付文字列)。end_date と併用します。

end_date
string<date>

created_at の日付範囲の終了日(ISO 日付文字列)。start_date と併用します。

order_by
enum<string>
デフォルト:created_at

並び替えに使用するフィールド。デフォルトは created_at。

利用可能なオプション:
created_at,
total_credit,
processing_time_ms,
total_signals,
status,
retry_attempt
is_ascending_order
boolean
デフォルト:false

昇順で並び替えます。デフォルトは false(降順)。

statuses
string[]

トリガーステータスで絞り込みます(例:'success'、'failure')。仮想値 'recovered'(失敗後のリトライで成功したトリガー)も指定できます。

signal_types
string[]

シグナルタイプにこれらの値のいずれかを含むログに絞り込みます。

destination_types
string[]

配信先タイプで絞り込みます(例:['email', 'webhook'])。

detection_modes
string[]

検出モードで絞り込みます(例:['company_first', 'signal_first'])。

per_page
integer
デフォルト:25

1 ページあたりの件数。既定は 25 で、多くのプランではこれが上限でもあります。制限値はサブスクリプションの max_search_per_page で、Profile から取得できます。超過すると結果が丸められるのではなく、HTTP 416 とコード 41676(企業・人物検索では 41613)が返ります。

page
integer
デフォルト:1

ページ番号(1 から開始)。上限はサブスクリプションの max_search_page(企業検索では max_company_search_page)で、Profile から取得できます。超過すると HTTP 416 が返ります。

レスポンス

成功レスポンスです。エンベロープは { metadata: { filters }, data: { pagination, monitor_logs } } で、metadata.filters には検索に適用されたフィルターがエコーバックされます。

metadata
object
data
object