ulams compliance
Generated from front/cli (ulams schema)
ulams compliance assignments-add
Section titled “ulams compliance assignments-add”Assign a required course to users.
Kind: write. Stability: stable. MCP tool: compliance_assignments_add. Scopes: certificates:write.
Endpoints: POST /api/admin/compliance/assignments.
| Flag | Type | Required | Description |
|---|---|---|---|
--course-id |
integer | yes | |
--due-at |
string | ||
--user-ids |
array | yes |
# Assign a required course to usersulams compliance assignments-add --course-id text --user-ids text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "due_at": { "type": [ "string", "null" ] }, "user_ids": { "type": "array", "items": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } } }, "required": [ "course_id", "user_ids" ], "additionalProperties": {}}ulams compliance assignments-delete
Section titled “ulams compliance assignments-delete”Cancel an open assignment.
Kind: destructive (idempotent). Stability: stable. MCP tool: compliance_assignments_delete. Scopes: certificates:write.
Endpoints: DELETE /api/admin/compliance/assignments/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes |
# Cancel an open assignmentulams compliance assignments-delete 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance assignments-list
Section titled “ulams compliance assignments-list”List required-training assignments.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_assignments_list. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/assignments.
| Flag | Type | Required | Description |
|---|---|---|---|
--status |
string | ||
--user-id |
integer | ||
--course-id |
integer | ||
--per-page |
integer |
# List required-training assignmentsulams compliance assignments-list --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "status": { "type": "string", "enum": [ "assigned", "overdue", "completed", "cancelled" ] }, "user_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "course_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "per_page": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "additionalProperties": {}}ulams compliance competencies-add
Section titled “ulams compliance competencies-add”Add a competency.
Kind: write. Stability: stable. MCP tool: compliance_competencies_add. Scopes: certificates:write.
Endpoints: POST /api/admin/compliance/competencies.
| Flag | Type | Required | Description |
|---|---|---|---|
--code |
string | ||
--description |
string | ||
--name |
string | yes | |
--parent-id |
integer |
# Add a competencyulams compliance competencies-add --name Example --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "code": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "parent_id": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "null" } ] } }, "required": [ "name" ], "additionalProperties": {}}ulams compliance competencies-delete
Section titled “ulams compliance competencies-delete”Delete a competency (its sub-competencies move up, course tags go).
Kind: destructive (idempotent). Stability: stable. MCP tool: compliance_competencies_delete. Scopes: certificates:write.
Endpoints: DELETE /api/admin/compliance/competencies/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes |
# Delete a competency (its sub-competencies move up, course tags go)ulams compliance competencies-delete 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance competencies-list
Section titled “ulams compliance competencies-list”The competency framework as a tree.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_competencies_list. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/competencies.
# The competency framework as a treeulams compliance competencies-list --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {}, "additionalProperties": {}}ulams compliance competencies-set
Section titled “ulams compliance competencies-set”Rename or move a competency.
Kind: write (idempotent). Stability: stable. MCP tool: compliance_competencies_set. Scopes: certificates:write.
Endpoints: PUT /api/admin/compliance/competencies/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | |
--body |
unknown | Request body (JSON) |
# Rename or move a competencyulams compliance competencies-set 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "body": { "description": "Request body (JSON)" } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance courses-competencies
Section titled “ulams compliance courses-competencies”Competency tags of a course (confirmed and suggested).
Kind: read (idempotent). Stability: stable. MCP tool: compliance_courses_competencies. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/courses/{course}/competencies.
| Flag | Type | Required | Description |
|---|---|---|---|
--course (positional) |
integer | yes |
# Competency tags of a course (confirmed and suggested)ulams compliance courses-competencies 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": {}}ulams compliance courses-competencies-delete
Section titled “ulams compliance courses-competencies-delete”Remove a tag or reject a suggestion.
Kind: destructive (idempotent). Stability: stable. MCP tool: compliance_courses_competencies_delete. Scopes: certificates:write.
Endpoints: DELETE /api/admin/compliance/courses/{course}/competencies/{competency}.
| Flag | Type | Required | Description |
|---|---|---|---|
--course (positional) |
integer | yes | |
--competency (positional) |
integer | yes |
# Remove a tag or reject a suggestionulams compliance courses-competencies-delete 1 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "competency": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "course", "competency" ], "additionalProperties": {}}ulams compliance courses-competencies-set
Section titled “ulams compliance courses-competencies-set”Tag a course with a competency (confirmed by the author), or confirm a suggestion.
Kind: write (idempotent). Stability: stable. MCP tool: compliance_courses_competencies_set. Scopes: certificates:write.
Endpoints: PUT /api/admin/compliance/courses/{course}/competencies/{competency}.
| Flag | Type | Required | Description |
|---|---|---|---|
--course (positional) |
integer | yes | |
--competency (positional) |
integer | yes | |
--body |
unknown | Request body (JSON) |
# Tag a course with a competency (confirmed by the author), or confirm a suggestionulams compliance courses-competencies-set 1 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "competency": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "body": { "description": "Request body (JSON)" } }, "required": [ "course", "competency" ], "additionalProperties": {}}ulams compliance courses-competencies-suggest
Section titled “ulams compliance courses-competencies-suggest”Ask the AI which competencies the course teaches.
Kind: write. Stability: stable. MCP tool: compliance_courses_competencies_suggest. Scopes: certificates:write.
Endpoints: POST /api/admin/compliance/courses/{course}/competencies/suggest.
| Flag | Type | Required | Description |
|---|---|---|---|
--course (positional) |
integer | yes | |
--body |
unknown | Request body (JSON) |
# Ask the AI which competencies the course teachesulams compliance courses-competencies-suggest 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "body": { "description": "Request body (JSON)" } }, "required": [ "course" ], "additionalProperties": {}}ulams compliance courses-settings-list
Section titled “ulams compliance courses-settings-list”Compliance settings of a course (defaults when none are saved).
Kind: read (idempotent). Stability: stable. MCP tool: compliance_courses_settings_list. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/courses/{course}/settings.
| Flag | Type | Required | Description |
|---|---|---|---|
--course (positional) |
integer | yes |
# Compliance settings of a course (defaults when none are saved)ulams compliance courses-settings-list 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": {}}ulams compliance courses-settings-set
Section titled “ulams compliance courses-settings-set”Save the compliance settings of a course.
Kind: write (idempotent). Stability: stable. MCP tool: compliance_courses_settings_set. Scopes: certificates:write.
Endpoints: PUT /api/admin/compliance/courses/{course}/settings.
| Flag | Type | Required | Description |
|---|---|---|---|
--course (positional) |
integer | yes | |
--default-due-days |
integer | Due date offset for assignments without an explicit date | |
--escalation-days |
array | ||
--mandatory |
boolean | ||
--recertify-before-days |
integer | Start recertification this many days before expiry; 0 = off | |
--reminder-days |
array | ||
--validity-days |
integer | Days a new certificate stays valid; null = never expires |
# Save the compliance settings of a courseulams compliance courses-settings-set 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "default_due_days": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "null" } ], "description": "Due date offset for assignments without an explicit date" }, "escalation_days": { "anyOf": [ { "type": "array", "items": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, { "type": "null" } ] }, "mandatory": { "type": "boolean" }, "recertify_before_days": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "null" } ], "description": "Start recertification this many days before expiry; 0 = off" }, "reminder_days": { "anyOf": [ { "type": "array", "items": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, { "type": "null" } ] }, "validity_days": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "null" } ], "description": "Days a new certificate stays valid; null = never expires" } }, "required": [ "course" ], "additionalProperties": {}}ulams compliance dashboard
Section titled “ulams compliance dashboard”Compliance dashboard.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_dashboard. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/dashboard.
| Flag | Type | Required | Description |
|---|---|---|---|
--course-id |
integer | Limit to one course |
# Compliance dashboardulams compliance dashboard --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "course_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "Limit to one course" } }, "additionalProperties": {}}ulams compliance managers-list
Section titled “ulams compliance managers-list”List manager links.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_managers_list. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/managers.
# List manager linksulams compliance managers-list --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {}, "additionalProperties": {}}ulams compliance managers-set
Section titled “ulams compliance managers-set”Set or clear (manager_id null) the manager that overdue training escalates to.
Kind: write (idempotent). Stability: stable. MCP tool: compliance_managers_set. Scopes: certificates:write.
Endpoints: PUT /api/admin/compliance/managers/{user}.
| Flag | Type | Required | Description |
|---|---|---|---|
--user (positional) |
integer | yes | |
--manager-id |
integer |
# Set or clear (manager_id null) the manager that overdue training escalates toulams compliance managers-set 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "user": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "manager_id": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "null" } ] } }, "required": [ "user" ], "additionalProperties": {}}ulams compliance paths-add
Section titled “ulams compliance paths-add”Create a learning path.
Kind: write. Stability: stable. MCP tool: compliance_paths_add. Scopes: certificates:write.
Endpoints: POST /api/admin/compliance/paths.
| Flag | Type | Required | Description |
|---|---|---|---|
--description |
string | ||
--steps |
array | Ordered; prerequisites are course ids of this path | |
--title |
string | yes |
# Create a learning pathulams compliance paths-add --title Example --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "steps": { "type": "array", "items": { "type": "object", "properties": { "course_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "prerequisites": { "type": "array", "items": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } } }, "additionalProperties": {} }, "description": "Ordered; prerequisites are course ids of this path" }, "title": { "type": "string" } }, "required": [ "title" ], "additionalProperties": {}}ulams compliance paths-delete
Section titled “ulams compliance paths-delete”Delete a learning path (its assignments stay).
Kind: destructive (idempotent). Stability: stable. MCP tool: compliance_paths_delete. Scopes: certificates:write.
Endpoints: DELETE /api/admin/compliance/paths/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes |
# Delete a learning path (its assignments stay)ulams compliance paths-delete 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance paths-enroll
Section titled “ulams compliance paths-enroll”Enrol users in a learning path.
Kind: write. Stability: stable. MCP tool: compliance_paths_enroll. Scopes: certificates:write.
Endpoints: POST /api/admin/compliance/paths/{id}/enrollments.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | |
--due-at |
string | ||
--user-ids |
array | yes |
# Enrol users in a learning pathulams compliance paths-enroll 1 --user-ids text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "due_at": { "type": [ "string", "null" ] }, "user_ids": { "type": "array", "items": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } } }, "required": [ "id", "user_ids" ], "additionalProperties": {}}ulams compliance paths-get
Section titled “ulams compliance paths-get”Show a learning path.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_paths_get. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/paths/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes |
# Show a learning pathulams compliance paths-get 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance paths-list
Section titled “ulams compliance paths-list”List learning paths with their steps.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_paths_list. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/paths.
# List learning paths with their stepsulams compliance paths-list --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {}, "additionalProperties": {}}ulams compliance paths-set
Section titled “ulams compliance paths-set”Update a learning path (steps are replaced when sent).
Kind: write (idempotent). Stability: stable. MCP tool: compliance_paths_set. Scopes: certificates:write.
Endpoints: PUT /api/admin/compliance/paths/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | |
--body |
unknown | Request body (JSON) |
# Update a learning path (steps are replaced when sent)ulams compliance paths-set 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "body": { "description": "Request body (JSON)" } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance report
Section titled “ulams compliance report”Compliance report.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_report. Scopes: reports:read.
Endpoints: GET /api/admin/compliance/report.
| Flag | Type | Required | Description |
|---|---|---|---|
--dataset |
string | yes | |
--course-id |
integer | ||
--user-id |
integer | ||
--status |
string | assignments: assigned, overdue, completed, cancelled; certificates: valid, expired, revoked | |
--from |
string | assigned or issued on or after this date | |
--to |
string | assigned or issued on or before this date | |
--per-page |
integer |
# Compliance reportulams compliance report --dataset text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "dataset": { "type": "string", "enum": [ "assignments", "certificates", "audit" ] }, "course_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "user_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "status": { "type": "string", "description": "assignments: assigned, overdue, completed, cancelled; certificates: valid, expired, revoked" }, "from": { "type": "string", "description": "assigned or issued on or after this date" }, "to": { "type": "string", "description": "assigned or issued on or before this date" }, "per_page": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "dataset" ], "additionalProperties": {}}ulams compliance report-export
Section titled “ulams compliance report-export”Download a compliance dataset as CSV or JSON lines (use –out).
Kind: read (idempotent). Stability: stable. MCP tool: compliance_report_export. Scopes: reports:read.
Endpoints: GET /api/admin/compliance/report/export.
| Flag | Type | Required | Description |
|---|---|---|---|
--dataset |
string | yes | |
--format |
string | ||
--course-id |
integer | ||
--user-id |
integer | ||
--status |
string | ||
--from |
string | ||
--to |
string | ||
--out |
string | Write the download to this path (- for stdout) |
# Download a compliance dataset as CSV or JSON lines (use --out)ulams compliance report-export --dataset text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "dataset": { "type": "string", "enum": [ "assignments", "certificates", "audit" ] }, "format": { "type": "string", "enum": [ "csv", "jsonl" ] }, "course_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "user_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "status": { "type": "string" }, "from": { "type": "string" }, "to": { "type": "string" }, "out": { "description": "Write the download to this path (- for stdout)", "type": "string" } }, "required": [ "dataset" ], "additionalProperties": {}}ulams compliance rules-add
Section titled “ulams compliance rules-add”Create an enrolment rule.
Kind: write. Stability: stable. MCP tool: compliance_rules_add. Scopes: certificates:write.
Endpoints: POST /api/admin/compliance/rules.
| Flag | Type | Required | Description |
|---|---|---|---|
--active |
boolean | ||
--conditions |
array | yes | All must hold |
--due-days |
integer | ||
--name |
string | yes | |
--path-id |
integer | yes |
# Create an enrolment ruleulams compliance rules-add --conditions text --name Example --path-id text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "active": { "type": "boolean" }, "conditions": { "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string" }, "operator": { "type": "string", "enum": [ "equals", "not_equals", "in", "contains", "starts_with", "ends_with", "exists" ] }, "value": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": {} }, "description": "All must hold" }, "due_days": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "null" } ] }, "name": { "type": "string" }, "path_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "conditions", "name", "path_id" ], "additionalProperties": {}}ulams compliance rules-delete
Section titled “ulams compliance rules-delete”Delete an enrolment rule (existing enrolments stay).
Kind: destructive (idempotent). Stability: stable. MCP tool: compliance_rules_delete. Scopes: certificates:write.
Endpoints: DELETE /api/admin/compliance/rules/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes |
# Delete an enrolment rule (existing enrolments stay)ulams compliance rules-delete 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance rules-evaluate
Section titled “ulams compliance rules-evaluate”Preview (default) or run (–dry-run false) an enrolment rule.
Kind: write. Stability: stable. MCP tool: compliance_rules_evaluate. Scopes: certificates:write.
Endpoints: POST /api/admin/compliance/rules/{id}/evaluate.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | |
--dry-run |
boolean |
# Preview (default) or run (--dry-run false) an enrolment ruleulams compliance rules-evaluate 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "dry_run": { "type": "boolean" } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance rules-list
Section titled “ulams compliance rules-list”List enrolment rules.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_rules_list. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/rules.
# List enrolment rulesulams compliance rules-list --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {}, "additionalProperties": {}}ulams compliance rules-set
Section titled “ulams compliance rules-set”Update an enrolment rule.
Kind: write (idempotent). Stability: stable. MCP tool: compliance_rules_set. Scopes: certificates:write.
Endpoints: PUT /api/admin/compliance/rules/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | |
--body |
unknown | Request body (JSON) |
# Update an enrolment ruleulams compliance rules-set 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "body": { "description": "Request body (JSON)" } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance schedules-add
Section titled “ulams compliance schedules-add”Schedule a report.
Kind: write. Stability: stable. MCP tool: compliance_schedules_add. Scopes: reports:write.
Endpoints: POST /api/admin/compliance/schedules.
| Flag | Type | Required | Description |
|---|---|---|---|
--dataset |
string | A compliance dataset; give this or saved_report_id | |
--filters |
object | course_id, user_id, status, from, to (datasets only) | |
--format |
string | xlsx only for a saved report | |
--frequency |
string | yes | |
--name |
string | yes | |
--recipient-ids |
array | yes | Ids of users of this tenant |
--saved-report-id |
string | A saved report the caller can see (report builder); it runs once per recipient with the recipient’s own permissions |
# Schedule a reportulams compliance schedules-add --frequency text --name Example --recipient-ids text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "dataset": { "type": "string", "enum": [ "assignments", "certificates", "audit" ], "description": "A compliance dataset; give this or saved_report_id" }, "filters": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {}, "description": "course_id, user_id, status, from, to (datasets only)" }, "format": { "type": "string", "enum": [ "csv", "jsonl", "xlsx" ], "description": "xlsx only for a saved report" }, "frequency": { "type": "string", "enum": [ "daily", "weekly", "monthly" ] }, "name": { "type": "string" }, "recipient_ids": { "type": "array", "items": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "description": "Ids of users of this tenant" }, "saved_report_id": { "type": "string", "description": "A saved report the caller can see (report builder); it runs once per recipient with the recipient's own permissions" } }, "required": [ "frequency", "name", "recipient_ids" ], "additionalProperties": {}}ulams compliance schedules-delete
Section titled “ulams compliance schedules-delete”Delete a scheduled report.
Kind: destructive (idempotent). Stability: stable. MCP tool: compliance_schedules_delete. Scopes: reports:write.
Endpoints: DELETE /api/admin/compliance/schedules/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes |
# Delete a scheduled reportulams compliance schedules-delete 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance schedules-list
Section titled “ulams compliance schedules-list”List scheduled reports.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_schedules_list. Scopes: reports:read.
Endpoints: GET /api/admin/compliance/schedules.
# List scheduled reportsulams compliance schedules-list --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {}, "additionalProperties": {}}ulams compliance schedules-set
Section titled “ulams compliance schedules-set”Update a scheduled report.
Kind: write (idempotent). Stability: stable. MCP tool: compliance_schedules_set. Scopes: reports:write.
Endpoints: PUT /api/admin/compliance/schedules/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | |
--body |
unknown | Request body (JSON) |
# Update a scheduled reportulams compliance schedules-set 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "body": { "description": "Request body (JSON)" } }, "required": [ "id" ], "additionalProperties": {}}ulams compliance users-skills
Section titled “ulams compliance users-skills”The skill profile of a user.
Kind: read (idempotent). Stability: stable. MCP tool: compliance_users_skills. Scopes: certificates:read.
Endpoints: GET /api/admin/compliance/users/{user}/skills.
| Flag | Type | Required | Description |
|---|---|---|---|
--user (positional) |
integer | yes |
# The skill profile of a userulams compliance users-skills 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "user": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "user" ], "additionalProperties": {}}