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

# workspace の作成

> Square Cloud アカウントに新しい workspace を作成します。

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  アカウントの API キーです。これは[アカウント設定](https://squarecloud.app/ja/account/security)で確認できます。
</ParamField>

### パラメータ

<ParamField body="name" type="string" placeholder="Workspace name">
  workspace の名前を表す文字列。<br />a〜z、A〜Z、0〜9、スペース、\_ のパターンに従う必要があります。（1〜32文字）
</ParamField>

### レスポンス

<ResponseField name="status" type="string">
  呼び出しが成功したかどうかを示します。成功した場合は `success`、失敗した場合は `error` です。
</ResponseField>

<ResponseField name="response" type="object">
  レスポンスの内容。

  <Expandable title="オブジェクトを切り替え">
    <ResponseField name="id" type="string">
      workspace の ID。
    </ResponseField>

    <ResponseField name="name" type="string">
      workspace の名前。
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}

  {
      "status": "success",
      "response": {
          "id": "dcedcd13d7e272a7b32a70f6a1d180f23c12d759",
          "name": "Test"
      }
  }

  ```
</ResponseExample>
