---
title: "Create Ai Activate Inventory"
method: POST
path: "/ai_activate/inventories"
tags: ["AI Activate"]
---

# Create Ai Activate Inventory

`POST /ai_activate/inventories`

## Request

- Base URL: `https://am1.portal.api.nasuni.com`
- URL: `https://am1.portal.api.nasuni.com/ai_activate/inventories`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nasuni/apis/portal-api/docs/ai_activate/inventories/post.ts> (a function with typed inputs; its response is checked against the schema)

Create AI Activate inventory indexing for a volume.

## Request body

- AiActivateCreateInventoryRequestBodyDto
  - `volume_guid` string, required
  - `region` string, nullable: Required for Azure volumes only. Use an Azure location code such as 'centralus', not a display name. For AWS volumes, this value is ignored and the volume storage region is used.

## Response `201`

AI Activate inventory created

- AiActivateCreateInventoryResponseDto
  - `volume_guid` string, required
  - `volume_name` string, required
  - `provider` string, required: Provider used to execute inventory indexing, as confirmed by NOC after inventory creation.
  - `volume_region` string, nullable: API-provided volume region (default NDS region unless changed by the user).
  - `region` string, required: Region used to execute inventory indexing, as confirmed by NOC after inventory creation.
  - `status` 'Not Activated' | 'Preparing for Volume Inventory' | 'Volume Inventory In Progress' | 'Ready to Activate' | 'Activation In Progress' | 'Active' | 'Paused' | 'Volume Inventory Failed' | 'Activation Failed' | 'Volume Inventory Expired' | 'Removal Pending' | 'Removed' | 'Unknown', required
  - `file_count` integer, nullable: Number of files included in the volume inventory. May be unavailable until inventory data is ready.
  - `volume_size` string, nullable: Human-readable volume size string e.g. '10.5 TB'. May be unavailable until the volume is fully indexed.

## Other responses

- `400`: Bad request
- `401`: Not authenticated
- `403`: Insufficient permissions
- `404`: Resource not found
- `408`: Request timeout
- `409`: Resource state conflict
- `422`: Invalid input data
- `500`: Internal server error

---

[API](https://skmtc.dev/nasuni/apis/portal-api.md) - [All operations](https://skmtc.dev/nasuni/apis/portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nasuni/apis/portal-api/revisions/2a505bec6d14?raw)
