---
title: "Create Custom Course"
method: POST
path: "/demo-custom-course"
tags: ["Demo Custom Course"]
---

# Create Custom Course

`POST /demo-custom-course`

Create a new custom course in ephemeral storage.
Instead of storing in DB, we store in DEMO_COURSE_SESSIONS.

## Query parameters

- `session_id` string, required — Ephemeral session ID

## Request body

- CustomCourseCreate
  - `title` string, required

## Response `200`

Successful Response

- RoutersDemoCustomCourseCustomCourseResponse
  - `id` string, required
  - `title` string, required
  - `content` RoutersDemoCustomCourseCustomCourseContent[], required
    - `content` string, required
    - `latex_content` string, required
    - `content_type` string, required
    - `order` integer, required
    - `created_at` string, date-time

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-15** `2a0c1636fd3b` — 1 info
  - the `created_at` response's property default value changed from `2026-09-14T11:03:50.332944` to `2026-09-15T09:21:01.571752` for the status `200`
- **2026-09-14** `0a41d91c9d20` — 1 info
  - the `created_at` response's property default value changed from `2026-09-10T15:01:49.525473` to `2026-09-14T11:03:50.332944` for the status `200`
- **2026-09-10** `da2adc76dec3` — 1 info
  - the `created_at` response's property default value changed from `2026-09-09T16:24:50.028792` to `2026-09-10T15:01:49.525473` for the status `200`
- **2026-09-09** `a5af9b3b34f7` — 1 info
  - the `created_at` response's property default value changed from `2026-09-08T11:59:33.526934` to `2026-09-09T16:24:50.028792` for the status `200`
- **2026-09-09** `e75413b9576a` — 1 info
  - the `created_at` response's property default value changed from `2026-09-07T11:14:04.896563` to `2026-09-08T11:59:33.526934` for the status `200`

[Full history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/demo-custom-course/post.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
