IndexesResource

Index creation, status, listing, and deletion operations.

Constructors

Link copied to clipboard
constructor(http: VmodalHttp)

Functions

Link copied to clipboard

Validates and creates an index job.

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

Convenience overload that constructs and validates an index request.

Link copied to clipboard

Validates and deletes an index version.

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

Convenience overload that constructs and validates a deletion request.

Link copied to clipboard

Always throws FeatureDisabled before transport.

Link copied to clipboard

Returns current status for a required job identifier.

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

Lists index jobs with optional filters and a bounded result limit.