Skip to main content
PUT
Update 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.

Authorization

x-api-key
string
required
Your Personal AI API key

Headers

Content-Type
string
required
Must be set to application/json

Query Parameters

feed_id
string
required
The ID associated with the document you want to update. This can be retrieved using the Get Document endpoint.

Body

DomainName
string
required
The hyphenated text below the AI’s name when clicked into a Persona.DomainName
Example Request
Text
string
Entire updated text you want to pass for replacing the existing document.
Example Request

Example Request

Example Request

Example Response

Example Success Response

Example cURL

cURL

Error Codes

Example Error Response