Skip to main content
PATCH
/
api
/
v1
/
automations
/
{id}
/
examples
/
{exampleId}
/
input
/
{path}
Rename input file
curl --request PATCH \
  --url https://studio.eigenpal.com/api/v1/automations/{id}/examples/{exampleId}/input/{path} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "newFilename": "<string>"
}
'
{
  "ok": true,
  "filename": "<string>",
  "path": "<string>"
}

Authorizations

Authorization
string
header
required

API key issued from Settings → API Keys. Pass as Authorization: Bearer <key>.

Path Parameters

id
string
required

Automation id or typed alias.

exampleId
string
required

Dataset example id.

path
string
required

Slash-delimited path under the example input folder.

Body

application/json
newFilename
string
required

New basename for the file. The parent folder is preserved.

Response

Renamed input file.

ok
boolean
required
filename
string
required
path
string
required

Updated input file path.