v1

latestOpenAPI 3.0.32026-07-267015229.9 KB
Skills

Replace PAL Skills

Replace a PAL's entire skill set in one call. Skills not present in the request are detached.

put/v2/pals/{pal_id}/skills

Request body

skillsobject required

The complete skill set for the PAL, keyed by skill_id. Each value holds that skill's config object (omit or pass {} for skills with no configuration).

Example request

{
  "skills": {
    "internet_search": {},
    "presentation": {
      "config": {
        "document_ids": [
          "d1234567890"
        ],
        "slides_trigger": "on_demand"
      }
    },
    "magic_canvas": {
      "config": {}
    }
  }
}

Response

Successfully replaced the PAL's skill attachments

dataobject

The PAL's new skill attachments keyed by skill_id.