---
title: "POST /detector/{detectorId}/findings/create"
method: POST
path: "/detector/{detectorId}/findings/create"
---

# POST /detector/{detectorId}/findings/create

`POST /detector/{detectorId}/findings/create`

Generates sample findings of types specified by the list of finding types. If 'NULL' is specified for <code>findingTypes</code>, the API generates sample findings of all supported finding types.

## Path parameters

- `detectorId` string, required

## Request body

- object
  - `findingTypes` FindingType[] — The types of sample findings to generate.

## Response `200`

Success

- CreateSampleFindingsResponse

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException

---

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