Create a skill (as a draft)
https://api.floconnector.com/v1/skills- Scope
skills.write- Rate limit
- the key's write budget, 60 a minute
The body and any files land together as version 1. name and description may be left out when the body opens with a frontmatter block that carries them; the block is stripped either way. The skill is a draft that no AI client can see until it is published: call POST /v1/skills/{id}/publish, or send publish: true here with a key that holds skills.publish.
Body
The fields it takes:
collectionstringrequiredThe collection: its id or slug.
namestringoptionalShort and plain; becomes half the tool name. Taken from frontmatter if omitted.
Max length 80
descriptionstringoptionalWHEN to use the skill. Taken from frontmatter if omitted.
Max length 1024
bodystringrequiredThe instructions, in markdown, up to 20480 bytes. A leading YAML frontmatter block is read and stripped.
iconstringoptionalA single emoji mark for the skill in the dashboard. Never shown to a model.
Max length 16
filesarray of objectoptionalUp to 25 files in references/, scripts/ or assets/.
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
contentstringrequiredText only, up to 32768 bytes.
changelogstringoptionalWhat v1 is and why it exists, for the history. Always send one.
Max length 200
publishbooleanoptionalAlso publish it (needs skills.publish). Default false: it is a draft.
Responses
201Created
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.