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

> 16 revisions in range; 1 not diffed.

- **2026-09-19** `c81ed506912f` — 1 info
  - the `created_at` response's property default value changed from `2026-09-17T10:04:40.753003` to `2026-09-18T23:23:18.444432` for the status `200`
- **2026-09-17** `1c9d51d22866` — 1 info
  - the `created_at` response's property default value changed from `2026-09-15T20:23:35.398343` to `2026-09-16T22:26:54.334826` for the status `200`
- **2026-09-16** `9f813eb42d6f` — 1 info
  - the `created_at` response's property default value changed from `2026-09-15T09:21:01.571752` to `2026-09-15T20:23:35.398343` for the status `200`
- **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`

[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/c81ed506912f?raw)
