Upload a text document to your memory
API endpoint for uploading text documents to your memory. This allows you to add longer form content directly to your AI’s knowledge base.
Your Personal AI API key
Must be set to application/json
Body of text to upload to the memory. This should be as clean as possible.
Title of the uploaded document
Domain name of AI Persona to upload to
ISO timestamp string indicating start time (UTC)
ISO timestamp string indicating end time (UTC)
Comma delimited list of tags for context and reference
Boolean to specify whether to add the document to memory. Defaults to true.
Success or error message
Code | Description |
---|---|
403 | Forbidden - Check that API key is invalid |
400 | Invalid Request - Missing required fields or invalid format |
Upload a text document to your memory
API endpoint for uploading text documents to your memory. This allows you to add longer form content directly to your AI’s knowledge base.
Your Personal AI API key
Must be set to application/json
Body of text to upload to the memory. This should be as clean as possible.
Title of the uploaded document
Domain name of AI Persona to upload to
ISO timestamp string indicating start time (UTC)
ISO timestamp string indicating end time (UTC)
Comma delimited list of tags for context and reference
Boolean to specify whether to add the document to memory. Defaults to true.
Success or error message
Code | Description |
---|---|
403 | Forbidden - Check that API key is invalid |
400 | Invalid Request - Missing required fields or invalid format |