---
title: "임시 Domain 생성 "
slug: "analytics-cloudsearch-createtempdomain"
tags: ["Cloud Search"]
updated: 2026-04-23T08:56:08Z
published: 2026-04-23T09:02:28Z
canonical: "api.ncloud-docs.com/analytics-cloudsearch-createtempdomain"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 임시 Domain 생성

Cloud Search에서 사용할 도메인을 임시로 생성할 수 있습니다. 해당 요청을 수행하기 이전에 [Schema 검증](/docs/analytics-cloudsearch-checkschemavalidator)을 통해서 작성한 Schema를 확인해보세요.

```
POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tempdomain
```

## 요청

### 요청 바디

| 필드명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
| --- | --- | --- | --- | --- |
| name | Required | string | 영문, "_"로 시작, 영문, 숫자, "_", "-" 허용 최소 3자 최대 20자까지 입력 | 도메인 이름 |
| type | Optional | string | small, medium, large, xlarge, xxlarge, xxxlarge 중 하나를 선택(Default:small) | 컨테이너 규모 설정 |
| description | Optional | string | 0 ~ 100자까지 입력 | 도메인 설명 |
| indexerCount | Optional | number | 현재는 1만 설정 가능 | 색인용 컨테이너 수 |
| searcherCount | Optional | number | Min:1, Max:4 | 검색용 컨테이너 수 |
| schema.document | Optional | [Schema](/docs/common-apidatatype-csschema) | 유효한 Schema([Schema 검증](/docs/analytics-cloudsearch-checkschemavalidator)을 통해 확인 가능) | 검색 설정 |

## 응답

| HTTP Status | Desc |
| --- | --- |
| 200 | OK(생성 완료) |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 500 | Internal Server Error |

## 예시

### 요청 예시

```
POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tempdomain

POST /CloudSearch/real/v1/tempdomain HTTP/1.1
Host:cloudsearch.apigw.ntruss.com
Content-Type: application/json

x-ncp-apigw-signature-v2: LssXAuyQepxO4ie/XFnCKTJQZzDpOD0GyNQFz9OKhjY=
x-ncp-apigw-timestamp: 1545957229164
x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi

{
  "name": "pet_temp",
  "description" : "search engine for pet",
  "type" : "small",
  "indexerCount": 1,
  "searcherCount": 1
}
```

### 응답 예시

```
{"result":"ok"}
```
