---
title: "Retrieve a list of planting activities"
method: GET
path: "/v4/layers/asPlanted"
tags: ["Layers"]
---

# Retrieve a list of planting activities

`GET /v4/layers/asPlanted`

Retrieve a list of planting activities. The id in the response is used for  GET /v4/layers/asPlanted/{activityId}/contents.

## Query parameters

- `resourceOwnerId` string, uuid
- `occurredAfter` string, date-time
- `occurredBefore` string, date-time
- `updatedAfter` string, date-time

## Headers

- `Accept` string, required
- `X-Next-Token` string
- `X-Limit` integer

## Response `200`

OK

- PlantingActivities — A batch of planting activities
  - `results` PlantingActivitySummary[], required
    - `id` string, uuid, required — The id of a planting activity.
    - `startTime` string, date-time, required — The start time of the planting activity. Time in ISO 8601 format with UTC timezone, 3 fractional seconds (https://tools.ietf.org/html/rfc3339).
    - `endTime` string, date-time, required — The start time of the planting activity. Time in ISO 8601 format with UTC timezone, 3 fractional seconds (https://tools.ietf.org/html/rfc3339).
    - `createdAt` string, date-time, required — The time the planting activity was created. Time in ISO 8601 format with UTC timezone, 3 fractional seconds. (https://tools.ietf.org/html/rfc3339).
    - `updatedAt` string, date-time, required — The time the planting activity was last updated. Time in ISO 8601 format with UTC timezone, 3 fractional seconds. (https://tools.ietf.org/html/rfc3339).
    - `length` integer, required — The size in bytes of the raw planting activity file.
    - `fieldIds` string[], required — Array of field ids associated the planting activity.

## Other responses

- `206` — Partial Result
- `304` — Not Modified
- `400` — Bad Input

---

[API](https://skmtc.net/fieldview/apis/climate-fieldview-platform-apis.md) · [All operations](https://skmtc.net/fieldview/apis/climate-fieldview-platform-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fieldview/climate-fieldview-platform-apis/versions/f6831695600e/schema)
