Skip to main content
PUT
/
api
/
agents
/
{agentId}
/
workspace
/
{filename}
Update Workspace File
curl --request PUT \
  --url https://api.usehavoc.com/api/agents/{agentId}/workspace/{filename} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Clerk JWT Token — obtained from the Havoc frontend via Clerk authentication.

Path Parameters

agentId
string
required
filename
string
required

Response

200

File updated