sourceId
Example request
createWebSource for the field descriptions.
Errors
400whensourceIdis missing.404if the web source is not found.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fetch a single web source by ID.
sourceId
| Field | Type | Required | Notes |
|---|---|---|---|
sourceId | string | ✅ | Web source ID returned by createWebSource or listWebSources. |
curl -X POST "https://service.usemoss.dev/v1/manage" \
-H "Content-Type: application/json" \
-H "x-service-version: v1" \
-H "x-project-key: moss_access_key_xxxxx" \
-d '{
"action": "getWebSource",
"projectId": "project_123",
"sourceId": "7f2a9c04-3b1e-4c8a-9d2f-1e5b6a7c8d90"
}'
{
"id": "7f2a9c04-3b1e-4c8a-9d2f-1e5b6a7c8d90",
"indexName": "docs-site",
"rootUrl": "https://docs.yoursite.com",
"maxPages": 500,
"maxDocuments": 50000,
"maxDepth": 3,
"respectRobots": true,
"parseDocuments": true,
"refreshCadence": "weekly",
"nextRefreshAt": "2026-09-08T10:00:00.000+00:00",
"lastCrawledAt": "2026-09-01T10:12:41.000+00:00",
"lastPageCount": 214,
"lastDocCount": 1893,
"status": "idle",
"lastErrorCode": null,
"createdAt": "2026-09-01T10:00:00.000+00:00"
}
createWebSource for the field descriptions.
Errors
400 when sourceId is missing.404 if the web source is not found.