이 문서는 영어 원문을 자동 번역한 것으로, 내용이 원문과 다를 수 있습니다.영어 원문 보기
벡터 스토어에 파일을 추가합니다. 파일은 비동기 방식으로 인덱싱됩니다.
curl -X POST https://api.upstage.ai/v2/vector_stores/vs_abc123def456/files \
-H "Authorization: Bearer $UPSTAGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file_id": "file_xyz789"
}'
{
"id": "file_xyz789",
"object": "vector_store.file",
"created_at": 1711644900,
"vector_store_id": "vs_abc123def456",
"status": "in_progress",
"last_error": null,
"usage_bytes": 0,
"chunking_strategy": {"type": "auto"},
"attributes": null
}
벡터 스토어와 그 안에 인덱싱된 모든 파일 및 벡터를 삭제합니다. 경로 파라미터, 삭제 확인 객체(id, object, deleted), 요청·응답 예시를 다룹니다.
벡터 스토어의 파일 목록을 조회합니다. 페이지네이션 및 상태 필터 파라미터(limit, order, after, before, filter), 반환되는 목록 객체, 요청·응답 예시를 다룹니다.