instantIngestion

abstract suspend fun instantIngestion(documentId: String, layerName: String, sourcePdfSha256: String): AiAssistantRemoteClient.AiAssistantResponse<None>

Ingests a document with optional layer. Requires Document Engine.

Return

The result of the check operation.

Parameters

documentId

The ID of the document.

fileHash

The hash of the file.

layerName

Name of the layer that specifies the annotations to use. Only for Instant. If empty, layer is considered as default.