Artifacts
Artifacts
Ingest Content Asynchronously
Initiate asynchronous ingestion of content from multiple sources
post/v1/artifacts/ingest/async
Request body
Example request
{
"callback": {
"amqp": {
"exchange": "ingestion_events",
"routing_key_done": "ingest.completed",
"routing_key_error": "ingest.failed",
"routing_key_progress": "ingest.progress"
}
},
"ingest_body": {
"artifact": "large_document_2024",
"collection": "technical_docs",
"input": {
"type": "uri",
"value": "https://example.com/docs/large-document.pdf"
},
"metadata": {
"file_name": "large-document.pdf",
"pages": 120,
"size_mb": 45
}
}
}Response
Successfully initiated ingestion task
Example response
{
"task_id": "123e4567-e89b-12d3-a456-426614174000"
}