ListDocumentsResponse
Response from `ListDocuments` containing a paginated list of `Document`s. The `Document`s are sorted by ascending `document.create_time`.
Properties
| Name | Type | Description |
|---|---|---|
| documents | array | The returned `Document`s. |
| nextPageToken | string | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no more pages. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-gemini/json-schema/google-gemini-list-documents-response-schema.json",
"title": "ListDocumentsResponse",
"description": "Response from `ListDocuments` containing a paginated list of `Document`s. The `Document`s are sorted by ascending `document.create_time`.",
"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/ListDocumentsResponse",
"properties": {
"documents": {
"type": "array",
"description": "The returned `Document`s.",
"items": {
"$ref": "#/$defs/Document"
}
},
"nextPageToken": {
"type": "string",
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no more pages."
}
},
"type": "object",
"$defs": {
"CustomMetadata": {
"type": "object",
"properties": {
"stringValue": {
"type": "string",
"description": "The string value of the metadata to store."
},
"stringListValue": {
"$ref": "#/$defs/StringList",
"description": "The StringList value of the metadata to store."
},
"key": {
"description": "Required. The key of the metadata to store.",
"type": "string"
},
"numericValue": {
"format": "float",
"type": "number",
"description": "The numeric value of the metadata to store."
}
},
"description": "User provided metadata stored as key-value pairs."
},
"Document": {
"type": "object",
"description": "A `Document` is a collection of `Chunk`s.",
"properties": {
"state": {
"description": "Output only. Current state of the `Document`.",
"enum": [
"STATE_UNSPECIFIED",
"STATE_PENDING",
"STATE_ACTIVE",
"STATE_FAILED"
],
"readOnly": true,
"type": "string"
},
"sizeBytes": {
"description": "Output only. The size of raw bytes ingested into the Document.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"updateTime": {
"format": "google-datetime",
"type": "string",
"description": "Output only. The Timestamp of when the `Document` was last updated.",
"readOnly": true
},
"displayName": {
"description": "Optional. The human-readable display name for the `Document`. The display name must be no more than 512 characters in length, including spaces. Example: \"Semantic Retriever Documentation\"",
"type": "string"
},
"createTime": {
"readOnly": true,
"description": "Output only. The Timestamp of when the `Document` was created.",
"type": "string",
"format": "google-datetime"
},
"name": {
"description": "Immutable. Identifier. The `Document` resource name. The ID (name excluding the \"fileSearchStores/*/documents/\" prefix) can contain up to 40 characters that are lowercase alphanumeric or dashes (-). The ID cannot start or end with a dash. If the name is empty on create, a unique name will be derived from `display_name` along with a 12 character random suffix. Example: `fileSearchStores/{file_search_store_id}/documents/my-awesome-doc-123a456b789c`",
"type": "string"
},
"customMetadata": {
"items": {
"$ref": "#/$defs/CustomMetadata"
},
"description": "Optional. User provided custom metadata stored as key-value pairs used for querying. A `Document` can have a maximum of 20 `CustomMetadata`.",
"type": "array"
},
"mimeType": {
"type": "string",
"readOnly": true,
"description": "Output only. The mime type of the Document."
}
}
},
"StringList": {
"properties": {
"values": {
"items": {
"type": "string"
},
"description": "The string values of the metadata to store.",
"type": "array"
}
},
"type": "object",
"description": "User provided string values assigned to a single metadata key."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/google-gemini-list-documents-response"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.