curl --request GET \
--url https://api.shingleai.com/v1/tasks/search \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2024-01-15T09:00:00Z",
"updatedAt": "2024-01-15T14:30:00Z",
"deletedAt": null,
"organizationId": "123e4567-e89b-12d3-a456-426614174000",
"title": "Review Q4 budget proposal",
"description": "Complete the quarterly budget review and submit recommendations",
"category": "review",
"importance": "high",
"urgency": "medium",
"status": "todo",
"dueDate": "2024-12-31T23:59:59Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByAgent": false,
"messageId": "550e8400-e29b-41d4-a716-446655440002",
"contactId": "550e8400-e29b-41d4-a716-446655440003",
"metadata": {
"priority": "high",
"source": "email"
},
"assignees": [
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
]
}
],
"meta": {
"pagination": {
"limit": 123,
"offset": 123,
"hasMore": true,
"total": 123
}
}
}Search tasks using full-text search across title, description, and metadata
curl --request GET \
--url https://api.shingleai.com/v1/tasks/search \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2024-01-15T09:00:00Z",
"updatedAt": "2024-01-15T14:30:00Z",
"deletedAt": null,
"organizationId": "123e4567-e89b-12d3-a456-426614174000",
"title": "Review Q4 budget proposal",
"description": "Complete the quarterly budget review and submit recommendations",
"category": "review",
"importance": "high",
"urgency": "medium",
"status": "todo",
"dueDate": "2024-12-31T23:59:59Z",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"createdByAgent": false,
"messageId": "550e8400-e29b-41d4-a716-446655440002",
"contactId": "550e8400-e29b-41d4-a716-446655440003",
"metadata": {
"priority": "high",
"source": "email"
},
"assignees": [
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
]
}
],
"meta": {
"pagination": {
"limit": 123,
"offset": 123,
"hasMore": true,
"total": 123
}
}
}API key authentication via Bearer token
Search query string
1 - 255"budget review"
Maximum number of results to return
1 <= x <= 10010
Number of results to skip
x >= 00
Sort order by relevance
asc, desc "desc"