Skip to main content
GET
/
api
/
v1
/
tasks
curl 'https://www.wiseyield.co/api/v1/tasks?status=pending&limit=50' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"
{
  "data": [
    {
      "id": "<string>",
      "farmId": "<string>",
      "title": "<string>",
      "description": {},
      "status": "<string>",
      "priority": "<string>",
      "category": "<string>",
      "dueDate": {},
      "startDate": {},
      "completedDate": {},
      "assignedTo": {},
      "createdBy": "<string>",
      "cropId": {},
      "fieldId": {},
      "blockId": {},
      "sopTemplateId": {},
      "notes": {},
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ],
  "pagination": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.wiseyield.co/llms.txt

Use this file to discover all available pages before exploring further.

GET https://www.wiseyield.co/api/v1/tasks

Authentication

Requires a key with the tasks:read scope. See Authentication.

Query parameters

page
integer
default:"1"
Page number (≥ 1).
limit
integer
default:"20"
Results per page (1–100; values above 100 clamped to 100).
status
string
Filter by status: pending, in_progress, completed, overdue, cancelled.
farmId
string
Filter to tasks on a specific farm (UUID).
sort
string
default:"createdAt"
Sort field: createdAt, dueDate, priority, title.
order
string
default:"desc"
asc or desc.

Response

data
array
Array of task objects.
pagination
object
Offset pagination envelope (page, limit, total, totalPages). See Pagination.
curl 'https://www.wiseyield.co/api/v1/tasks?status=pending&limit=50' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"

Errors

StatusWhen
401Missing, malformed, expired, or revoked API key
403 INSUFFICIENT_SCOPEKey lacks tasks:read scope
429 RATE_LIMIT_EXCEEDEDPer-user rate limit reached
5xxServer error