Get Document
Personal AI APIs
Get Document
Retrieve a list or specific documents from a persona. Works in conjunction with the Update Document endpoint.
POST
Get Document
Documentation Index
Fetch the complete documentation index at: https://docs.personal.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
API endpoint for retrieving a specific document or list of documents from a persona. This endpoint allows you to access any document by name or pulling a series of documents using the query parameters for response size.Authorization
Your Personal AI API key
Headers
Must be set to application/json
Query Parameters
Your desired number of documents to be returned.
Body
The hyphenated text below the AI’s name when clicked into a Persona.

Example Request
Document name to retrieve a specific document. Leave blank if you want to retrieve mulitple documents.
Example Request
Example Request
Array of conversation messages, including both user messages and AI responses
Example Request
Example Response
Example Success Response
Example cURL
cURL
Error Codes
| Code | Description |
|---|---|
| 403 | Forbidden - Check that API key is invalid |