Skip to main content
PUT
/
v2
/
skills
/
{skill_id}
/
files
/
{path}
Update Skill File
curl --request PUT \
  --url https://api.duvo.ai/v2/skills/{skill_id}/files/{path} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "skill": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

skill_id
string<uuid>
required

Skill ID.

path
string
required

Relative path to the file inside the skill, e.g. SKILL.md.

Minimum string length: 1

Body

application/json
content
string
required

New UTF-8 text content for the file.

Response

Default Response

success
boolean
required

True if the file was updated

message
string
required

Human-readable result message

skill
object

Updated skill metadata, present only when SKILL.md was edited