Google Gemini · Schema
GetEnvironmentFilesResponse
Response for `GetEnvironmentFiles`.
AI AgentsArtificial IntelligenceCode GenerationEmbeddingsGenerative AIImage GenerationLLMMachine LearningMulti-ModalReal-TimeFoundation ModelsAgentsAudio UnderstandingBatch ProcessingDeep ResearchDocument UnderstandingFunction CallingStructured OutputText-to-SpeechVideo GenerationVideo Understanding
Properties
| Name | Type | Description |
|---|---|---|
| files | array | If the requested path is a directory, this contains its contents. If the requested path is a file, this contains a single entry with the file's metadata. If alt=media was specified, this is empty (con |
| next_page_token | string | Pagination token for directory listing. NOLINT |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-gemini/json-schema/google-gemini-get-environment-files-response-schema.json",
"title": "GetEnvironmentFilesResponse",
"description": "Response for `GetEnvironmentFiles`.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-gemini-environments-api-openapi.yml#/components/schemas/GetEnvironmentFilesResponse",
"properties": {
"files": {
"type": "array",
"items": {
"$ref": "#/$defs/EnvironmentFile"
},
"description": "If the requested path is a directory, this contains its contents. If the requested path is a file, this contains a single entry with the file's metadata. If alt=media was specified, this is empty (content is served via `blob`)."
},
"next_page_token": {
"type": "string",
"description": "Pagination token for directory listing. NOLINT"
}
},
"type": "object",
"$defs": {
"EnvironmentFile": {
"type": "object",
"description": "Metadata for a file or directory within an environment.",
"properties": {
"type": {
"description": "Output only. The type of the entry.",
"type": "string",
"enum": [
"TYPE_UNSPECIFIED",
"FILE",
"DIRECTORY"
],
"readOnly": true
},
"name": {
"description": "Output only. The name of the file or directory (e.g., \"main.py\" or \"src\").",
"type": "string",
"readOnly": true
},
"mime_type": {
"type": "string",
"readOnly": true,
"description": "Output only. The MIME type of the file (e.g., \"text/python\", \"image/png\"). Empty for directories. NOLINT"
},
"path": {
"description": "Output only. The full relative path within the environment (e.g., \"workspace/src/main.py\").",
"type": "string",
"readOnly": true
},
"modified": {
"type": "string",
"description": "Output only. The modification time of the file/directory.",
"readOnly": true,
"format": "google-datetime"
},
"created": {
"readOnly": true,
"format": "google-datetime",
"type": "string",
"description": "Output only. The creation time of the file/directory."
},
"size_bytes": {
"description": "Output only. The size of the file/directory in bytes. NOLINT",
"format": "int64",
"type": "string",
"readOnly": true
}
}
}
}
}
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
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-gemini-get-environment-files-response"
All schemas
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.