Skip to main content
POST
Upload Text
Upload text files along with optional metadata like name and description.

Headers

string
required
Your API key for authentication.

Body

file
required
The text file to be uploaded. Must be a .pdf, .txt, .doc, or .docx file.
string
Name for the uploaded text file
string
Description for the uploaded text file

Docs for agents: llms.txt