Skip to main content
GET
/
api
/
v1
/
templates
curl 'https://www.wiseyield.co/api/v1/templates?category=irrigation' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": {},
      "farmId": {},
      "category": "<string>",
      "priority": "<string>",
      "estimatedDuration": {},
      "defaultAssignee": {},
      "isGlobal": true,
      "isActive": true,
      "createdBy": "<string>",
      "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/templates

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).
farmId
string
Limit to templates either bound to this farm OR farm-agnostic.
category
string
Filter by category (one of the 10 task categories).
includeGlobal
string
default:"true"
"false" to exclude global templates and only return user-owned ones.

Response

data
array
Array of template objects.
pagination
object
Offset pagination envelope.
curl 'https://www.wiseyield.co/api/v1/templates?category=irrigation' \
  -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