> ## AI Agent Context
> - Full documentation index: https://aistudio.google.com/llms.txt
> - Gemini Docs MCP server (consistent live info): https://gemini-api-docs-mcp.dev
> - Coding agent skills & setup guide: https://aistudio.google.com/docs/coding-agents.md

# Getting a file search store

{% mark class="http-get" %}{% icon name="south_west" /%}`GET`{% /mark %} `https://generativelanguage.googleapis.com/v1beta/fileSearchStores/{fileSearchStore}`

Gets information about a specific [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore).

{% two-column-layout %}
  {% left-column %}
## Parameters  {% class="hide-from-toc" id="parameters" %}

  {% section class="api-ref-property-list" %}
  **fileSearchStore**: {% mark %}required{% /mark %} `string`

  The file search store ID. Forms the resource name `fileSearchStores/{fileSearchStore}`.

  {% /section %}

  {% /left-column %}

  {% right-column class="sticky" %}
  **Example request** {% class="example-heading" %}

  {% tabs %}
  {% tab label="REST" %}
  ```sh
  curl -X GET "https://generativelanguage.googleapis.com/v1beta/fileSearchStores/$FILE_SEARCH_STORE_ID" \
    -H "x-goog-api-key: $GEMINI_API_KEY"
  ```

  {% /tab %}

  {% /tabs %}

  {% /right-column %}

{% /two-column-layout %}

{% two-column-layout %}
  {% left-column %}
## Response  {% class="hide-from-toc" id="response" %}

  {% section class="api-ref-property-list" %}
  **name**: `string`

  Output only. Immutable. Identifier. The [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource: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.

  {% hr /%}

  **displayName**: `string`

  Optional. The human-readable display name for the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore). The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever"

  {% hr /%}

  **createTime**: `string`

  Output only. The Timestamp of when the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore) was created.

  {% hr /%}

  **updateTime**: `string`

  Output only. The Timestamp of when the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore) was last updated.

  {% hr /%}

  **activeDocumentsCount**: `string`

  Output only. The number of documents in the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore) that are active and ready for retrieval.

  {% hr /%}

  **pendingDocumentsCount**: `string`

  Output only. The number of documents in the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore) that are being processed.

  {% hr /%}

  **failedDocumentsCount**: `string`

  Output only. The number of documents in the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore) that have failed processing.

  {% hr /%}

  **sizeBytes**: `string`

  Output only. The size of raw bytes ingested into the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore). This is the total size of all the documents in the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource:FileSearchStore).

  {% hr /%}

  **embeddingModel**: `string`

  Optional. The embedding model to use for the [`FileSearchStore`](/api-reference/file-search/file-search-stores#Resource: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.

  {% /section %}

  {% /left-column %}

  {% right-column class="sticky" %}
  **Example response** {% class="example-heading" %}

  ```json
  {
    "name": "string",
    "displayName": "string",
    "createTime": "string",
    "updateTime": "string",
    "activeDocumentsCount": "string",
    "pendingDocumentsCount": "string",
    "failedDocumentsCount": "string",
    "sizeBytes": "string",
    "embeddingModel": "string"
  }
  ```

  {% /right-column %}

{% /two-column-layout %}

