Update a skill source
Edit a source’s source string, ref, subdir, or skill filter. skills replaces the stored filter wholesale. Name is immutable (agents bind by name; recreate to rename). Changes re-push every agent that enables this source. The numeric repository identity is re-resolved when the source changes or the row never had one — which is how a historical unbound row is repaired — and clearing it is refused, since an unbound source can never install. A GitLab source is re-resolved on every edit, so its credential follows the project’s current visibility; an unchanged one keeps its stored identity while GitLab is unreachable. An other-host source is re-admitted on syntax alone, without any network read.
Authorization
bearerAuth In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/orgs/string/skill-sources/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "source": "string", "githubRepoId": "string", "ref": "string", "subDir": "string", "skills": [ "string" ], "private": true, "credential": { "provider": "github", "repoId": "string" }, "visibility": "string", "sharedWith": [ "string" ], "createdBy": "string", "canEdit": true, "canManageSharing": true, "createdAt": "string"}