Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Example:Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
分割モードを指定します。空欄のままにするか、jinaと記入してください。
Request samples
curl --location --request POST 'https://api.302.ai/302/kb/create_knowledge_base/upload/files' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--form 'files=@""' \
--form 'kb_id="0"' \
--form 'chunk_size="250"' \
--form 'chunk_overlap="50"' \
--form 'split_mode=""' \
--form 'max_chunk_length="4000"'
Responses
application/json Modified at 2024-10-25 03:06:28