Skip to main content
GET
Get the latest artifact
Omit the version query parameter to read the latest version, or select a version with a query such as ?version=0. Use a version number from the save response or version list; it is not part of the filename The response is a Part object. Content can appear in text or inlineData. For binary content, decode the data and interpret it using mimeType; saving the entire JSON response does not produce the original file

Authorizations

Authorization
string
header
required

Optional locally without a gateway; cloud deployments use the Runtime API key or user-pool JWT required by that deployment, never the model API key

Path Parameters

app_name
string
required

Application name; harness_agent for the CLI deployment

user_id
string
required

User ID

session_id
string
required

Session ID

artifact_name
string
required

Artifact name

Query Parameters

version
integer | null

Optional version number; omit it to read the latest version

Response

Part · object | null

Successful response

mediaResolution
PartMediaResolution · object | null
codeExecutionResult
CodeExecutionResult · object | null

Code execution result

executableCode
ExecutableCode · object | null

Executable code

fileData
FileData · object | null

File content referenced by URI

functionCall
FunctionCall · object | null

Function call requested by the model

functionResponse
FunctionResponse · object | null

Function execution result

inlineData
Blob · object | null

Inline binary content with Base64-encoded data

text
string | null

Text content

thought
boolean | null

Whether this is thought content

thoughtSignature
file | null

Thought signature for subsequent requests

videoMetadata
VideoMetadata · object | null

Video metadata

toolCall
ToolCall · object | null
toolResponse
ToolResponse · object | null
partMetadata
Partmetadata · object | null
Last modified on September 19, 2026