-.file対応タイプ:
".pptx", ".docx", ".xlsx", ".xls", ".csv", ".json", ".pdf",
".jpg", ".jpeg", ".png", ".zip", ".html", ".xml",
".wav", ".mp3", ".m4a"
Request
Example:Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
source_data_type
enum<string>
requiredソース入力タイプ(text、file、url)、source_data_typeがfileの場合はfileフィールドを渡す必要があり、それ以外の場合はsource_dataフィールドを渡す必要があります
Allowed values:textfileurl
ソース入力データ、source_data_typeがfileの場合はfileフィールドを渡す必要があり、それ以外の場合はsource_dataフィールドを渡す必要があります
アップロードされたファイル、source_data_typeがfileの場合はfileフィールドを渡す必要があり、それ以外の場合はsource_dataフィールドを渡す必要があります
response_type
enum<string>
requiredRequest samples
curl --location --request POST 'https://api.302.ai/302/markitdown/convert' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--form 'source_data_type="text"' \
--form 'source_data=""' \
--form 'file=@""' \
--form 'response_type="text"'
Modified at 2025-06-12 04:07:57