curl --location '/knowledge/sources' \
--header 'Content-Type: application/json' \
--data '{
"kind": "url",
"url": "http://example.com",
"title": "string",
"refreshIntervalHours": 1,
"authHeaderName": "string",
"authHeaderValue": "string"
}'{
"source": {
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"kind": "string",
"title": "string",
"status": "pending",
"authHeaderConfigured": true,
"refreshIntervalHours": 1,
"errorCode": "string",
"url": "string",
"indexedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"chunkCount": 0,
"bytes": 0
},
"queued": true,
"usedByAgents": [
{
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string"
}
],
"agentsWithExplicitSources": 0,
"warnings": [
"string"
]
}