---
title: "Update Guidance"
method: PUT
path: "/v2/guidances/{id}"
tags: ["Guidance API"]
---

# Update Guidance

`PUT /v2/guidances/{id}`

Update an existing guidance.

## Path parameters

- `id` string, required — The ID of the guidance.

## Request body

- object
  - `name` string — Short title identifying this Help Desk Skill (e.g. "Route password reset tickets to IT").
  - `description` string — TRIGGER condition — when should the help desk agent invoke this skill? Plain prose answering "When should Serval use this skill?". Example: "When a ticket is about an SSO login failure or a user cannot access their Okta account."
  - `content` string — BEHAVIOR instructions — how should the help desk agent handle the situation when this skill fires? Plain prose answering "How should Serval handle this situation?". Include the concrete steps, workflows to run (use `<@workflow:ID>` mentions), who to escalate to (use `<@user:ID>` mentions), and any relevant context.
  - `shouldAlwaysUse` boolean, nullable — Whether this guidance should always be used (optional).
  - `isPublished` boolean, nullable — Whether the guidance is published. Set to true to publish the guidance.

## Response `200`

Success

- SvflowPublicapiUpdateGuidanceResponse
  - `data` SvflowPubapimodelsGuidance
    - `id` string — The ID of the guidance.
    - `teamId` string — The ID of the team that the guidance belongs to.
    - `name` string — The name of the guidance.
    - `description` string — A description of the guidance.
    - `content` string — The content of the guidance.
    - `shouldAlwaysUse` boolean — Whether this guidance should always be used (skipping LLM selection).
    - `isPublished` boolean — Whether the guidance is published. Set to true to publish the guidance.
    - `hasUnpublishedChanges` boolean — Whether there are unpublished changes to the guidance (computed by server).
    - `scopedId` string — The copy-invariant scoped ID of the guidance (e.g. "skill_..."), stable across cross-team copies.
    - `folderId` string, nullable — The ID of the folder the guidance lives in, if any. Populated on the single-guidance responses (Get/Create/Update and the folder-move endpoint); omitted from ListGuidances responses — fetch the guidance to read its folder membership.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
