Overview
Website crawling enables:- Automated Content Indexing - Automatically extract and index content from websites
- Knowledge Base Integration - Crawled content is added directly to your knowledge base
- Real-time Status Tracking - Monitor crawl progress and completion status
- Flexible Configuration - Control include/exclude paths, page limits, and crawl intervals
- Protected Sites - Crawl sites behind HTTP Basic, bearer token, cookie, or custom-header authentication
- Page Management - Exclude, include, delete, or resync individual pages
How It Works
- Create a Datasource - Provide a website URL and configuration options
- Crawl Starts Automatically - By default, a crawl begins immediately after creation
- Monitor Progress - Check crawl status and track page processing
- Manage Pages - Review crawled pages, exclude irrelevant ones, or resync outdated content
- Scheduled Recrawls - Datasources automatically recrawl on a configurable interval
Site Authentication
To crawl a site that isn’t publicly accessible, set the optionalauth field when creating
or updating a datasource. The credentials are sent to your site as request headers on every
crawl and are encrypted at rest — the API only ever returns auth_configured and
auth_type, never the secrets themselves.
basic- HTTP Basic authentication (username+password)bearer-Authorization: Bearer <token>cookie- A rawCookieheader value (e.g.session=…; token=…)headers- Arbitrary custom headers (e.g.X-Api-Key)
auth to leave it unchanged, pass null to clear it, or pass a new object
to replace it. The User-Agent header is reserved — crawls always identify as
OpenCX-Crawler/1.0 (+https://open.cx).
Crawl Job Statuses
pending- Crawl job created, waiting to startscraping- Crawl is actively running and extracting contentcompleted- Crawl finished successfully, content has been indexedfailed- Crawl encountered an error and could not completecancelled- Crawl was manually cancelled before completion
Page Sync Statuses
synced- Page content is indexed in the knowledge basepending- Page is waiting to be syncederror- Page failed to syncexcluded- Page is excluded from syncing
Available Endpoints
Datasource Management
Create Datasource
Create a new website datasource and start crawling
List Datasources
List all website datasources for your organization
Get Datasource
Get datasource details with page stats
Update Datasource
Update datasource configuration
Delete Datasource
Delete a website datasource
Crawl Operations
Start Crawl
Start a new crawl for a datasource
Cancel Crawl
Cancel an active crawl
List Crawl Jobs
View crawl history for a datasource
Get Crawl Job
Check the status of a specific crawl job
Page Management
List Pages
List crawled pages with filtering options
Exclude Pages
Exclude pages from future syncs
Include Pages
Re-include previously excluded pages