v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0122134244.7 KB

Load Artifact

get/apps/{app_name}/users/{user_id}/sessions/{session_id}/artifacts/{artifact_name}

Path parameters

app_namestring required
user_idstring required
session_idstring required
artifact_namestring required

Query parameters

versioninteger nullable

Response

Successful Response

textstring nullable

Optional. The text content of the part. When sent from the VSCode Gemini Code Assist extension, references to @mentioned items will be converted to markdown boldface text. For example @my-repo will be converted to and sent as **my-repo** by the IDE agent.

thoughtboolean nullable

Optional. Indicates whether the part represents the model's thought process or reasoning.

thoughtSignaturestring binary nullable

Optional. An opaque signature for the thought so it can be reused in subsequent requests.

partMetadataobject nullable

Custom metadata associated with the Part. Agents using genai.Part as content representation may need to keep track of the additional information. For example it can be name of a file/source from which the Part originates or a way to multiplex multiple Part streams. This field is not supported in Vertex AI.