Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
컬렉션 ID
Examples:
"ef7483af16d84818a59dcbcf8b587b93"
curl --request GET \
--url https://api.clovastudio.go.kr/v1/rag42/collections/{collection_id} \
--header 'Authorization: Bearer <token>'{
"status": {
"code": "20000",
"message": "OK"
},
"result": {
"collection_id": "ef7483af16d84818a59dcbcf8b587b93",
"collection_name": "행정문서_2024",
"visibility": "private",
"is_owner": true,
"created_at": "2024-01-15T09:00:00Z",
"updated_at": "2024-10-18T10:30:00Z",
"search_config": {
"mode": "hybrid",
"alpha": 0.5
},
"ingest_config": {
"chunking_strategy": "by_length",
"chunk_size": 2000,
"chunk_overlap": 200,
"embedding_model": "bge-m3",
"embedding_dimension": 1024,
"pii_mask": true,
"parser_model": "rag42-chunk-v1",
"indexed_fields": [
"author",
"department",
"document_type"
],
"external_id_field": "document_number"
},
"document_count": 1250,
"chunk_count": 8760
}
}컬렉션을 조회합니다.
curl --request GET \
--url https://api.clovastudio.go.kr/v1/rag42/collections/{collection_id} \
--header 'Authorization: Bearer <token>'{
"status": {
"code": "20000",
"message": "OK"
},
"result": {
"collection_id": "ef7483af16d84818a59dcbcf8b587b93",
"collection_name": "행정문서_2024",
"visibility": "private",
"is_owner": true,
"created_at": "2024-01-15T09:00:00Z",
"updated_at": "2024-10-18T10:30:00Z",
"search_config": {
"mode": "hybrid",
"alpha": 0.5
},
"ingest_config": {
"chunking_strategy": "by_length",
"chunk_size": 2000,
"chunk_overlap": 200,
"embedding_model": "bge-m3",
"embedding_dimension": 1024,
"pii_mask": true,
"parser_model": "rag42-chunk-v1",
"indexed_fields": [
"author",
"department",
"document_type"
],
"external_id_field": "document_number"
},
"document_count": 1250,
"chunk_count": 8760
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
컬렉션 ID
"ef7483af16d84818a59dcbcf8b587b93"