---
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

## Changes

- **2026-02-25** `de49d6016aac` — 2 info
  - api tag `learning_spaces` added
  - api tag `LearningSpaces` removed
- **2026-02-18** `733cad29883b` — 1 info
  - endpoint added
- **2025-11-12** `a1c1bcb0e2ee` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/memodb-io/apis/acontext-api/changes/learning_spaces/post.md)

---

[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/de49d6016aac/schema)
