Skip to main content
POST
Attach a file to a chat

Body

application/json
filename
string
required
Example:

"brief.pdf"

contentBase64
string
required
sessionId
string<uuid>

The chat to attach to; omit to create one.

Response

The ingest outcome plus the session it landed in.

sessionId
string<uuid>
documentId
string<uuid>
outcome
enum<string>
Available options:
added,
updated,
unchanged,
converted,
exists
title
string
chunks
integer