---
title: "Create new scanning operation"
method: POST
path: "/api/stateless/scan"
tags: ["Stateless"]
---

# Create new scanning operation

`POST /api/stateless/scan`

Create new scanning operation

## Request body

- ScanRequest
  - `operation_id` string, required
  - `db_connection_params` DbConnectionParams, required
    - `host` string, required
    - `port` integer, required
    - `db_name` string, required
    - `user_login` string, required
    - `user_password` string, required
  - `webhook_status_url` string, required
  - `webhook_metadata` unknown
  - `webhook_extra_headers` object, nullable
  - `webhook_verify_ssl` boolean, nullable
  - `save_dicts` boolean, nullable
  - `type` 'full' | 'partial', required
  - `meta_dict_contents` DictionaryContent[], required
    - `name` string, required
    - `additional_info` string, nullable
    - `content` string, required
  - `sens_dict_contents` DictionaryContent[]
    - `name` string, required
    - `additional_info` string, nullable
    - `content` string, required
  - `no_sens_dict_contents` DictionaryContent[]
    - `name` string, required
    - `additional_info` string, nullable
    - `content` string, required
  - `need_no_sens_dict` boolean
  - `depth` integer, nullable
  - `proc_count` integer, nullable
  - `proc_conn_count` integer, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `400` — Bad Request
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/tantorlabs/apis/stateless-web-service-for-pg-anon.md) · [All operations](https://skmtc.net/tantorlabs/apis/stateless-web-service-for-pg-anon/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tantorlabs/stateless-web-service-for-pg-anon/versions/4b2c9dd21500/schema)
