---
title: "GET /crops"
method: GET
path: "/crops"
tags: ["Crops"]
---

# GET /crops

`GET /crops`

Returns a paginated list of crop resources.

## Query parameters

- `phenotypes` string[]
- `breedingMethods` string[]
- `locations` string[]
- `referenceDatasetIds` string[]
- `referenceRecordIds` string[]
- `ids` string[]
- `names` string[]
- `propertyFilters` string[]
- `statuses` string[]
- `minCreatedDateTime` string, date-time
- `maxCreatedDateTime` string, date-time
- `minLastModifiedDateTime` string, date-time
- `maxLastModifiedDateTime` string, date-time
- `maxPageSize` integer
- `skipToken` string
- `api-version` string, required

## Response `200`

Success

- CropListResponse — Paged response contains list of requested objects and a URL link to get the next set of results.
  - `value` Crop[], required — List of requested objects.
    - `reference` Reference — Reference to a dataset record.
      - `datasetId` string — Dataset id.
      - `recordId` string — Record id.
    - `phenotype` string — Phenotype of the crop. Example values are crop weight, height, color, etc.
    - `breedingMethod` string — Type of breeding Method like VARIETY, HYBRID, UNKNOWN.
    - `measurements` object — The properties that pertain to this crop such as nominal weight, nominal moisture, and shrink factor.
    - `location` string — Region where the crop is planted.
    - `id` string — Unique resource ID.
    - `eTag` string — The ETag value to implement optimistic concurrency.
    - `status` string — Status of the resource.
    - `createdDateTime` string, date-time — Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.
    - `modifiedDateTime` string, date-time — Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.
    - `source` string — Source of the resource.
    - `name` string — Name to identify resource.
    - `description` string — Textual description of the resource.
    - `createdBy` string — Created by user/tenant id.
    - `modifiedBy` string — Modified by user/tenant id.
    - `properties` object — A collection of key value pairs that belongs to the resource. Each pair must not have a key greater than 50 characters and must not have a value greater than 150 characters. Note: A maximum of 25 key value pairs can be provided for a resource and only string, numeral and datetime (yyyy-MM-ddTHH:mm:ssZ) values are supported.
  - `skipToken` string — Token used in retrieving the next page. If null, there are no additional pages.
  - `nextLink` string — Continuation link (absolute URI) to the next page of results in the list.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/agrifood-agfoodplatform.md) · [All operations](https://skmtc.net/azure/apis/agrifood-agfoodplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/agrifood-agfoodplatform/revisions/33cf1de6e0c4/schema)
