---
title: "Create a scan task for a given site"
method: PUT
path: "/org/sites/{site_id}/scan"
tags: ["Organization"]
---

# Create a scan task for a given site

`PUT /org/sites/{site_id}/scan`

## Path parameters

- `site_id` string, uuid, required

## Response `200`

a created scan task

- Task
  - `id` string, uuid, required
  - `name` string
  - `description` string
  - `template_id` string, uuid
  - `client_id` string, uuid
  - `organization_id` string, uuid
  - `agent_id` string, uuid
  - `site_id` string, uuid
  - `cruncher_id` string, uuid
  - `created_at` integer
  - `created_by` string, email
  - `created_by_user_id` string, uuid
  - `updated_at` integer
  - `type` string
  - `status` string
  - `error` string
  - `params` object
  - `stats` object
  - `hidden` boolean
  - `parent_id` string, uuid
  - `recur` boolean
  - `recur_frequency` string
  - `start_time` integer
  - `recur_last` integer
  - `recur_next` integer
  - `recur_last_task_id` string, uuid

## Other responses

- `401` — Access token is missing or invalid
- `403` — License has expired
- `404` — Resource not found
- `500` — Request could not be processed

## Changes

- **2022-06-23** `cffde546b029` — 1 info
  - added the optional property `template_id` to the response with the `200` status
- **2022-01-21** `e88bca693b2f` — 7 info
  - added the new optional request property `host-ping`
  - added the new optional request property `max-attempts`
  - added the new optional request property `max-ttl`
  - added the new optional request property `subnet-ping`
  - …3 more
- **2020-12-14** `ef93eac5900f` — 1 info
  - added the new optional request property `scan-grace-period`
- **2020-12-14** `6de395e5c099` — 2 info
  - added the new optional request property `scan-tags`
  - added the new `continuous` enum value to the request property `scan-frequency`
- **2020-09-23** `06f3512e36de` — 7 info
  - the `max-group-size` request property type/format was generalized from `integer`/`` to `string`/``
  - the `max-host-rate` request property type/format was generalized from `integer`/`` to `string`/``
  - the `max-sockets` request property type/format was generalized from `integer`/`` to `string`/``
  - the `passes` request property type/format was generalized from `integer`/`` to `string`/``
  - …3 more

[Full history](https://skmtc.dev/github/apis/rumble-api-deprecated/changes/org/sites/:site_id/scan/put.md)

---

[API](https://skmtc.dev/github/apis/rumble-api-deprecated.md) · [All operations](https://skmtc.dev/github/apis/rumble-api-deprecated/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/github/rumble-api-deprecated/revisions/7c193c1fcd5c/schema)
