Skip to content

ulams settings

Generated from front/cli (ulams schema)

Settings create.

Kind: write. Stability: stable. MCP tool: settings_create. Scopes: settings:write.

Endpoints: POST /api/admin/settings.

Flag Type Required Description
--body unknown Request body (JSON)
Terminal window
# Settings create
ulams settings create --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"body": {
"description": "Request body (JSON)"
}
},
"additionalProperties": {}
}

Destroy setting.

Kind: destructive (idempotent). Stability: stable. MCP tool: settings_delete. Scopes: settings:write.

Endpoints: DELETE /api/admin/settings/{id}.

Flag Type Required Description
--id (positional) string yes
Terminal window
# Destroy setting
ulams settings delete text --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": [
"string",
"number"
]
}
},
"required": [
"id"
],
"additionalProperties": {}
}

Read one setting by group and key.

Kind: read (idempotent). Stability: stable. MCP tool: settings_get. Scopes: settings:read.

Endpoints: GET /api/admin/settings.

Flag Type Required Description
--group (positional) string yes Settings group (see settings groups).
--key (positional) string yes Setting key.
Terminal window
# Company name
ulams settings get global companyName --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"group": {
"type": "string",
"description": "Settings group (see `settings groups`)."
},
"key": {
"type": "string",
"description": "Setting key."
}
},
"required": [
"group",
"key"
]
}

Get single settings.

Kind: read (idempotent). Stability: stable. MCP tool: settings_get_by_id. Scopes: settings:read.

Endpoints: GET /api/admin/settings/{id}.

Flag Type Required Description
--id (positional) string yes
Terminal window
# Get single settings
ulams settings get-by-id text --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": {}
}

Get Settings unique groups.

Kind: read (idempotent). Stability: stable. MCP tool: settings_groups. Scopes: settings:read.

Endpoints: GET /api/admin/settings/groups.

Terminal window
# Get Settings unique groups
ulams settings groups --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": {}
}

Get Settings paginated.

Kind: read (idempotent). Stability: stable. MCP tool: settings_list. Scopes: settings:read.

Endpoints: GET /api/admin/settings.

Flag Type Required Description
--group string
--page number Pagination Page Number
--per-page number Pagination Per Page
Terminal window
# Get Settings paginated
ulams settings list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"group": {
"type": "string"
},
"page": {
"type": "number",
"description": "Pagination Page Number"
},
"per_page": {
"type": "number",
"description": "Pagination Per Page"
}
},
"additionalProperties": {}
}

Create or update a text setting by group and key.

Idempotent: creates the setting when missing, updates it when the value differs, does nothing otherwise.

Kind: write (idempotent). Stability: stable. MCP tool: settings_set. Scopes: settings:write.

Endpoints: GET /api/admin/settings, POST /api/admin/settings, PUT /api/admin/settings/{id}.

Flag Type Required Description
--group (positional) string yes Settings group.
--key (positional) string yes Setting key.
--value (positional) string yes New value.
Terminal window
# Rename the company
ulams settings set global companyName "Acme Academy" --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"group": {
"type": "string",
"description": "Settings group."
},
"key": {
"type": "string",
"description": "Setting key."
},
"value": {
"type": "string",
"description": "New value."
}
},
"required": [
"group",
"key",
"value"
]
}

Update setting.

Kind: write (idempotent). Stability: stable. MCP tool: settings_update. Scopes: settings:write.

Endpoints: PUT /api/admin/settings/{id}.

Flag Type Required Description
--id (positional) string yes
--body unknown Request body (JSON)
Terminal window
# Update setting
ulams settings update text --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": [
"string",
"number"
]
},
"body": {
"description": "Request body (JSON)"
}
},
"required": [
"id"
],
"additionalProperties": {}
}