v10

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0643140398.0 KB
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

task_idstring required

Unique identifier for the asynchronous task, used to track progress and retrieve results

Example response

{
  "task_id": "123e4567-e89b-12d3-a456-426614174000"
}