CoroutineIndexesResource

Coroutine counterpart of IndexesResource. Request validation and typed errors are shared with the blocking models; safe status/list calls retry, while create/delete mutations do not.

Functions

Link copied to clipboard

Suspending counterpart of IndexesResource.createIndex.

suspend fun createIndex(mode: String = "", groupName: String = "", indexType: String? = null, modality: String? = null, streamName: String? = null, insertMode: String = "append", createIndex: Boolean = true, version: String = "new_version", startDate: String? = null, endDate: String? = null, embeddingModel: String? = null, reProcess: Boolean = false, dryRun: Boolean = false): IndexationSubmitResponse

Suspending convenience counterpart of IndexesResource.createIndex.

Link copied to clipboard

Suspending counterpart of IndexesResource.deleteIndex.

suspend fun deleteIndex(mode: String = "", groupName: String = "", version: String = "", modality: String? = null, dryRun: Boolean = false, confirm: Boolean = false): IndexationDeleteResponse

Suspending convenience counterpart of IndexesResource.deleteIndex.

Link copied to clipboard
suspend fun embeddingModels(): Nothing

Suspending counterpart of disabled IndexesResource.embeddingModels.

Link copied to clipboard
suspend fun indexStatus(jobId: String = ""): IndexationStatusResponse

Suspending counterpart of IndexesResource.indexStatus.

Link copied to clipboard
suspend fun jobsList(status: String? = null, mode: String? = null, groupName: String? = null, limit: Int = 200): IndexationJobsListResponse

Suspending counterpart of IndexesResource.jobsList.