v3

latestOpenAPI 3.1.02026-08-06274467602.9 KB
internal
internal-skills

Update System Skill

Replace a curated skill's content, starter flag, and availability.

workspace_ids and icp_category_ids set availability together: clearing both makes it global, either one restricts it.

patch/api/v1/internal/skills/{skill_id}

Path parameters

skill_idstring uuid required

Request body

namestring required
descriptionstring required
bodystring required
is_starterboolean
skill_type'workflow' | 'enrichment' | 'agent_column'

What kind of work a skill encodes (MAIA-2976).

workflow skills run end-to-end from a blank project (the IOS skill) and are the only kind that defaults into the new-project starter gallery; enrichment skills produce a derived configuration/value (usable IOS acreage) and agent_column skills build a single agent-derived column (owner assemblages) against an existing project's data.

workspace_idsstring[]
icp_category_idsstring[]

ICP categories this skill targets. Every workspace carrying one of these categories can see it, including workspaces assigned to the category after this write.

Response

Successful Response

idstring uuid required
scope'user' | 'workspace' | 'system' required

Tier a skill applies to.

Unlike knowledge entries, skills add a system scope: globally-available skills that are read-only through the public service/API and writable only via the internal admin override, plus the in-code create-skill playbook registry. user skills are owned by a single user, workspace skills by a workspace, system skills by neither.

user_idstring uuid nullable
workspace_idstring uuid nullable
namestring required
descriptionstring required
bodystring required
created_atstring date-time required
updated_atstring date-time required
is_starterboolean

Whether this skill surfaces as a first-run starter in the new-project gallery. System (Ready-made by MAIA) and workspace-scoped skills may be starters; user-scoped skills are never starters.

skill_type'workflow' | 'enrichment' | 'agent_column'

What kind of work a skill encodes (MAIA-2976).

workflow skills run end-to-end from a blank project (the IOS skill) and are the only kind that defaults into the new-project starter gallery; enrichment skills produce a derived configuration/value (usable IOS acreage) and agent_column skills build a single agent-derived column (owner assemblages) against an existing project's data.

supersedes_skill_idstring uuid nullable

If set, the MAIA/workspace starter this skill was customized from; that original is hidden from this caller's starter gallery and the agent's routing catalog in favor of this skill.

workspace_idsstring[]

The workspaces this curated (system) skill is explicitly available in. Global means this AND icp_category_ids are both empty.

icp_category_idsstring[]

The ICP categories this curated (system) skill targets. Any workspace carrying one of them can see it.