Routine Blocks
CLI commands for routine blocks
routine-blocks list
monoid routine-blocks list [options]
List routine-blocks
Options
| Flag | Description | Default |
|---|---|---|
--limit <n> | Max results | — |
--offset <n> | Skip n results | — |
--date <value> | Filter by date | — |
--template-id <value> | Filter by templateId | — |
--category-id <value> | Filter by categoryId | — |
--container-id <value> | Filter by containerId | — |
--project-id <value> | Filter by projectId | — |
--organisation-id <value> | Filter by organisationId | — |
--shared-with-user-id <value> | Filter by sharedWithUserId | — |
--is-template <value> | Filter by isTemplate | — |
Example
monoid routine-blocks list [options]Example output
{
"data": [
{
"_id": "rb_123",
"name": "Deep Work",
"date": "2026-04-13",
"startTime": "09:00",
"endTime": "11:00",
"blockType": "routine",
"updatedAt": 1760000000000
}
]
}routine-blocks get
monoid routine-blocks get <id>
Get one routine-blocks by id
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Example
monoid routine-blocks get <id>Example output
{
"data": {
"_id": "rb_123",
"name": "Deep Work",
"date": "2026-04-13",
"startTime": "09:00",
"endTime": "11:00",
"blockType": "routine",
"updatedAt": 1760000000000
}
}routine-blocks create
monoid routine-blocks create [options]
Create routine-blocks
Options
| Flag | Description | Default |
|---|---|---|
--body <json> | Request body JSON (merged with flags) | — |
--name <value> | name | — |
--start-time <value> | startTime | — |
--end-time <value> | endTime | — |
--organisation-id <value> | organisationId | — |
--template-id <value> | templateId | — |
--day-of-week <value> | dayOfWeek | — |
--date <value> | date | — |
--category-id <value> | categoryId | — |
--content <value> | content | — |
--block-type <value> | blockType | — |
--color <value> | color | — |
--if-not-exists | Return existing if match found | — |
Example
monoid routine-blocks create [options]Example output
{
"data": {
"_id": "rb_123",
"name": "Deep Work",
"date": "2026-04-13",
"startTime": "09:00",
"endTime": "11:00",
"blockType": "routine",
"updatedAt": 1760000000000
}
}routine-blocks update
monoid routine-blocks update [options] <id>
Update routine-blocks
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Options
| Flag | Description | Default |
|---|---|---|
--body <json> | Request body JSON (merged with flags) | — |
--ids <ids> | Comma-separated IDs for bulk update (max 25) | — |
--name <value> | name | — |
--start-time <value> | startTime | — |
--end-time <value> | endTime | — |
--organisation-id <value> | organisationId | — |
--template-id <value> | templateId | — |
--day-of-week <value> | dayOfWeek | — |
--date <value> | date | — |
--category-id <value> | categoryId | — |
--content <value> | content | — |
--block-type <value> | blockType | — |
--color <value> | color | — |
Example
monoid routine-blocks update [options] <id>Example output
{
"data": {
"_id": "rb_123",
"name": "Deep Work",
"date": "2026-04-13",
"startTime": "09:00",
"endTime": "11:00",
"blockType": "routine",
"updatedAt": 1760000000000
}
}routine-blocks delete
monoid routine-blocks delete [options] <id>
Delete routine-blocks
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Options
| Flag | Description | Default |
|---|---|---|
--ids <ids> | Comma-separated IDs for bulk delete (max 25) | — |
Example
monoid routine-blocks delete [options] <id>Example output
{
"data": null,
"deleted": true
}Related API
See Routine Blocks API reference for HTTP endpoint details.
© 2025 MONOid
All rights reserved.
All rights reserved.