ulams knowledge
Generated from front/cli (ulams schema)
ulams knowledge exports-create
Section titled “ulams knowledge exports-create”Start a knowledge pack export of one course or of the whole tenant.
Kind: write. Stability: stable. MCP tool: knowledge_exports_create. Scopes: learner:write.
Endpoints: POST /api/admin/knowledge/exports.
| Flag | Type | Required | Description |
|---|---|---|---|
--course-id |
integer | Required for scope course | |
--scope |
string | yes |
# Export one course for company RAGulams knowledge exports-create --scope course --course-id 12 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "Required for scope course" }, "scope": { "type": "string", "enum": [ "course", "tenant" ] } }, "required": [ "scope" ], "additionalProperties": {}}ulams knowledge exports-download
Section titled “ulams knowledge exports-download”Download manifest.json, chunks.jsonl or index.json of a ready export (use –out).
Kind: read (idempotent). Stability: stable. MCP tool: knowledge_exports_download. Scopes: learner:read.
Endpoints: GET /api/admin/knowledge/exports/{export}/download.
| Flag | Type | Required | Description |
|---|---|---|---|
--export (positional) |
string | yes | |
--file |
string | yes | |
--course |
integer | Course of a tenant export (for manifest and chunks) | |
--out |
string | Write the download to this path (- for stdout) |
# Download manifest.json, chunks.jsonl or index.json of a ready export (use --out)ulams knowledge exports-download text --file text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "export": { "type": "string" }, "file": { "type": "string", "enum": [ "manifest", "chunks", "index" ] }, "course": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "Course of a tenant export (for manifest and chunks)" }, "out": { "description": "Write the download to this path (- for stdout)", "type": "string" } }, "required": [ "export", "file" ], "additionalProperties": {}}ulams knowledge exports-get
Section titled “ulams knowledge exports-get”One knowledge export.
Kind: read (idempotent). Stability: stable. MCP tool: knowledge_exports_get. Scopes: learner:read.
Endpoints: GET /api/admin/knowledge/exports/{export}.
| Flag | Type | Required | Description |
|---|---|---|---|
--export (positional) |
string | yes |
# One knowledge exportulams knowledge exports-get text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "export": { "type": "string" } }, "required": [ "export" ], "additionalProperties": {}}ulams knowledge exports-list
Section titled “ulams knowledge exports-list”Knowledge exports, newest first.
Kind: read (idempotent). Stability: stable. MCP tool: knowledge_exports_list. Scopes: learner:read.
Endpoints: GET /api/admin/knowledge/exports.
| Flag | Type | Required | Description |
|---|---|---|---|
--course-id |
integer |
# Knowledge exports, newest firstulams knowledge exports-list --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "additionalProperties": {}}ulams knowledge latest
Section titled “ulams knowledge latest”The latest ready export of a course.
Kind: read (idempotent). Stability: stable. MCP tool: knowledge_latest. Scopes: learner:read.
Endpoints: GET /api/admin/knowledge/courses/{course}/latest.
| Flag | Type | Required | Description |
|---|---|---|---|
--course (positional) |
integer | yes |
# The latest ready export of a courseulams knowledge latest 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "course" ], "additionalProperties": {}}