파일 업로드 및 저장소 API (/v1/files)
배치 전사 작업을 제출하기 전에 OneASR 서버 저장소에 저장된 오디오 및 비디오 파일을 관리합니다.
1. 파일 업로드 (POST /v1/files/upload)
http
POST /v1/files/upload
Authorization: Bearer sk-oneasr-...
Content-Type: multipart/form-data응답:
json
{
"file_id": "file_4a2c9b1e0f3d5a7b",
"filename": "interview.mp3",
"size_bytes": 14502300,
"duration_seconds": 1820.5,
"created_at": "2026-09-28T15:00:00Z"
}2. 파일 목록 조회 (GET /v1/files/list)
http
GET /v1/files/list?limit=20&offset=0
Authorization: Bearer sk-oneasr-...3. 파일 삭제 (DELETE /v1/files/{file_id})
http
DELETE /v1/files/file_4a2c9b1e0f3d5a7b
Authorization: Bearer sk-oneasr-...