List Blocks
Query parameters
Labels to include (e.g. human, persona)
Labels to include (e.g. human, persona)
Whether to include only templates
Whether to include only templates
Name of the block
Name of the block
Search agents by identifier id
Search agents by identifier id
Search agents by identifier keys
Search agents by identifier keys
Search blocks by project id
Search blocks by project id
Number of blocks to return
Number of blocks to return
Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
Block ID cursor for pagination. Returns blocks that come after this block ID in the specified sort order
Block ID cursor for pagination. Returns blocks that come after this block ID in the specified sort order
Sort order for blocks by creation time. 'asc' for oldest first, 'desc' for newest first
Sort order for blocks by creation time. 'asc' for oldest first, 'desc' for newest first
Field to sort by
Field to sort by
Search blocks by label. If provided, returns blocks that match this label. This is a full-text search on labels.
Search blocks by label. If provided, returns blocks that match this label. This is a full-text search on labels.
Search blocks by description. If provided, returns blocks that match this description. This is a full-text search on block descriptions.
Search blocks by description. If provided, returns blocks that match this description. This is a full-text search on block descriptions.
Search blocks by value. If provided, returns blocks that match this value.
Search blocks by value. If provided, returns blocks that match this value.
Filter blocks by the number of connected agents. If provided, returns blocks that have more than this number of connected agents.
Filter blocks by the number of connected agents. If provided, returns blocks that have more than this number of connected agents.
Filter blocks by the number of connected agents. If provided, returns blocks that have less than this number of connected agents.
Filter blocks by the number of connected agents. If provided, returns blocks that have less than this number of connected agents.
Filter blocks by the exact number of connected agents. If provided, returns blocks that have exactly this number of connected agents.
Filter blocks by the exact number of connected agents. If provided, returns blocks that have exactly this number of connected agents.
Response
Successful Response
Example response
[
{
"id": "block-123e4567-e89b-12d3-a456-426614174000"
}
]