---
title: "POST /v1/compliance-inquiry/create"
method: POST
path: "/v1/compliance-inquiry/create"
---

# POST /v1/compliance-inquiry/create

`POST /v1/compliance-inquiry/create`

Create a new compliance inquiry.

## Request body

- object
  - `name` string, required — Title of the inquiry.
  - `inquiryContent` object, required — Content for creating a compliance inquiry - either a single query or file content.
    - `query` string — Single text query for AI-generated answer.
    - `fileContent` object — File content with multiple questions.
      - `fileSections` ShortStringAttribute[] — List of file sections/sheets to process.
      - `content` string, required — Binary content of the uploaded file.
  - `clientToken` string — Idempotency token for the request.
  - `supportMode` 'AI_ONLY' | 'FULL_SUPPORT' — Support mode for inquiry processing. Only supported for file upload mode. Defaults to AI_ONLY if not specified.
  - `tags` object — A map of tag keys to tag values.

## Response `202`

Success

- CreateComplianceInquiryResponse
  - `complianceInquirySummary` object — Summary information about the created compliance inquiry.
    - `arn` string, required — ARN of the compliance inquiry resource.
    - `name` string, required — Title of the inquiry.
    - `id` string, required — Unique resource ID for the compliance inquiry.
    - `status` 'PROCESSING' | 'HUMAN_REVIEW' | 'COMPLETED' | 'FAILED', required — Current processing status of the inquiry.
    - `statusMessage` 'Compliance inquiry processing is complete.' | 'Malware was detected on the file. Provide a new file and try again.' | 'Compliance inquiry processing is in-progress.' | 'An internal error occurred while processing the inquiry. Try again at a later time.' | 'Human review is in progress.' | 'Compliance inquiry processing is complete. One or more queries encountered errors during processing.', required — Status message providing additional context.
    - `inputSource` 'TEXT' | 'FILE', required — Type of inquiry content (text or file).
    - `createdAt` string, date-time, required — Timestamp indicating when the resource was created.
  - `tags` object — Tags associated with the compliance inquiry resource.

## Other responses

- `480` — ThrottlingException
- `481` — AccessDeniedException
- `482` — ConflictException
- `483` — InternalServerException
- `484` — ValidationException

---

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