---
title: "Create Virtual user from HAR record"
method: POST
path: "/design/imports/har/{projectId}"
tags: ["Design - Virtual Users - Imports"]
---

# Create Virtual user from HAR record

`POST /design/imports/har/{projectId}`

## Request

- Base URL: `https://api.octoperf.com`
- URL: `https://api.octoperf.com/design/imports/har/{projectId}`
- Auth: none declared

## Path parameters

- `projectId` string, required

## Query parameters

- `virtualUserId` string
- `containers` 'PAGE_REF' | 'THINKTIME'
- `resources` 'KEEP_ALL' | 'REMOVE'
- `adblock` 'ENABLED' | 'DISABLED'
- `thinktime` 'THINKTIMES' | 'DELAYS'
- `maxThinktime` integer
- `containerTimeline` string

## Request body

- object
  - `file` string, binary, required

## Response `200`

OK

- VirtualUser
  - `id` string
  - `userId` string
  - `projectId` string
  - `name` string
  - `description` string
  - `children` Action[], nullable
    - `enabled` boolean
    - `children` Action[]
    - `id` string
  - `created` string, date-time
  - `lastModified` string, date-time
  - `type` 'JMETER' | 'WEB_DRIVER' | 'FRAGMENTS' | 'PLAYWRIGHT' | 'K6'
  - `tags` string[], nullable

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests

## Changes

- **2026-11-03** `637a8f8ce8cf`: 1 info
  - api operation id `e_3` removed and replaced with `x_7`
- **2026-10-30** `fc0ab021d8d3`: 1 info
  - api operation id `l_3` removed and replaced with `e_3`
- **2026-10-29** `6fb7a9d5eb1c`: 1 info
  - api operation id `G_5` removed and replaced with `l_3`
- **2026-10-28** `6fc0f4ece308`: 1 info
  - api operation id `f_4` removed and replaced with `G_5`
- **2026-10-27** `d04c0ffc592f`: 1 info
  - api operation id `Z_6` removed and replaced with `f_4`

[Operation history](https://skmtc.dev/octoperf/apis/octoperf-api/changes/design/imports/har/:projectId/post.md)

---

[API](https://skmtc.dev/octoperf/apis/octoperf-api.md) - [All operations](https://skmtc.dev/octoperf/apis/octoperf-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octoperf/apis/octoperf-api/revisions/637a8f8ce8cf?raw)
