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.

Automatically discover related pages from the same domain as a web source. Useful for finding all pages to include in the knowledge base.

Endpoint

POST /web-sources/{id}/discover

Authentication

Required.

Path parameters

id
string
required
The web source ID.

Response

success
boolean
webSource
object
The web source with updated discovered URLs.
discoveredCount
number
Number of URLs discovered.

Example

curl -X POST https://api.mind-e.co/web-sources/ws-id-here/discover \
  -H "Authorization: Bearer sk_live_your_key_here"

Response

{
  "success": true,
  "webSource": { "..." },
  "discoveredCount": 15
}
After discovering URLs, review the list and remove any you don’t want included. Then use Train to process the content.