Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Headers

X-As-User
string | null

Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token

Body

multipart/form-data
file
file
required

The file to ingest.

collection
string | null
deprecated

The collection to add the document to — deprecated, set the collection using metadata instead.

metadata
string | null

Custom metadata as JSON string for filtering. Keys must be alphanumeric with underscores, max 64 chars. Values must be string, number, or boolean.

share
enum<string> | null

Who should see this memory, for a file uploaded on behalf of a user. personal (the default) keeps it visible to that user only. shared shares it with everyone in the app once it is processed, and is only accepted when the app allows direct sharing. A file uploaded without a user is always visible to everyone in the app, so it accepts shared and refuses personal.

Available options:
personal,
shared

Response

Successful Response

source
enum<string>
required
Available options:
reddit,
notion,
slack,
google_calendar,
google_mail,
imap,
google_meet,
box,
dropbox,
github,
gitlab,
google_drive,
vault,
web_crawler,
trace,
microsoft_outlook,
onedrive,
microsoft_teams,
granola,
fathom,
fireflies,
figma,
linear,
hubspot,
salesforce,
coda,
confluence,
jira,
metabase,
gong,
clickup,
lightfield,
pylon,
fellow,
odoo,
attio,
external_mcp,
page
resource_id
string
required
status
enum<string>
required
Available options:
pending,
processing,
completed,
failed,
pending_review,
skipped,
filtered,
cancelled
revision
string | null

Opaque Vault write version for a subsequent conditional write.