> ## 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.

# API 요청 로그 상세

> 특정 API 요청 로그 항목의 전체 요청 본문, 요청 헤더, 응답 본문, 응답 크기를 조회합니다. 목록 엔드포인트에서 확인한 `query_log_id`로 송수신된 실제 내용을 확인할 때 사용합니다.



## OpenAPI

````yaml ko-openapi POST /api_keys/logs/lookup
openapi: 3.0.0
info:
  description: >-
    Pubrio API는 연락처와 계정 정보를 검색, 미리보기, 그리고 보강하는 데 사용됩니다. Pubrio 데이터베이스는 풍부한 B2B
    연락처 및 영업 인텔리전스 데이터를 제공합니다.
  version: 1.0.0
  title: Pubrio OpenAPI
  termsOfService: https://pubrio.com/ko/terms-of-service
  contact:
    email: king.lai@pubrio.com
    name: King Lai
    url: https://pubrio.com/ko/get-in-touch
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://api.pubrio.com
security:
  - pubrio_api_key: []
tags:
  - name: Profile
    description: 워크스페이스 프로필 정보 및 사용량 통계
  - name: Enrichment
    description: 상세한 B2B 데이터로 인물 및 기업 레코드를 보강
  - name: Lookalike
    description: 지정된 기업과 유사한 기업 검색
  - name: Search
    description: 필터를 사용하여 인물, 기업, 채용, 뉴스 및 광고 검색
  - name: Lookup
    description: 특정 인물, 기업, 채용, 뉴스, 광고 및 기술의 상세 정보 조회
  - name: LinkedIn
    description: LinkedIn 프로필 URL을 통한 인물 및 기업 데이터 조회
  - name: Redeem
    description: 크레딧을 사용하여 인물 연락처 정보 잠금 해제 (단건 및 배치)
  - name: Channels
    description: 아웃리치 채널 템플릿 관리 (생성, 수정, 삭제, 목록)
  - name: Monitor
    description: 웹훅, 통계 및 처리를 포함한 데이터 모니터 생성 및 관리
  - name: Filters
    description: 검색 매개변수에 사용 가능한 필터 값 조회 (기술, 지역, 버티컬 등)
  - name: API Keys
    description: API 키의 요청 로그 및 사용량 분석 조회
externalDocs:
  description: >-
    Pubrio API는 연락처와 계정 정보를 검색, 미리보기, 그리고 보강하는 데 사용됩니다. Pubrio 데이터베이스는 풍부한 B2B
    연락처 및 영업 인텔리전스 데이터를 제공합니다.
  url: https://docs.pubrio.com
paths:
  /api_keys/logs/lookup:
    post:
      tags:
        - API Keys
      summary: API 요청 로그 상세 조회
      description: >-
        특정 API 요청 로그 항목의 전체 요청 본문, 요청 헤더, 응답 본문, 응답 크기를 조회합니다. 목록 엔드포인트에서 확인한
        `query_log_id`로 송수신된 실제 내용을 확인할 때 사용합니다.
      operationId: api_keys_lookup_log
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - query_log_id
              properties:
                profile_id:
                  $ref: '#/components/schemas/profile_id'
                query_log_id:
                  type: string
                  format: uuid
                  description: 조회할 로그 항목의 고유 식별자. `/api_keys/logs`에서 가져옵니다.
      responses:
        '200':
          description: 전체 요청 및 응답 본문을 반환하는 성공 응답.
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      query_log_id:
                        type: string
                        format: uuid
                        description: 조회한 로그 항목의 식별자.
                  data:
                    type: object
                    nullable: true
                    properties:
                      query_log_id:
                        type: string
                        format: uuid
                        description: 로그 항목의 식별자.
                      request_body:
                        type: string
                        nullable: true
                        description: 원본 요청 본문의 JSON 문자열.
                      request_headers:
                        type: string
                        nullable: true
                        description: 원본 요청 헤더의 JSON 문자열. API 키 등 민감한 헤더는 마스킹되어 저장됩니다.
                      response_body:
                        type: string
                        nullable: true
                        description: 호출자에게 반환된 응답 본문의 JSON 문자열.
                      response_size:
                        type: integer
                        description: 응답 본문 크기(바이트).
              example:
                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
        '400':
          $ref: '#/components/responses/general_error'
        '429':
          $ref: '#/components/responses/rate_limit_error'
        '500':
          $ref: '#/components/responses/server_error'
components:
  schemas:
    profile_id:
      type: integer
      description: >-
        선택 사항. 요청을 수행하는 팀 식별자입니다. API 키에 이미 워크스페이스 정보가 포함되어 있으므로 이 매개변수는 더 이상
        필수가 아닙니다. 제공되면 조회 및 사용 크레딧 추적을 위해 특정 팀(작업 공간)과 연계됩니다.


        자세한 내용은 팀 탭의 `user details` 엔드포인트를 참고하세요.
  responses:
    general_error:
      description: 잘못된 요청. 요청 형식이 올바르지 않거나 잘못된 매개변수가 포함되어 있습니다. 오류 코드와 메시지를 확인하세요.
      content:
        application/json:
          schema:
            required:
              - code
              - message
              - details
            type: object
            properties:
              code:
                example: 40001
                type: integer
              message:
                example: 오류 코드 및 메시지는 상황에 따라 다를 수 있습니다. 자세한 내용은 문서를 참조하세요.
                type: string
              details:
                type: object
    rate_limit_error:
      description: 요청 속도 제한 초과. 주어진 시간 내에 너무 많은 요청이 전송되었습니다. 속도 제한 창이 재설정된 후 다시 시도하세요.
      content:
        application/json:
          schema:
            required:
              - error
            type: object
            properties:
              error:
                example: 요청 빈도가 제한을 초과했습니다. 잠시 후 다시 시도해주세요.
                type: string
    server_error:
      description: 내부 서버 오류. 서버에서 예기치 않은 오류가 발생했습니다. 오류가 지속되면 지원팀에 문의하세요.
      content:
        application/json:
          schema:
            required:
              - error
            type: object
            properties:
              error:
                example: 요청을 처리하는 중 서버에서 예기치 않은 오류가 발생했습니다
                type: string
  securitySchemes:
    pubrio_api_key:
      type: apiKey
      name: pubrio-api-key
      description: >-
        API에서 수행하는 작업 및 해당 권한을 식별하는 고유한 API 토큰입니다. 이 토큰은
        [설정](https://dashboard.pubrio.com/#/settings/) 섹션에서 생성할 수 있습니다.
      in: header

````