メインコンテンツへスキップ
POST
/
api_keys
/
logs
/
lookup
APIリクエストログの詳細取得
curl --request POST \
  --url https://api.pubrio.com/api_keys/logs/lookup \
  --header 'Content-Type: application/json' \
  --header 'pubrio-api-key: <api-key>' \
  --data '
{
  "query_log_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "profile_id": 123
}
'
{
  "metadata": {
    "query_log_id": "fc1ce3dd-39f7-4fbd-9d22-569a17115c11"
  },
  "data": {
    "query_log_id": "fc1ce3dd-39f7-4fbd-9d22-569a17115c11",
    "request_body": "{\"start_date\":\"2026-05-01\",\"end_date\":\"2026-05-14\"}",
    "request_headers": "{\"host\":\"api.pubrio.com\",\"user-agent\":\"curl/8.7.1\",\"accept\":\"*/*\",\"pubrio-api-key\":\"***\",\"content-type\":\"application/json\",\"content-length\":\"51\"}",
    "response_body": "{\"metadata\":{\"filters\":{\"start_date\":\"2026-05-01\",\"end_date\":\"2026-05-14\"}},\"data\":{\"series\":[...],\"by_log_type\":[...],\"totals\":{\"credits\":41892,\"requests\":4896}}}",
    "response_size": 2346
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pubrio.com/llms.txt

Use this file to discover all available pages before exploring further.

承認

pubrio-api-key
string
header
必須

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

ボディ

application/json
query_log_id
string<uuid>
必須

取得対象のログエントリの一意識別子。/api_keys/logs から取得します。

profile_id
integer

オプション。リクエストを送信するチームを表す識別子です。API キーにワークスペース情報が既に含まれているため、このパラメータは必須ではなくなりました。指定した場合、検索結果が特定のチーム(ワークスペース)に紐づけられ、データ取得およびクレジット利用状況の追跡が可能になります。詳しくは、チーム関連の「ユーザー詳細」エンドポイントを参照してください。

レスポンス

完全なリクエスト・レスポンス本文を返す成功レスポンス。

metadata
object
data
object