📖Get Ingestion

Check the ingestion status to see when the ingestion completes.

POST /docs/get_ingestion HTTP/1.1
Api-Key: my_api_key
Content-Type: application/json
Host: my_account_id.us-west-2.aws.chatbees.ai

{
  "namespace_name": "string",
  "collection_name": "string",
  "ingestion_id": "string"
}

Response:
{
  // ingestion_status: 1 = RUNNING, 2 = SUCCEEDED, 3 = FAILED
  "ingestion_status": int
}

Last updated