curl --location 'https://api.opencopilot.so/backend/knowledgebase/ingest/files' \
--header 'Authorization: Bearer <token>' \
--form 'files=@"postman-cloud:///1eee6393-a599-4da0-890f-533c80664711"' \
--form 'bot_id="bcfd9096-b947-49fb-888c-232858de7ca0"'
Ingest knowledge from files into the copilot.
curl --location 'https://api.opencopilot.so/backend/knowledgebase/ingest/files' \
--header 'Authorization: Bearer <token>' \
--form 'files=@"postman-cloud:///1eee6393-a599-4da0-890f-533c80664711"' \
--form 'bot_id="bcfd9096-b947-49fb-888c-232858de7ca0"'
curl --location 'https://api.opencopilot.so/backend/knowledgebase/ingest/files' \
--header 'Authorization: Bearer <token>' \
--form 'files=@"postman-cloud:///1eee6393-a599-4da0-890f-533c80664711"' \
--form 'bot_id="bcfd9096-b947-49fb-888c-232858de7ca0"'
Was this page helpful?