Skip to main content
POST
Get Upload URL
Use this API to mint a short-lived signed URL for uploading a file up to 30 MB. Use it for the by-reference ingestion flow: get the URL, PUT the raw file bytes to it, then pass the returned fileRef to Ingest Knowledge.

Endpoint

POST https://api.velt.dev/v2/memory/knowledge/upload-url

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Request an upload URL for a PDF

Response

Upload the raw file bytes to uploadUrl with an HTTP PUT, then pass fileRef to Ingest Knowledge. The URL expires at expiresAt (epoch ms).

Success Response

Failure Response