Create a skill collection
https://api.floconnector.com/v1/skills/collections- Scope
skills.manage- Rate limit
- the key's write budget, 60 a minute
The slug is derived from the name and never changes: it becomes the tool prefix skill_<slug>_ for every skill in the collection. A name whose slug is already used in the workspace is refused with a 409 conflict. A new collection reaches no AI client until it is attached to a profile.
Body
The fields it takes:
namestringrequiredWhat people call the collection. Its slug, and so the tool prefix skill_<slug>_, is derived from it and never changes.
Max length 80
descriptionstringnullableoptionalOne line on what the collection holds.
Max length 500
iconstringnullableoptionalA single emoji mark for the collection card. Dashboard only.
Max length 16
Responses
201Created
collectionobjectThe new collection.
ShowHide 11 fields
idstringThe collection's id.
slugstringDerived from the name when the collection was created. It never changes.
namestringThe display name.
descriptionstringnullableOne line on what the collection holds. Null when none was given.
iconstringnullableThe emoji mark shown in the dashboard. Null for the default mark.
statusenumactive, or archived: an archived collection serves none of its skills to AI clients.
activearchivedtool_prefixstringThe start of the tool name of every skill in the collection: skill_<slug>_.
skill_countsobjectHow many skills the collection holds, by status.
ShowHide 3 fields
draftintegerSkills not published yet.
activeintegerPublished skills.
archivedintegerArchived skills.
profilesarray of objectThe profiles carrying this collection. Empty means its skills reach no AI client yet.
ShowHide 3 fields of each item
idstringThe profile's id.
namestringThe profile's name.
auto_receivebooleanTrue when the profile is set to take up skills published in this collection later, without anyone picking them again.
created_atstringWhen the collection was created, ISO 8601.
updated_atstringWhen the collection's own details last changed, ISO 8601.
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.