메인 콘텐츠로 건너뛰기
POST
/
api_keys
/
logs
API 요청 로그 목록 조회
curl --request POST \
  --url https://api.pubrio.com/api_keys/logs \
  --header 'Content-Type: application/json' \
  --header 'pubrio-api-key: <api-key>' \
  --data '
{
  "profile_id": 123,
  "page": 1,
  "per_page": 25,
  "order_by": "created_at",
  "is_ascending_order": false,
  "search_term": "<string>",
  "log_types": [
    123
  ],
  "log_type_slugs": [
    "<string>"
  ],
  "status_codes": [
    123
  ],
  "methods": [
    "<string>"
  ]
}
'
{
  "metadata": {
    "filters": {
      "page": 1,
      "per_page": 3,
      "status_codes": [
        200
      ]
    }
  },
  "data": {
    "pagination": {
      "page": 1,
      "per_page": 3,
      "total_entries": 1109,
      "total_pages": 370,
      "total_display_pages": 250,
      "is_timeout": false
    },
    "query_logs": [
      {
        "query_log_id": "fc1ce3dd-39f7-4fbd-9d22-569a17115c11",
        "created_at": "2026-05-14 12:04:32.243",
        "profile_id": 1,
        "user_id": "2981d4b3-f8b1-44d8-9759-889f3bfa2faf",
        "method": "POST",
        "path": "/api_keys/usage/daily",
        "status_code": 200,
        "duration_ms": 1821,
        "log_type_id": 0,
        "authentication_type": "pubrio-api-key",
        "masked_authentication": "0••••••••••••••••f39",
        "response_size": 2180,
        "ip": "127.0.0.1",
        "email": "[email protected]",
        "nickname": "Example User",
        "user": {
          "user_id": "2981d4b3-f8b1-44d8-9759-889f3bfa2faf",
          "nickname": "Example User",
          "email": "[email protected]"
        },
        "log_type_slug": null,
        "credits": 0,
        "log_type_name": null,
        "authentication_type_name": "API Key"
      }
    ]
  }
}

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
profile_id
integer

선택 사항. 요청을 수행하는 팀 식별자입니다. API 키에 이미 워크스페이스 정보가 포함되어 있으므로 이 매개변수는 더 이상 필수가 아닙니다. 제공되면 조회 및 사용 크레딧 추적을 위해 특정 팀(작업 공간)과 연계됩니다.

자세한 내용은 팀 탭의 user details 엔드포인트를 참고하세요.

page
integer

조회할 데이터 페이지 번호입니다.

예시:

1

per_page
integer

페이지당 반환할 검색 결과 수입니다. 결과 수를 제한하면 API 성능이 향상됩니다.

예시:

25

order_by
enum<string>
기본값:created_at

로그 목록 정렬에 사용할 필드.

사용 가능한 옵션:
created_at,
duration_ms,
status_code
is_ascending_order
boolean
기본값:false

정렬 방향. true는 오름차순, false(기본값)는 내림차순.

search_term
string

요청 경로, 로그 타입 슬러그, 원본 요청 본문에 대한 자유 검색.

log_types
integer[]

로그 타입 ID로 필터링.

log_type_slugs
string[]

로그 타입 슬러그로 필터링(예: people_search, company_search).

status_codes
integer[]

HTTP 상태 코드로 필터링(예: [200, 400, 500]).

methods
string[]

HTTP 메서드로 필터링(예: ["POST", "GET"]).

응답

페이지네이션된 API 요청 로그를 반환하는 성공 응답.

metadata
object
data
object