Skip to main content
POST

Overview

Uploading takes three steps:
  1. Call this endpoint with the file’s name. It returns a signed upload_url (valid for 15 minutes) and a job_id.
  2. PUT the file’s bytes to upload_url with the returned content_type as the Content-Type header. No API key on this request.
  3. Poll Get File Job until status is complete (or failed).
Supported types: .pdf, .docx, .xlsx, .json, .txt, .csv and .md.

Authentication

string
required
Your Memanto Cloud API key (mk_...). See Authentication.

Path Parameters

string
required
The agent’s ID.

Body

string
required
The file’s name, with its extension.
integer
The file’s size.
array
Up to 20 tags.
Then upload the bytes: