Knowledge
Add web pages
POST
A page, a sitemap's pages, or a site crawled from a URL, fetched into the base (_web/<host>/…) with robots.txt respected, and fetched again on the base's schedule. 202: the crawl runs on. In cloud a crawl fetches only through the platform's egress proxy, which refuses any address that is not on the public internet; it reads at most 500 pages, 3 links deep, one request a second per site, and stops when the plan's vault storage is full.
More in Knowledge API.
apiKeyheader
AuthorizationBearer <token>An API key, sk-syn- and 32 characters. On SynapseOrch Cloud an owner or admin makes it under Settings → Developer; on a self-hosted install, under Settings → API Keys.
kb_id*stringapplication/json- body
urls*array<string>Items
1 <= items <= 100kind?stringDefault
"page"Value in
"page""sitemap""site"max_depth?|nullmax_pages?|nullmetadata?Successful Response
application/json- response
crawl_id*stringaccepted*integerstatus?stringDefault
"queued"curl -X POST "https://api.synapseorch.com/api/v1/knowledge/bases/kb_01a10d3f5a7c9e1b3d5f7a9c1e3b5d7f/urls" \ -H "Authorization: Bearer sk-syn-..." \ -H "Content-Type: application/json" \ -d '{ "urls": [ "string" ] }'{ "crawl_id": "string", "accepted": 0, "status": "queued"}