Create Document Index

Beta
POST

Creates a new document index.

Request

This endpoint expects an object.
labelstringRequired>=1 character<=150 characters

A human-readable label for the document index

namestringRequired>=1 character<=150 characters

A name that uniquely identifies this index within its workspace

indexing_configobjectRequired
status"ACTIVE" or "ARCHIVED"Optional
Allowed values: ACTIVEARCHIVED

The current status of the document index

  • ACTIVE - Active
  • ARCHIVED - Archived
environmentenumOptional
Allowed values: DEVELOPMENTSTAGINGPRODUCTION

The environment this document index is used in

  • DEVELOPMENT - Development
  • STAGING - Staging
  • PRODUCTION - Production
copy_documents_from_index_idstringOptional

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

Response

idstring
createddatetime
labelstring<=150 characters

A human-readable label for the document index

namestring<=150 characters

A name that uniquely identifies this index within its workspace

indexing_configobject
status"ACTIVE" or "ARCHIVED"Optional
Allowed values: ACTIVEARCHIVED

The current status of the document index

  • ACTIVE - Active
  • ARCHIVED - Archived
environmentenumOptional
Allowed values: DEVELOPMENTSTAGINGPRODUCTION

The environment this document index is used in

  • DEVELOPMENT - Development
  • STAGING - Staging
  • PRODUCTION - Production