Full-text search across items, sessions, and groups in your Curyloop workspace.
Search
Search across all your accessible content in Curyloop using full-text search powered by PostgreSQL.
Search Items
GET /api/v1/search
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Search query (min 2 chars) |
type | string | No | items, sessions, or groups |
group_id | string | No | Limit search to a specific group |
limit | number | No | Results per page (default 20) |
Response
json
{
"data": {
"items": [
{
"id": "uuid",
"url": "https://example.com/article",
"title": "Matching Article Title",
"description": "Content matching the search query...",
"group_name": "Engineering Team",
"session_title": "Week 10",
"relevance": 0.95
}
],
"total": 42
}
}
Search Tips
- Use quotes for exact phrases:
"react server components" - Multiple words use AND logic by default
- Search covers item titles, descriptions, URLs, and tags
- Results are ranked by relevance score
- Only items from groups you're a member of are returned