llamaindex · Schema

File

A file uploaded to the LlamaCloud platform.

Properties

Name Type Description
id string Unique identifier of the file.
name string Original file name.
project_id string Identifier of the project the file belongs to.
file_size integer Size of the file in bytes.
content_type string MIME type of the file.
created_at string Timestamp when the file was uploaded.
View JSON Schema on GitHub

JSON Schema

llamaindex-file-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/File",
  "title": "File",
  "type": "object",
  "description": "A file uploaded to the LlamaCloud platform.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the file."
    },
    "name": {
      "type": "string",
      "description": "Original file name."
    },
    "project_id": {
      "type": "string",
      "description": "Identifier of the project the file belongs to."
    },
    "file_size": {
      "type": "integer",
      "description": "Size of the file in bytes."
    },
    "content_type": {
      "type": "string",
      "description": "MIME type of the file."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the file was uploaded."
    }
  }
}