Endpoints
Search
The search endpoint lets you query across all resource types in a single request.
Search query
curl "https://api.sedi.dev/v1/search?q=onboarding" \
-H "Authorization: Bearer sk_live_abc123def456"
const { data } = await client.search.query('onboarding');
| Parameter | Type | Default | Description |
|---|---|---|---|
q | string | - | Required. Search query |
type | string | - | Filter by type (user, project, task) |
page | integer | 1 | Page number |
Response
{
"data": [
{
"id": "task_101",
"title": "User onboarding flow",
"project": "Mobile App v2",
"status": "in_progress",
"priority": "high",
"type": "task",
"score": 0.95
}
],
"meta": {
"total": 5,
"page": 1,
"per_page": 10
}
}
Search syntax
The search engine supports:
- Exact phrases:
"user onboarding" - Field scoping:
status:active - Partial matching:
onboard*
Results are ranked by relevance score (0 to 1).