--- title: "臨時Domain作成" slug: "analytics-cloudsearch-createtempdomain" updated: 2026-09-17T09:57:26Z published: 2026-09-17T09:57:26Z 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で使うDomainを臨時的に作成できます。 該当リクエストを実行する前に [Schema検証](/docs/ja/analytics-cloudsearch-checkschemavalidator)を通じて作成したSchemaを確認してください。 ``` POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tempdomain ``` ## リクエスト ### リクエストボディ | フィールド名 | 必須 | タイプ | 制約事項 | 説明 | | --- | --- | --- | --- | --- | | name | Required | String | 英文字、 "_"ではじまる、英文字、数字、 "_"、"-" 許容、最小3文字、最大20文字まで入力 | Domain名 | | | Optional | String | small, medium, large, xlarge, xxlarge, xxxlargeの中、一つを選択(Default:small) | コンテナ規模設定 | | description | Optional | String | 0 ~ 100文字まで入力 | Domain説明 | | indexerCount | Optional | Number | 現在は1のみ設定可能 | インデックス用コンテナ数 | | searcherCount | Optional | Number | Min:1, Max:4 | 検索用コンテナ数 | | schema.document | Optional | [Schema](/docs/ja/common-apidatatype-csschema) | 有効なSchema([Schema検証](/docs/ja/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 accept: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"} ```