Skills
Lift a workflow action node into a standalone skill
Two-step lift (per PRD lock):
- Fetch the workflow + locate the named node.
- Resolve the referenced action_id, fetch its full config, then POST to the SAME /api/v1/actions/create endpoint with a derived name. The new action_id is returned.
This is the route g8_skill_create_from_node MCP tool calls. It guarantees lift skills are byte-identical to authored skills.
Does NOT modify the workflow — the lift is a copy, not a move. If the caller wants the workflow node to reference the new skill, they update the workflow themselves with g8_workflow_update_node.
post/skills/from-node
Request
- Base URL: https://be.graph8.com/api/v1
- URL: https://be.graph8.com/api/v1/skills/from-node
- Auth: HTTP bearer
Headers
Authorizationstring nullable
X-Target-Org-Idstring nullable
Request body
object required
{workflow_id: str, node_id: str, name?: str}. Reads the workflow's action node config and creates a new standalone skill with the same config, then returns the new skill.
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 2 revisions of this API.