Skills
Replace a local workflow
Replaces instructions and supporting files. Send baseRevision; stale revisions are refused. Synced content is read-only. Enablement is preserved. Requires the admin role.
udon_session<token>
In: cookie
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/api/skills/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "body": "string" }'{ "skill": { "id": "string", "name": "string", "description": "string", "icon": "string", "category": "string", "updatedAt": "string", "tags": [ "string" ], "version": 1, "source": "synced", "enabled": true, "revision": 1 }, "body": "string", "files": [ "string" ], "frontmatter": {}, "markdown": "string"}