/** * This file was auto-generated by Fern from our API Definition. */ import * as Vellum from "../../../../index"; /** * @example * { * label: "x", * name: "x", * indexingConfig: { * vectorizer: { * config: {}, * modelName: "text-embedding-3-small" * } * } * } */ export interface DocumentIndexCreateRequest { /** A human-readable label for the document index */ label: string; /** A name that uniquely identifies this index within its workspace */ name: string; /** * The current status of the document index * * * `ACTIVE` - Active * * `ARCHIVED` - Archived * * `PENDING_DELETION` - Pending Deletion */ status?: Vellum.EntityStatus; indexingConfig: Vellum.DocumentIndexIndexingConfigRequest; /** Optionally specify the id of a document index from which you'd like to copy and re-index its documents into this newly created index */ copyDocumentsFromIndexId?: string; }