Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mind-e.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

Initiates crawling, content extraction, chunking, and embedding for a web source. This is an asynchronous operation.

Endpoint

POST /web-sources/{id}/train

Authentication

Required.

Path parameters

id
string
required
The web source ID.

Response

success
boolean
webSource
object
The web source with updated status (set to scraping).
callId
string
Processing job ID.

Example

curl -X POST https://api.mind-e.co/web-sources/ws-id-here/train \
  -H "Authorization: Bearer sk_live_your_key_here"
Training is asynchronous. The web source status progresses through scrapingchunkingcompleted. Check the web source status using Get Web Source.