curl --request GET \
--url https://api.byblend.com/api/v1/search/tasks \
--header 'Authorization: Bearer <token>'
{
"results": [
{
"rank": 0.7,
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"assignee": {
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"first_name": "Rodrigo",
"last_name": "Davis",
"role": "admin"
},
"completed_at": "2025-02-01T20:10:43Z",
"created_at": "2025-01-01T00:00:00Z",
"created_by_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"assignee_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"name": "Confirm shelf-stability of recent batch",
"description": "Please find the most recent batch (April 2, 2025) of the topical rapamycin and confirm shelf-stability given the new expiration date of May 14, 2025.",
"category_code": "T01",
"category_name": "Order",
"status_code": "NEW",
"status_name": "New",
"order_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"patient_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"prescription_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"watchers": [
{
"id": "1326d1e5-ba9a-42b5-8fe2-38882aa65708",
"first_name": "Daphne",
"last_name": "Dafoe",
"role": "admin"
}
]
}
]
}
Search tasks by name, description, or a substring.
curl --request GET \
--url https://api.byblend.com/api/v1/search/tasks \
--header 'Authorization: Bearer <token>'
{
"results": [
{
"rank": 0.7,
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"assignee": {
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"first_name": "Rodrigo",
"last_name": "Davis",
"role": "admin"
},
"completed_at": "2025-02-01T20:10:43Z",
"created_at": "2025-01-01T00:00:00Z",
"created_by_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"assignee_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"name": "Confirm shelf-stability of recent batch",
"description": "Please find the most recent batch (April 2, 2025) of the topical rapamycin and confirm shelf-stability given the new expiration date of May 14, 2025.",
"category_code": "T01",
"category_name": "Order",
"status_code": "NEW",
"status_name": "New",
"order_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"patient_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"prescription_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"watchers": [
{
"id": "1326d1e5-ba9a-42b5-8fe2-38882aa65708",
"first_name": "Daphne",
"last_name": "Dafoe",
"role": "admin"
}
]
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Search query
"\"confirm shelf-stability\""
Optional limit on the number of results to return. Max is 100, default is 50.
10
Successful response with array of tasks
The response is of type object
.