cURL
curl --request POST \ --url https://prod-contactswing-fastapi-962560522883.us-central1.run.app/v2/_knowledge_base \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "urls": "<string>", "files": "<string>" } '
{ "ctx_id": "<string>", "data": { "id": "<string>", "name": "<string>" } }
Create a new knowledge base via the ContactSwing API.
Documentation IndexFetch the complete documentation index at: https://docs.contactswing.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.contactswing.ai/llms.txt
Use this file to discover all available pages before exploring further.
{ "name": "Product Documentation", "description": "Technical docs and FAQs" }