Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
text
curl --request POST \ --url https://pnbr.io/v1/documents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "content": "Acme renewed for 12 months after a procurement review led by their CFO.", "title": "Acme renewal note", "project_id": "9142fa4d-7aad-4a1b-8f99-b522fd37518d" } '
{ "id": "b2c1f0e9-1234-4abc-9def-0123456789ab", "status": "indexed", "project_id": "9142fa4d-7aad-4a1b-8f99-b522fd37518d", "document": { "id": "b2c1f0e9-1234-4abc-9def-0123456789ab", "title": "Acme renewal note", "type": "text", "ragReady": false }, "request_id": "11111111-2222-3333-4444-555555555555" }
Add a document from content, a url to crawl, a multipart file, or signed-upload metadata.
content
url
A pnbr- API key. Project-scoped keys make project_id implicit; org-scoped keys require it.
pnbr-
project_id
Raw text to index.
A URL to crawl and index.
Indexed document.