メインコンテンツへ移動
Nowledge MemNowledge Mem

フォルダアップロードを取り込む

POST
/sources/ingest/folder-upload

Ingest client-uploaded folder files via multipart.

This is the remote/web-safe folder API. The server never reads a client filesystem path; clients upload file bytes and provide folder-relative paths in file_manifest.

Space-scoped: writes sources to space_id, defaulting to the canonical default space when omitted.

リクエストボディ

multipart/form-data

TypeScript定義

TypeScriptでrequest body型を使用します。

レスポンスボディ

application/json

application/json

curl -X POST "https://example.com/sources/ingest/folder-upload" \  -F files="[    \"string\"  ]" \  -F folder_name="string"
{  "folder_name": "",  "message": "",  "results": [    {      "is_duplicate": false,      "lifecycle_state": "string",      "message": "",      "original_name": "string",      "source_id": "string"    }  ],  "total_duplicates": 0,  "total_errors": 0,  "total_ingested": 0}