Skip to main content

FileUpload

File Upload

Query Parameters
  • c integer required

    Customer ID

  • o integer required

    Corpus ID

    Example: 1
  • d boolean

    If true, the server returns the extracted document that was indexed

Request Body
  • file binary required

    The file to be indexed into Vectara.

  • doc_metadata string

    A JSON string of any additional metadata you want attached to the file.

Responses

A successful response


Schema
  • response object
  • status object
  • quotaConsumed object
  • numChars string

    The number of characters Vectara indexed from the file uploaded.

  • numMetadataChars string

    The number of metadata characters Vectara indexed from the file uploaded.

Loading...