{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-gemini/json-schema/google-gemini-file-search-store-schema.json",
  "title": "FileSearchStore",
  "description": "A `FileSearchStore` is a collection of `Document`s.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-gemini-file-search-stores-api-openapi.yml#/components/schemas/FileSearchStore",
  "properties": {
    "pendingDocumentsCount": {
      "format": "int64",
      "description": "Output only. The number of documents in the `FileSearchStore` that are being processed.",
      "type": "string",
      "readOnly": true
    },
    "updateTime": {
      "type": "string",
      "description": "Output only. The Timestamp of when the `FileSearchStore` was last updated.",
      "format": "google-datetime",
      "readOnly": true
    },
    "displayName": {
      "description": "Optional. The human-readable display name for the `FileSearchStore`. The display name must be no more than 512 characters in length, including spaces. Example: \"Docs on Semantic Retriever\"",
      "type": "string"
    },
    "sizeBytes": {
      "description": "Output only. The size of raw bytes ingested into the `FileSearchStore`. This is the total size of all the documents in the `FileSearchStore`.",
      "readOnly": true,
      "format": "int64",
      "type": "string"
    },
    "embeddingModel": {
      "type": "string",
      "description": "Optional. The embedding model to use for the `FileSearchStore`. The model's resource name. This serves as an ID for the Model to use. Format: `models/{model}`. If not specified, the default embedding model will be used."
    },
    "name": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. Immutable. Identifier. The `FileSearchStore` resource name. It is an ID (name excluding the \"fileSearchStores/\" prefix) that can contain up to 40 characters that are lowercase alphanumeric or dashes (-). It is output only. The unique name will be derived from `display_name` along with a 12 character random suffix. Example: `fileSearchStores/my-awesome-file-search-store-123a456b789c` If `display_name` is not provided, the name will be randomly generated."
    },
    "createTime": {
      "readOnly": true,
      "description": "Output only. The Timestamp of when the `FileSearchStore` was created.",
      "format": "google-datetime",
      "type": "string"
    },
    "activeDocumentsCount": {
      "description": "Output only. The number of documents in the `FileSearchStore` that are active and ready for retrieval.",
      "type": "string",
      "readOnly": true,
      "format": "int64"
    },
    "failedDocumentsCount": {
      "format": "int64",
      "type": "string",
      "description": "Output only. The number of documents in the `FileSearchStore` that have failed processing.",
      "readOnly": true
    }
  },
  "type": "object"
}