api_access_token: ********************curl --location --request POST 'http://localhost:3030/platform/api/v1/documents' \
--header 'api_access_token: <api-key>' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"name": "Product Manual",
"external_link": "https://example.com/manual.pdf",
"content": "This is the content of the product manual...",
"assistant_id": 123
}'{
"success": true,
"document": {
"id": 456,
"name": "Product Manual",
"external_link": "https://example.com/manual.pdf",
"content": "This is the content of the product manual...",
"assistant_id": 123,
"account_id": 789,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
},
"message": "Document created successfully with FAQ and embeddings",
"faqs_generated": 5
}