List components using standard filters or semantic search.
Parameters
| Parameter | Type | Default | Description |
|---|
projectId | string | session default | Project to search in |
query | string | - | Natural language semantic search query |
type | string | - | Filter by component type |
status | string | published | Filter by status |
collectionId | string | - | Filter by collection |
page | number | 1 | Page number |
limit | number | 20 | Items per page (max 100) |
Component Types
| Type | Description |
|---|
view | UI display components (cards, headers, etc.) |
layout | Structural layout components (grids, stacks, etc.) |
assetCatalog | Asset catalog components for media management |
Response
| Field | Type | Description |
|---|
components | array | Array of component objects |
components[].id | string | Unique component identifier |
components[].name | string | Display name of the component |
components[].description | string | Component description |
components[].type | string | Component type (view, layout, assetCatalog) |
components[].status | string | Publication status |
components[].version | number | Version number |
components[].excerpt | string | Relevant text excerpt (when query is used) |
components[].similarity | number | Similarity score 0-1 (when query is used) |
total | number | Total number of matching items |
Examples
Semantic Search
Search for components using natural language:
Response:
Filter by Type
List all published layout components:
Response:
Filter by Collection
List components in a specific collection:
Usage
Browse Components by Type
Search with Combined Filters
Combine semantic search with filters for precise results. For example, search for “hero banner” within the view type to find relevant display components.