---
title: "Create learning space"
method: POST
path: "/learning_spaces"
tags: ["learning_spaces"]
---

# Create learning space

`POST /learning_spaces`

Create a new learning space. Optionally associate with a user.

## Request body

- HandlerCreateLearningSpaceReq
  - `meta` object
  - `user` string

## Response `201`

Created

- object
  - `code` integer
  - `error` string
  - `msg` string
  - `data` ModelLearningSpace
    - `created_at` string
    - `id` string
    - `meta` object
    - `updated_at` string
    - `user_id` string

---

[API](https://skmtc.dev/memodb-io/apis/acontext-api.md) · [All operations](https://skmtc.dev/memodb-io/apis/acontext-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/memodb-io/acontext-api/revisions/c8775333b1ed/schema)
