アップロードを作成
POST
https://api.openai.com/v1/uploads
目的のために
は、正しいmime_type
を指定する必要があります。ユースケースでサポートされているMIMEタイプについては、ドキュメントを参照してください。Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.openai.com/v1/uploads' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
"id": "string",
"object": "string",
"bytes": 0,
"created_at": 0,
"filename": "string",
"purpose": "string",
"status": "string",
"expires_at": 0
}
Request
Body Params application/json
Responses
Modified at 2025-01-02 09:41:20