Files
Upload File
Uploads a file for content extraction, image understanding, or video understanding. file-extract only supports content extraction from text-based files (such as pdf, doc, txt); for image understanding, use purpose=image.
post/v1/files
Request
- Base URL: https://api.moonshot.ai
- URL: https://api.moonshot.ai/v1/files
- Auth: HTTP bearer
Response
Uploaded file metadata
Example response
{
"object": "file",
"status": "ready"
}Changes
No recorded changes to this operation across all 1 revision of this API.