cURL
curl --request POST \ --url https://api.pal.ai/v1/documents \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>", "id": "<string>", "title": "<string>", "url": "<string>", "contentType": "<string>", "metadata": { "{{metadataKey}}": "<string>" } } '
{ "content": "<string>", "id": "<string>", "title": "<string>", "url": "<string>", "contentType": "<string>", "metadata": { "{{metadataKey}}": "<string>" } }
Add one or more documents to your applications index.
Documentation IndexFetch the complete documentation index at: https://docs.pal.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.pal.ai/llms.txt
Use this file to discover all available pages before exploring further.
Metadata you want to store about this object.
Show child attributes
OK