> For the complete documentation index, see [llms.txt](https://docs.netmap.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.netmap.dev/guides/import-devices.md).

# Import Devices

## What This Does

Imports device records in bulk.

## Required Permissions

`topology_write`.

## API Equivalent

Endpoint: `POST /api/v1/topology/devices/import`.

Request model: `DeviceBulkImportRequest`.

Documentation gap: this page needs field-level import examples from `backend/app/schemas/topology.py` and frontend import parser behavior in `frontend/src/utils/csv.ts`.

## Before You Begin

Clean import data before loading it. Confirm:

* device names are meaningful;
* IP addresses are valid;
* MAC addresses are normalized where available;
* device types match existing options or expected custom types;
* group and site names are consistent.

## Workflow

1. Open Inventory.
2. Start the import flow.
3. Upload or paste data according to the UI.
4. Review parsed rows.
5. Fix validation errors.
6. Import only the intended rows.
7. Verify devices appear in Inventory and Topology.

## API Endpoint

```
POST /api/v1/topology/devices/import
```

Request model: `DeviceBulkImportRequest`.

## Related Pages

* [Inventory](/using-netmap/inventory.md)
* [Add A Device](/guides/add-device.md)
* [Endpoint Inventory](/api/api-reference.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.netmap.dev/guides/import-devices.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
