Skip to main content
POST
/
api
/
v1
/
storage
/
files
/
{file_id}
/
copy
Copy File
curl --request POST \
  --url https://control-plane.kubiya.ai/api/v1/storage/files/{file_id}/copy \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "destination_path": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

file_id
string
required

Body

application/json

Copy file request

destination_path
string
required

Response

Successful Response