Skip to main content
GET
Get an artifact version
Use the version number returned when saving the artifact, or retrieve the version list first. Success returns that version as a Part; a missing artifact or version returns 404 Content can appear in text or inlineData. Retrieve its URI, MIME type, and custom metadata separately with Get artifact version metadata

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

version_id
integer
required

Artifact version number

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