curl --request POST \
--url https://api.example.com/api/ingest/url \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"destination": {
"project_id": "<string>",
"type": "library"
},
"force": false,
"namespace": "global",
"taxonomy_labels": [
"<string>"
]
}
'{
"status": "ok",
"chunks_created": 1,
"error": "<string>",
"source_id": "<string>",
"title": "<string>"
}Ingest a URL directly (for Add to Library button).
Smart routing:
Returns immediately with result (no job tracking).
curl --request POST \
--url https://api.example.com/api/ingest/url \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"destination": {
"project_id": "<string>",
"type": "library"
},
"force": false,
"namespace": "global",
"taxonomy_labels": [
"<string>"
]
}
'{
"status": "ok",
"chunks_created": 1,
"error": "<string>",
"source_id": "<string>",
"title": "<string>"
}