List skill collections

GEThttps://api.floconnector.com/v1/skills/collections
Scope
skills.read
Rate limit
the key's read budget, 120 a minute

A collection is the folder of skills a profile attaches. Each one comes back with its tool_prefix, its skill counts by status and the profiles carrying it. Archived collections are left out unless include_archived is set.

Query parameters

booleanoptional

Include archived collections. Default false.

Responses

200Success
collectionsarray of object

The workspace's collections, newest first.

ShowHide 11 fields of each item
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.