Skip to main content
PATCH
Rename Workflow Agent File

Authorizations

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

Path Parameters

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

Body

application/json

Request to rename or move an agent file within a workflow version

filePath
string
required

Response

The request has succeeded.

Response after a workflow-scoped agent-file change. When the change created a new workflow version, workflowId is that new version; for legacy versions it is the version the change was applied to.

files
object[]
required
workflowId
string<uuid>
required