GET
/
v1
/
rag42
/
collections
/
{collection_id}
/
documents
/
{document_id}
/
chunks
청크 목록
curl --request GET \
  --url https://api.clovastudio.go.kr/v1/rag42/collections/{collection_id}/documents/{document_id}/chunks \
  --header 'Authorization: Bearer <token>'
{
  "status": {
    "code": "20000",
    "message": "OK"
  },
  "result": {
    "chunks": [
      {
        "chunk_id": "a1b2c3d4e5f6789012345678901234ab",
        "title": "업무 추진 개요",
        "content": "2024년 업무 추진 방향은 행정 효율화와 대국민 서비스 개선에 중점을 두고 있습니다.",
        "order": 1,
        "metadata": {
          "page": 1,
          "section": "intro"
        }
      },
      {
        "chunk_id": "b2c3d4e5f6a789012345678901234abc",
        "title": "부처별 실행 계획",
        "content": "각 부처별 실행 계획은 분기별로 점검하며, 주요 성과지표를 기반으로 평가됩니다.",
        "order": 2,
        "metadata": {
          "page": 2,
          "section": "details"
        }
      }
    ],
    "total_count": 2
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

CSG-TENANT-ID
string | null

Clova Studio Gov 테넌트 ID

X-CSG-TENANT-ID
string | null

Clova Studio Gov 테넌트 ID (레거시)

Path Parameters

collection_id
string
required

컬렉션 ID (프로젝트 ID)

Examples:

"ef7483af16d84818a59dcbcf8b587b93"

"a1b2c3d4e5f6789012345678901234ab"

document_id
string
required

문서 ID

Examples:

"ed5754eec78e4e0783ce075549ccadaa"

"f9d4ed5bda3548a5882a4cb2668f705f"

Query Parameters

size
integer | null
default:20

반환할 청크 수

Required range: 1 <= x <= 100
from
integer | null
default:0

시작 위치 (0부터)

Required range: x >= 0

Response

청크 목록 조회 성공

RAG42 청크 목록 응답

status
object
required

응답 상태

result
object
required

청크 목록 결과