AutoMerge is generally available

Generated at:

Manage Agent0 Custom Skills

Update or insert an Agent0 custom skill

put/api/agent0/custom-skills/{originOrId}

Replaces the skill's files, or creates the skill when the origin does not exist yet; a create stores spec.permissions exactly as sent. Use the dash0.com/version label for optimistic concurrency. A rename that conflicts with an existing skill is rejected rather than overwriting it, with the same duplicate-name rule as on create. The same limits apply as on create. An absent spec.permissions keeps the stored grants. spec.source cannot be added or changed. For a skill imported from a repository in Dash0, omit it or send it back unchanged; that skill's files stay read-only.

Path parameters 1

originOrIdrequired

Custom skill origin or id.

string
bash
Sample requestcurl --request PUT 'https://api.eu-west-1.aws.dash0.com/api/agent0/custom-skills/123e4567-e89b-42d3-a456-426614174000' \
  --header "Authorization: Bearer ${DASH0_AUTH_TOKEN}" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "kind": "Dash0Skill",
  "metadata": {},
  "spec": {
    "files": [
      {
        "relativePath": "example",
        "content": "example"
      }
    ]
  }
}'

Request body required

References SkillDefinition
stringrequired
"Dash0Skill"
SkillMetadatarequired
SkillSpecrequired

Responses

The custom skill was updated or inserted.

References SkillResponse
References SkillDefinition
stringrequired
"Dash0Skill"
SkillMetadatarequired
SkillSpecrequired