Who it's for

Builders of a chat-with-your-PDF app who want the document link and the conversation stored safely.

What you get

A document attached to a chat: its storage key and file name, owned by the same workspace as the chat.

One document per chat; the conversation itself is an ai-chat conversation.

The file is a private storage key, never an inline copy.