---
title: "Global Search"
method: GET
path: "/search"
tags: ["Search"]
---

# Global Search

`GET /search`

Search across tasks, projects, workspaces, comments, and activities

## Query parameters

- `q` string, required
- `type` 'all' | 'tasks' | 'projects' | 'workspaces' | 'comments' | 'activities'
- `workspaceId` string
- `projectId` string
- `limit` integer
- `userEmail` string, email

## Response `200`

Search results

- object
  - `tasks` object[]
    - `id` string, required
    - `projectId` string, required
    - `position` number, nullable, required
    - `number` number, nullable, required
    - `userId` string, nullable, required
    - `title` string, required
    - `description` string, nullable, required
    - `status` string, required
    - `priority` 'no-priority' | 'low' | 'medium' | 'high' | 'urgent', required
    - `startDate` string, date-time
    - `dueDate` string, date-time
    - `createdAt` string, date-time, required
  - `projects` object[]
    - `id` string, required
    - `workspaceId` string, required
    - `slug` string, required
    - `icon` string, nullable, required
    - `name` string, required
    - `description` string, nullable, required
    - `createdAt` string, date-time, required
    - `isPublic` boolean, nullable, required
    - `archivedAt` unknown, required
  - `workspaces` object[]
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `logo` string, nullable, required
    - `metadata` string, nullable, required
    - `description` string, nullable, required
    - `createdAt` string, date-time, required
  - `comments` object[]
    - `id` string, required
    - `taskId` string, required
    - `type` 'comment' | 'task' | 'status_changed' | 'priority_changed' | 'unassigned' | 'assignee_changed' | 'due_date_changed' | 'title_changed' | 'description_changed' | 'create', required
    - `createdAt` string, date-time, required
    - `userId` string, nullable, required
    - `content` string, nullable, required
    - `eventData` object, nullable, required
    - `externalUserName` string, nullable, required
    - `externalUserAvatar` string, nullable, required
    - `externalSource` string, nullable, required
    - `externalUrl` string, nullable, required
  - `activities` object[]
    - `id` string, required
    - `taskId` string, required
    - `type` 'comment' | 'task' | 'status_changed' | 'priority_changed' | 'unassigned' | 'assignee_changed' | 'due_date_changed' | 'title_changed' | 'description_changed' | 'create', required
    - `createdAt` string, date-time, required
    - `userId` string, nullable, required
    - `content` string, nullable, required
    - `eventData` object, nullable, required
    - `externalUserName` string, nullable, required
    - `externalUserAvatar` string, nullable, required
    - `externalSource` string, nullable, required
    - `externalUrl` string, nullable, required

---

[API](https://skmtc.net/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.net/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/versions/09053e1c8b21/schema)
