Copy
Ask AI
curl -X POST "https://api.stack-ai.com/indexing/v0/documents/{flow_id}/{org_id}/{node_id}" \
-H "Authorization: Bearer <your-private-key>" \
-F "files=@/path/to/updated_document1.pdf" \
-F "files=@/path/to/updated_document2.pdf"
curl -X POST "https://api.stack-ai.com/indexing/v0/documents/{flow_id}/{org_id}/{node_id}" \
-H "Authorization: Bearer <your-private-key>" \
-F "files=@/path/to/updated_document1.pdf" \
-F "files=@/path/to/updated_document2.pdf"
Uploads documents to the knowledge base.
curl -X POST "https://api.stack-ai.com/indexing/v0/documents/{flow_id}/{org_id}/{node_id}" \
-H "Authorization: Bearer <your-private-key>" \
-F "files=@/path/to/updated_document1.pdf" \
-F "files=@/path/to/updated_document2.pdf"
Was this page helpful?