Skill Builder Refine
Propose a sharper version of a compiled skill from how it has performed
(plus optional guidance). Records it as a pending_version the user reviews
and applies via apply-version; never auto-commits. Mirrors ProposeSkillVersion.
Non-streaming; /refine/stream shows the work as it happens.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Ask the assistant to propose a sharper version of a compiled skill.
Response Body
application/json
application/json
curl -X POST "https://example.com/agent/skill-builder/refine" \ -H "Content-Type: application/json" \ -d '{ "skill_id": "string" }'{}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}