Skip to main content
PATCH
Set Freeze on Agent Shared File

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Path Parameters

agentId
string<uuid>
required
fileId
string<uuid>
required

Body

application/json

Request to set the frozen status of a shared file

isFrozen
boolean
required

Response

The request has succeeded.

A file in the agent's persistent shared storage

agentId
string<uuid>
required
createdAt
string<date-time>
required
downloadUrl
string<uri>
required
fileName
string
required
filePath
string
required
fileSize
integer<int64>
required
id
string<uuid>
required
isFrozen
boolean
required
updatedAt
string<date-time>
required
version
integer
required
checksum
string

Hex-encoded SHA-256 of the file contents. Used for change and rename detection when diffing versions. Absent when the checksum is unknown.

lastModifiedByExecutionId
string<uuid>
mimeType
string