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
| Parameter | Required | Description |
|---|---|---|
name | No | Search by name |
scope | No | Filter by yours and/or verified |
page | No | Page 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
| Parameter | Required | Description |
|---|---|---|
id | Yes | Collection 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
| Parameter | Required | Description |
|---|---|---|
name | Yes | Collection name |
description | No | Collection description |
actions | No | Array of action/adapter IDs to include |
Update Collection
Update a collection’s name, description, and/or items.Parameters
| Parameter | Required | Description |
|---|---|---|
id | Yes | Collection ID |
name | No | New name |
description | No | New description |
actionsToAdd | No | Array of action/adapter IDs to add |
actionsToRemove | No | Array of action/adapter IDs to remove |
Use Cases
Protocol bundles
Protocol bundles
Group a protocol’s deposit action with its position monitoring read adapter and balance checker.
Workflow sets
Workflow sets
Collect related actions that form a complete workflow — e.g., approve, swap, and deposit.
Sharing verified actions
Sharing verified actions
Related Tools
- Create actions → Actions & Adapters
- Manage code blocks → Code Blocks
Next Steps
Actions & Adapters
Create items for your collections
Evaluation
Test actions before adding to collections

