Update a skill collection

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

Rename it, re-describe it, change its icon, or archive and restore it with status. The slug never changes, so the tool names built from it stay the same. An archived collection serves none of its skills to AI clients; nothing is deleted, and status: "active" brings it back.

Path parameters

stringrequired

The collection: its id or slug.

Body

The fields it takes:

namestringoptional

New display name. The slug and the tool prefix stay the same.

Max length 80

descriptionstringnullableoptional

null clears it.

Max length 500

iconstringnullableoptional

null restores the default mark.

Max length 16

statusenumoptional

archived exposes nothing; active restores it.

activearchived

Responses

200Success
collectionobject

The collection after the change.

ShowHide 11 fields
idstring

The collection's id.

slugstring

Derived from the name when the collection was created. It never changes.

namestring

The display name.

descriptionstringnullable

One line on what the collection holds. Null when none was given.

iconstringnullable

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

statusenum

active, or archived: an archived collection serves none of its skills to AI clients.

activearchived
tool_prefixstring

The start of the tool name of every skill in the collection: skill_<slug>_.

skill_countsobject

How many skills the collection holds, by status.

ShowHide 3 fields
draftinteger

Skills not published yet.

activeinteger

Published skills.

archivedinteger

Archived skills.

profilesarray of object

The profiles carrying this collection. Empty means its skills reach no AI client yet.

ShowHide 3 fields of each item
idstring

The profile's id.

namestring

The profile's name.

auto_receiveboolean

True when the profile is set to take up skills published in this collection later, without anyone picking them again.

created_atstring

When the collection was created, ISO 8601.

updated_atstring

When the collection's own details last changed, ISO 8601.

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.