Update Document
Update a specific docuemnt using the feed_id (document ID) of that document.
Overview
API endpoint for updating a specific document in a persona’s memory. This endpoint allows you make changes to the document, but it’s important to note that the entire text must be passed, not just the updates as the previous content will not be reloaded in.
Headers
Must be set to application/json
Your Personal AI API key
Query Parameters
The ID associated with tthe document you want to upload. This can be retrieved using the Get Document endpoint.
Body
The domain part of the AI profile url
Entire updated text you want to pass for replacing the existing document.
Example Request
Array of memory blocks containing metadata about user memories including identification information, content labeling, ownership details, timestamps, and content.
Example Response
Example cURL
Error Codes
Code | Description |
---|---|
503 | Authorization Failure - API key is invalid |