Skip to content

ulams authoring-metrics

Generated from front/cli (ulams schema)

Download the authoring metric as CSV or JSON lines (use –out).

Kind: read (idempotent). Stability: stable. MCP tool: authoring_metrics_export. Scopes: builder:read.

Endpoints: GET /api/admin/authoring-metrics/courses/export.

Flag Type Required Description
--format string csv (default) or jsonl
--from string Courses created on or after this date (YYYY-MM-DD)
--to string Courses created on or before this date (YYYY-MM-DD)
--course-id[] array Only these courses
--out string Write the download to this path (- for stdout)
Terminal window
# Download the authoring metric as CSV or JSON lines (use --out)
ulams authoring-metrics export --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"csv",
"jsonl"
],
"description": "csv (default) or jsonl"
},
"from": {
"type": "string",
"description": "Courses created on or after this date (YYYY-MM-DD)"
},
"to": {
"type": "string",
"description": "Courses created on or before this date (YYYY-MM-DD)"
},
"course_id[]": {
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "Only these courses"
},
"out": {
"description": "Write the download to this path (- for stdout)",
"type": "string"
}
},
"additionalProperties": {}
}

Authoring metric of one course: time per stage, cost and the split of AI elements.

Kind: read (idempotent). Stability: stable. MCP tool: authoring_metrics_get. Scopes: builder:read.

Endpoints: GET /api/admin/authoring-metrics/courses/{course}.

Flag Type Required Description
--course (positional) integer yes
Terminal window
# Authoring metric of one course: time per stage, cost and the split of AI elements
ulams authoring-metrics get 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"course": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"course"
],
"additionalProperties": {}
}

Authoring metric snapshots of courses built with the Course Builder.

Kind: read (idempotent). Stability: stable. MCP tool: authoring_metrics_list. Scopes: builder:read.

Endpoints: GET /api/admin/authoring-metrics/courses.

Flag Type Required Description
--from string Courses created on or after this date (YYYY-MM-DD)
--to string Courses created on or before this date (YYYY-MM-DD)
--course-id[] array Only these courses
Terminal window
# Authoring metric snapshots of courses built with the Course Builder
ulams authoring-metrics list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Courses created on or after this date (YYYY-MM-DD)"
},
"to": {
"type": "string",
"description": "Courses created on or before this date (YYYY-MM-DD)"
},
"course_id[]": {
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "Only these courses"
}
},
"additionalProperties": {}
}