cURL
curl --request GET \ --url https://api.clovastudio.go.kr/v1/lomin/document/{document_id}/content \ --header 'Authorization: Bearer <token>'
200
completed
{ "status": { "code": "20000", "message": "OK" }, "result": { "model": "lomin-layout-v1", "document_id": "doc_lomin_abc123def456", "status": "SUCCESS", "processing_time_ms": 2345.6, "prediction": { "all_pages": [ { "page": 1, "rectification": { "rotation": { "angle": 0, "expansion": true } }, "classes": [ { "id": "1_0", "class": "Title", "contents": "공문서 제출 안내", "confidence": 0.96 }, { "id": "1_1", "class": "Text", "contents": "제출 기한: 2024년 10월 31일까지", "confidence": 0.94 } ] } ] } }, "usage": { "pages": 1 }}
문서 인식 결과를 요청합니다.
주요 기능:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
성공 - 파싱 결과 반환
응답 상태
Show child attributes
응답 결과 데이터
API 사용량 정보 (파서, 검색, 업로드 API에서만 제공) API 사용량 정보 - 공통 베이스
{ "embedding_tokens": 15, "rerank_tokens": 130, "total_tokens": 145}
{ "embedding_tokens": 15, "total_tokens": 15}
{ "pages": 3 }