Sync Source By Url
POST https://api.credal.ai/api/v0/catalog/syncSourceByUrl Content-Type: application/json
Sync a document from a source URL. Does not support recursive web search. Reach out to a Credal representative for access.
Reference: https://docs.credal.ai/api-reference/api-reference/document-catalog/sync-source-by-url
Authentication
Section titled “Authentication”Authorizationheader (bearer token, required) — Bearer authentication of the formBearer <token>, where token is your auth token.
Request
Section titled “Request”Body (application/json)
This endpoint expects a SyncSourceByUrlRequest.
uploadAsUserEmail(string, required)sourceUrl(string, required)
Response
Section titled “Response”200
sourceId(UUID, required)
Examples
Request
{
"uploadAsUserEmail": "ria@credal.ai",
"sourceUrl": "https://drive.google.com/file/d/123456/view"
}Response
{
"sourceId": "82e4b12a-6990-45d4-8ebd-85c00e030c24"
}