---
title: "Get captcha preharvest tasks"
method: GET
path: "/captcha/preharvest"
tags: ["captcha"]
---

# Get captcha preharvest tasks

`GET /captcha/preharvest`

Retrieve all captcha preharvest tasks

## Query parameters

- `sort` 1 | 2
- `limit` integer
- `after` integer
- `before` integer

## Response `200`

An array of preharvest task(s).

- PreharvestTask[]
  - `id` string, required
  - `user_id` string, required
  - `state` integer, required — The current state of a captcha preharvest task: * **1** running * **2** stopped
  - `uses` integer
  - `site` 'kith_eu' | 'queue_it', required — #### Sites Sites represent the modules and functionality of the Copped AIO bot. Every site has further metadata storing those properties. Currently, the list of sites is as following: * **kith_eu** - [KithEU](https://eu.kith.com) * **queue_it** - [Queue-it](https://queue-it.com)
  - `routine` boolean
  - `date` string, date-time
  - `schedule` string

## Other responses

- `204` — No captcha preharvest tasks found
- `401` — Request unauthorized
- `500` — Internal server error
- `5XX` — Unexpected/-handled error

---

[API](https://skmtc.net/discord/apis/copped-aio-database-api.md) · [All operations](https://skmtc.net/discord/apis/copped-aio-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/discord/copped-aio-database-api/versions/b60a9661e94b/schema)
