Skills

Sync a GitHub-imported skill

Changed on

Refresh one GitHub-imported skill from its stored source URL. If the skill content has changed, this operation creates a new skill version. If the skill is no longer present upstream, the stored skill is left unchanged and must be deleted explicitly.

post/api/skills/{skill_id}/sync

Request

  • Base URL: https://instance-name-be.glean.com
  • URL: https://instance-name-be.glean.com/api/skills/{skill_id}/sync
  • Auth: HTTP bearer

Path parameters

skill_idstring required

ID of the GitHub-imported skill to sync.

Response

Skill sync completed successfully.

commit_shastring required

Git commit SHA now associated with the skill.

is_updatedboolean required

Whether this request created a new skill version.

request_idstring required

Platform-generated request ID for support correlation.

Changes

    • info

      added the non-success response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      removed the non-success response with the status

    • info

      added the required property to the response with the status