Skip to content

ulams compliance

Generated from front/cli (ulams schema)

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
Terminal window
# Assign a required course to users
ulams compliance assignments-add --course-id text --user-ids text --json
Input 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": {}
}

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
Terminal window
# Cancel an open assignment
ulams compliance assignments-delete 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id"
],
"additionalProperties": {}
}

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
Terminal window
# List required-training assignments
ulams compliance assignments-list --json
Input 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": {}
}

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
Terminal window
# Add a competency
ulams compliance competencies-add --name Example --json
Input 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": {}
}

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
Terminal window
# Delete a competency (its sub-competencies move up, course tags go)
ulams compliance competencies-delete 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id"
],
"additionalProperties": {}
}

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.

Terminal window
# The competency framework as a tree
ulams compliance competencies-list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": {}
}

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)
Terminal window
# Rename or move a competency
ulams compliance competencies-set 1 --json
Input 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": {}
}

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
Terminal window
# Competency tags of a course (confirmed and suggested)
ulams compliance courses-competencies 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": {}
}

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
Terminal window
# Remove a tag or reject a suggestion
ulams compliance courses-competencies-delete 1 1 --json
Input 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": {}
}

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)
Terminal window
# Tag a course with a competency (confirmed by the author), or confirm a suggestion
ulams compliance courses-competencies-set 1 1 --json
Input 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)
Terminal window
# Ask the AI which competencies the course teaches
ulams compliance courses-competencies-suggest 1 --json
Input 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": {}
}

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
Terminal window
# Compliance settings of a course (defaults when none are saved)
ulams compliance courses-settings-list 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": {}
}

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
Terminal window
# Save the compliance settings of a course
ulams compliance courses-settings-set 1 --json
Input 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": {}
}

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
Terminal window
# Compliance dashboard
ulams compliance dashboard --json
Input 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": {}
}

List manager links.

Kind: read (idempotent). Stability: stable. MCP tool: compliance_managers_list. Scopes: certificates:read.

Endpoints: GET /api/admin/compliance/managers.

Terminal window
# List manager links
ulams compliance managers-list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": {}
}

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
Terminal window
# Set or clear (manager_id null) the manager that overdue training escalates to
ulams compliance managers-set 1 --json
Input 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": {}
}

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
Terminal window
# Create a learning path
ulams compliance paths-add --title Example --json
Input 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": {}
}

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
Terminal window
# Delete a learning path (its assignments stay)
ulams compliance paths-delete 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id"
],
"additionalProperties": {}
}

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
Terminal window
# Enrol users in a learning path
ulams compliance paths-enroll 1 --user-ids text --json
Input 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": {}
}

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
Terminal window
# Show a learning path
ulams compliance paths-get 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id"
],
"additionalProperties": {}
}

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.

Terminal window
# List learning paths with their steps
ulams compliance paths-list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": {}
}

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)
Terminal window
# Update a learning path (steps are replaced when sent)
ulams compliance paths-set 1 --json
Input 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": {}
}

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
Terminal window
# Compliance report
ulams compliance report --dataset text --json
Input 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": {}
}

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)
Terminal window
# Download a compliance dataset as CSV or JSON lines (use --out)
ulams compliance report-export --dataset text --json
Input 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": {}
}

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
Terminal window
# Create an enrolment rule
ulams compliance rules-add --conditions text --name Example --path-id text --json
Input 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": {}
}

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
Terminal window
# Delete an enrolment rule (existing enrolments stay)
ulams compliance rules-delete 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id"
],
"additionalProperties": {}
}

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
Terminal window
# Preview (default) or run (--dry-run false) an enrolment rule
ulams compliance rules-evaluate 1 --json
Input 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": {}
}

List enrolment rules.

Kind: read (idempotent). Stability: stable. MCP tool: compliance_rules_list. Scopes: certificates:read.

Endpoints: GET /api/admin/compliance/rules.

Terminal window
# List enrolment rules
ulams compliance rules-list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": {}
}

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)
Terminal window
# Update an enrolment rule
ulams compliance rules-set 1 --json
Input 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": {}
}

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
Terminal window
# Schedule a report
ulams compliance schedules-add --frequency text --name Example --recipient-ids text --json
Input 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": {}
}

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
Terminal window
# Delete a scheduled report
ulams compliance schedules-delete 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id"
],
"additionalProperties": {}
}

List scheduled reports.

Kind: read (idempotent). Stability: stable. MCP tool: compliance_schedules_list. Scopes: reports:read.

Endpoints: GET /api/admin/compliance/schedules.

Terminal window
# List scheduled reports
ulams compliance schedules-list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": {}
}

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)
Terminal window
# Update a scheduled report
ulams compliance schedules-set 1 --json
Input 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": {}
}

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
Terminal window
# The skill profile of a user
ulams compliance users-skills 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"user": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"user"
],
"additionalProperties": {}
}