llamaindex · Schema

IndexFile

A file within an index, including its processing status.

Properties

Name Type Description
file_id string Unique identifier of the file.
name string Original file name.
status string Processing status of the file within the index.
metadata object Custom metadata associated with the file.
View JSON Schema on GitHub

JSON Schema

llamaindex-indexfile-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IndexFile",
  "title": "IndexFile",
  "type": "object",
  "description": "A file within an index, including its processing status.",
  "properties": {
    "file_id": {
      "type": "string",
      "description": "Unique identifier of the file."
    },
    "name": {
      "type": "string",
      "description": "Original file name."
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "processing",
        "completed",
        "error"
      ],
      "description": "Processing status of the file within the index."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true,
      "description": "Custom metadata associated with the file."
    }
  }
}