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.

layerName

Name of the layer that specifies the annotations to use.

sourcePdfSha256

The SHA-256 hash of the source PDF file. Only for Instant. If empty, layer is considered as default.