# 지연된 대화 조회

## UI 소개

{% tabs %}
{% tab title="데이터플로우" %}

<figure><img src="https://1362923181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5PH5ktGI0BWG6g9fvtcn%2Fuploads%2Fck0K7gNeixcqXQM7jP9O%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%200007-03-20%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%202.28.04.png?alt=media&#x26;token=3cea5866-143e-42bb-8b34-3b6fd69bcc5d" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

<table><thead><tr><th width="173" align="center">항목명</th><th width="288" align="center">항목소개</th><th align="center">비고</th></tr></thead><tbody><tr><td align="center">대화 ID</td><td align="center">대화 지연 생성시 획득한 request id 입력</td><td align="center"></td></tr></tbody></table>

## 실행 결과

| 데이터 값                                       | 데이터 내용                                                              |
| ------------------------------------------- | ------------------------------------------------------------------- |
| id                                          | 응답 생성 ID                                                            |
| object                                      | 응답 객체 형태 : chat.completion 고정값                                      |
| model                                       | 사용 모델                                                               |
| created                                     | 생성일시 타임스탬프                                                          |
| request\_id                                 | <p>대화 지연 생성 옵션 선택시 반환, <br>설정하지 않았을 경우 해당 값은 반환되지 않음</p>            |
| choices\[]                                  | 요청 프롬프트에 따른 응답 선택 목록                                                |
| choices\[].index                            | 응답 선택 위치                                                            |
| choices\[].finish\_reason                   | <p>텍스트 생성 중단 사유<br> - stop : 생성 완료<br> - length : Max Length 초과</p> |
| choices\[].message                          | 메세지 내용                                                              |
| choices\[].message.role                     | 메세지 역할 : system, user, assistant                                    |
| choices\[].message.content                  | 메세지 내용                                                              |
| choices\[].message.refusal                  | 모델의 응답 거부여부 (정상 호출시 값은 null)                                        |
| usage                                       | 토큰 사용량 정보                                                           |
| usage.promp\_tokens                         | 요청 메세지 토큰 수                                                         |
| usage.completion\_tokens                    | 응답 메세지 토큰 수                                                         |
| usage.total\_tokens                         | 요청, 응답을 포함한 메세지 토큰 수 총합                                             |
| usage.prompt\_token\_details                | 토큰 상세 사용 내역                                                         |
| usage.prompt\_token\_details.text\_tokens   | 텍스트 생성 사용 토큰 수                                                      |
| usage.prompt\_token\_details.audio\_tokens  | 음성 생성 사용 토큰 수                                                       |
| usage.prompt\_token\_details.image\_tokens  | 이미지 생성 사용 토큰 수                                                      |
| usage.prompt\_token\_details.cached\_tokens | 사용된 캐시된 토큰 수                                                        |
