Skill Builder Refine Stream
Stream the refine work (SSE): reading -> outcomes -> drafting ->
revision -> done (or error). The UI renders the optimize loop as a
live process, the same way create does.
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/stream" \ -H "Content-Type: application/json" \ -d '{ "skill_id": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}