Overview
API endpoint for uploading text documents to your memory. This allows you to add longer form content directly to your AI’s knowledge base.Authorization
Your Personal AI API key
Headers
Must be set to application/json
Body
Body of text to upload to the memory. This should be as clean as possible.
Example Request
Title of the uploaded document
Example Request
The hyphenated text below the AI’s name when clicked into a Persona.

Example Request
ISO timestamp string indicating start time (UTC)
Example Request
ISO timestamp string indicating end time (UTC)
Example Request
Comma delimited list of tags for context and reference
Example Request
Boolean to specify whether to add the document to memory. Defaults to true.
Example Request
Example
Exmaple Responses
Success or error message
Example Success Response
Example Error Response
Example cURL
cURL
Error Codes
Code | Description |
---|---|
403 | Forbidden - Check that API key is invalid |
400 | Invalid Request - Missing required fields or invalid format |