Files
Returns a list of the uploaded files.
Changed onReturns a list that includes ID, file name, size, purpose, file size, and media type for the uploaded files.
get/v1/files
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response.
Example response
{
"data": [
{
"path": "myfile.jpg",
"contentType": "image/jpeg"
}
]
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking