Update a skill

PATCHhttps://api.floconnector.com/v1/skills/{id}
Scope
skills.write
Rate limit
the key's write budget, 60 a minute

One call writes at most one new version: the body and the file changes land together, and files is a delta, so send only the paths you are changing. If the skill is published, AI clients read the new text on their next call. Pass expected_version to be refused with a 409 conflict when the skill has moved on since you read it. A managed library install answers 409 read_only until it is made editable with POST /v1/skills/{id}/detach-library.

Path parameters

stringrequired

The skill: its id, its tool name (skill_<collection>_<skill>), collection/skill slugs, or a bare slug when only one skill carries it.

Body

The fields it takes:

namestringoptional

New display name. The slug, and so the tool name, stays the same.

Max length 80

descriptionstringoptional

New description: WHEN to use the skill. AI clients read it as the tool's description to decide whether to open the skill.

Max length 1024

iconstringnullableoptional

A single emoji mark for the dashboard; null restores the default.

Max length 16

bodystringoptional

The whole new body. A leading frontmatter block is stripped.

filesarray of objectoptional

A delta: put or replace with content, delete with null. Untouched files stay.

Up to 25 items

ShowHide 2 fields of each item
pathstringrequired

"<folder>/<name>" with folder one of references, scripts, assets, e.g. references/tone.md

contentstringnullablerequired

The new text, or null to delete the file.

changelogstringoptional

What this revision changed, for the history. Always send one with a body or file change.

Max length 200

expected_versionintegeroptional

The version you read. Refused with a conflict if the skill has moved on.

Responses

200Success
skillobject

The skill after the write.

ShowHide 14 fields
idstring

The skill's id.

tool_namestring

The tool an AI client calls to read the skill once it is published: skill_<collection slug>_<skill slug>.

slugstring

The skill's slug, the last part of its tool name. Renaming the skill does not change it.

namestring

The display name.

descriptionstring

When to use the skill. AI clients see it as the tool's description.

iconstringnullable

The emoji mark shown in the dashboard. Null for the default mark.

statusenum

draft = not visible to any AI client; active = published; archived = kept, but served to no one.

draftactivearchived
originenum

How the skill first arrived: dashboard (written or imported by a person), mcp (written by an AI client or with an API key) or library (installed from the library). A copy keeps its source's value.

dashboardmcplibrary
collectionobject

The collection the skill belongs to.

ShowHide 3 fields
idstring

The collection's id.

slugstring

The collection's slug, the middle part of the tool name of every skill in it.

namestring

The collection's display name.

libraryobjectnullable

The skill's link to the library entry it was installed from. Null for a skill that was not installed from the library.

ShowHide 11 fields
library_idstring

The library entry's id.

slugstring

The library entry's slug.

namestring

The library entry's name.

modeenum

managed = rewritten on every library publish and read-only here; copy = your own skill, which the library no longer changes.

managedcopy
read_onlyboolean

True for a managed install: its content cannot be edited here until it is made editable.

installed_versioninteger

The library version this skill carries. 0 when it was installed from an entry that was not published yet.

current_versioninteger

The latest version the library has published.

library_statusenum

The entry's state in the library. retired = FloConnector no longer maintains it.

draftpublishedretired
installed_atstringnullable

When the skill was installed from the library, ISO 8601.

detached_atstringnullable

When a managed install was made editable, ISO 8601. Null if that never happened.

update_availableboolean

True for a copy that sits behind the library's latest published version. Always false for a managed install.

versioninteger

The skill's current version number, or the version being shown when a past one was asked for.

filesarray of object

The skill's files, as paths.

ShowHide 3 fields of each item
folderenum

The folder the file sits in: references, scripts or assets.

referencesscriptsassets
namestring

The file name, extension included.

pathstring

<folder>/<name>: the path the body links to, and the one to send when changing the file.

created_atstring

When the skill was created, ISO 8601.

updated_atstring

When the skill last changed, ISO 8601.

changed_pathsarray of string

The documents this call changed: SKILL.md for the body, plus file paths. Empty when no new version was written.

changelog_recordedboolean

True when the call wrote a new version, which carries the changelog. False when nothing differed or only the name, description or icon changed: no version was written and the changelog was not kept.

dangling_linksarray of stringoptional

Paths under references/, scripts/ or assets/ that the body mentions but the skill does not carry. Advisory: the write still went through. Left out when there are none.

400validation: a field failed validation; field names it.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

401unauthorized: no key, or an unknown, revoked or expired key.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

403insufficient_scope: the key lacks the route's scope, named in required. Or forbidden, or plan_limit when the plan does not include the API.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

404not_found: the thing is not in this workspace.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

429rate_limited: the key's per-minute budget is spent. Retry after Retry-After seconds.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra structure some errors carry, such as a refused record batch's per-record errors.

Errors lists every error code and what to do about it.