---
title: "Create a new inventory"
method: POST
path: "/inventory_manager/v1/inventories"
tags: ["Inventory Manager"]
---

# Create a new inventory

`POST /inventory_manager/v1/inventories`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/inventory_manager/v1/inventories`
- Auth: none declared

Creates a new inventory with the specified name and optional properties.

## Request body

- object
  - `name` string: The name of the inventory
  - `description` string: Description of the inventory
  - `groups` string[]: Array of group names that will have access to this inventory (at least one group required)
  - `tags` string[]: Array of tag names to associate with this inventory. Tags will be automatically created if they don't exist.
  - `actions` InventoryManagerInventoryCreateActionsItems[]: Array of action objects to create with the inventory
    - `name` string, required: The name of the action
    - `action_type` 'iag5-service', required: The type of action that determines how it will be executed
    - `action_config` InventoryManagerInventoryCreateActionsItemsActionConfig: Configuration settings for the action
    - `action_parameters` InventoryManagerInventoryCreateActionsItemsActionParameters: Runtime parameters for the action execution
  - `createBrokerActions` boolean: Automatically create built-in broker actions (get-config, set-config, run-command, is-alive) for device broker compatibility. Custom actions with the same name will override the default broker actions.
  - `defaultClusterId` string: Default cluster ID for built-in broker actions. Required when createBrokerActions is enabled.

## Response `200`

Response from creating an inventory

- InventoryManagerCreateInventoryResponse200
  - `status` string
  - `result` InventoryManagerV1InventoriesPostResponsesContentApplicationJsonSchemaResult: The created inventory document
    - `name` string, required: The name of the inventory
    - `version` string, date-time
    - `groups` string[]
    - `description` string
    - `actions` InventoryManagerV1InventoriesPostResponsesContentApplicationJsonSchemaResultActionsItems[]
      - `name` string, required
      - `action_type` string, required
      - `action_config` InventoryManagerV1InventoriesPostResponsesContentApplicationJsonSchemaResultActionsItemsActionConfig
      - `action_parameters` InventoryManagerV1InventoriesPostResponsesContentApplicationJsonSchemaResultActionsItemsActionParameters
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `created_by` string
      - `updated_by` string
    - `tags` string[]: Array of tag IDs associated with this inventory
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `created_by` string
    - `updated_by` string
    - `_id` string: MongoDB document ID
  - `message` string: Success message

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Inventory Manager` added
  - api tag `inventoryManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/inventory_manager/v1/inventories/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
