Skip to content

Upload file (not implemented)

POST
/v1/files
curl --request POST \
--url https://api.mirapi.ai/v1/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=undefined \
--form purpose=

This endpoint is not implemented yet.

Media typemultipart/form-data
object
file
string format: binary
purpose
string
Example
{
"file": "",
"purpose": ""
}

Not implemented

Media typeapplication/json
object
error
object
message

Error message

string
type

Error type

string
param

Related parameter

string
nullable
code

Error code

string
nullable
Examplegenerated
{
"error": {
"message": "example",
"type": "example",
"param": "example",
"code": "example"
}
}