Skip to main content

Collections

Tools for organizing HAL actions and adapters into named collections. Only actions and read/code adapters can be added — write adapters are not allowed in collections.

Search Collections

List and search collections by name, scope, or both.

Parameters

ParameterRequiredDescription
nameNoSearch by name
scopeNoFilter by yours and/or verified
pageNoPage number for pagination (20 per page)

Returns

Each collection includes:
  • id, name, description — Collection metadata
  • Item count — Number of items in the collection
  • Items — Action/adapter ID, version, type, name, description, verified status

Get Collection

Retrieve a specific collection and its items.

Parameters

ParameterRequiredDescription
idYesCollection ID

Returns

  • Collection metadata — ID, name, description, creator
  • Items — Each item includes version ID, action ID, name, description, version name, intent, publish status

Create Collection

Create a new collection of actions and adapters.

Parameters

ParameterRequiredDescription
nameYesCollection name
descriptionNoCollection description
actionsNoArray of action/adapter IDs to include
After creating an action and its supporting adapters, organize them into a collection. Include the action and any read/code adapters that provide useful data context.

Update Collection

Update a collection’s name, description, and/or items.

Parameters

ParameterRequiredDescription
idYesCollection ID
nameNoNew name
descriptionNoNew description
actionsToAddNoArray of action/adapter IDs to add
actionsToRemoveNoArray of action/adapter IDs to remove

Use Cases

Group a protocol’s deposit action with its position monitoring read adapter and balance checker.
Collect related actions that form a complete workflow — e.g., approve, swap, and deposit.
Organize verified, production-ready actions into discoverable collections for other users.

Next Steps

Actions & Adapters

Create items for your collections

Evaluation

Test actions before adding to collections