Update a skill
https://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
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:
namestringoptionalNew display name. The slug, and so the tool name, stays the same.
Max length 80
descriptionstringoptionalNew 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
iconstringnullableoptionalA single emoji mark for the dashboard; null restores the default.
Max length 16
bodystringoptionalThe whole new body. A leading frontmatter block is stripped.
filesarray of objectoptionalA 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
contentstringnullablerequiredThe new text, or null to delete the file.
changelogstringoptionalWhat this revision changed, for the history. Always send one with a body or file change.
Max length 200
expected_versionintegeroptionalThe version you read. Refused with a conflict if the skill has moved on.
Responses
200Success
skillobjectThe skill after the write.
ShowHide 14 fields
idstringThe skill's id.
tool_namestringThe tool an AI client calls to read the skill once it is published: skill_<collection slug>_<skill slug>.
slugstringThe skill's slug, the last part of its tool name. Renaming the skill does not change it.
namestringThe display name.
descriptionstringWhen to use the skill. AI clients see it as the tool's description.
iconstringnullableThe emoji mark shown in the dashboard. Null for the default mark.
statusenumdraft = not visible to any AI client; active = published; archived = kept, but served to no one.
draftactivearchivedoriginenumHow 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.
dashboardmcplibrarycollectionobjectThe collection the skill belongs to.
ShowHide 3 fields
idstringThe collection's id.
slugstringThe collection's slug, the middle part of the tool name of every skill in it.
namestringThe collection's display name.
libraryobjectnullableThe 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_idstringThe library entry's id.
slugstringThe library entry's slug.
namestringThe library entry's name.
modeenummanaged = rewritten on every library publish and read-only here; copy = your own skill, which the library no longer changes.
managedcopyread_onlybooleanTrue for a managed install: its content cannot be edited here until it is made editable.
installed_versionintegerThe library version this skill carries. 0 when it was installed from an entry that was not published yet.
current_versionintegerThe latest version the library has published.
library_statusenumThe entry's state in the library. retired = FloConnector no longer maintains it.
draftpublishedretiredinstalled_atstringnullableWhen the skill was installed from the library, ISO 8601.
detached_atstringnullableWhen a managed install was made editable, ISO 8601. Null if that never happened.
update_availablebooleanTrue for a copy that sits behind the library's latest published version. Always false for a managed install.
versionintegerThe skill's current version number, or the version being shown when a past one was asked for.
filesarray of objectThe skill's files, as paths.
ShowHide 3 fields of each item
folderenumThe folder the file sits in: references, scripts or assets.
referencesscriptsassetsnamestringThe file name, extension included.
pathstring<folder>/<name>: the path the body links to, and the one to send when changing the file.
created_atstringWhen the skill was created, ISO 8601.
updated_atstringWhen the skill last changed, ISO 8601.
changed_pathsarray of stringThe documents this call changed: SKILL.md for the body, plus file paths. Empty when no new version was written.
changelog_recordedbooleanTrue 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 stringoptionalPaths 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:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra 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:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra 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:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra 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:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra 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:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra 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.