{
  "info": {
    "_postman_id": "d1c42bec-9ded-4f7b-80c8-71feaa7dd067",
    "name": "Amigo Account Scheduling Rules API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:01:49.000Z",
    "updatedAt": "2026-07-28T01:01:49.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-d1c42bec-9ded-4f7b-80c8-71feaa7dd067"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "{workspace_id}",
          "item": [
            {
              "name": "scheduling-rule-sets",
              "item": [
                {
                  "name": "{rule_set_id}",
                  "item": [
                    {
                      "name": "Get one scheduling rule set",
                      "id": "c586c8b4-fcc2-47ec-8f24-820024fa364b",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets",
                            ":rule_set_id"
                          ],
                          "variable": [
                            {
                              "id": "e204cf53-a407-4b3d-9c64-c2196f673d49",
                              "key": "workspace_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            },
                            {
                              "id": "7e7db685-b14b-4b59-b336-2d28b388ab54",
                              "key": "rule_set_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Fetch one rule set by id. Returns 404 when the row doesn't exist\nin this workspace (the RLS policy means cross-workspace lookups\nsurface as 404, never as a row from the wrong workspace).\n\nPermissions: ``Workspace.view``."
                      },
                      "response": [
                        {
                          "id": "e5652624-1c18-4107-8b21-67ed7f6af77e",
                          "name": "Successful Response",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<uuid>\",\n  \"workspace_id\": \"<uuid>\",\n  \"agent_kind\": \"tms\",\n  \"rule_kind\": \"tms_session_grid\",\n  \"params\": {\n    \"eiusmodf1f\": 94468478.20174214\n  },\n  \"is_active\": \"<boolean>\",\n  \"created_by\": \"<uuid>\",\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-e5652624-1c18-4107-8b21-67ed7f6af77e"
                        },
                        {
                          "id": "217dda67-4d70-4445-8eb5-221a31b3da9d",
                          "name": "Missing or invalid API key.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-217dda67-4d70-4445-8eb5-221a31b3da9d"
                        },
                        {
                          "id": "17e1c51b-6858-4908-af97-4d86dd4b2eb2",
                          "name": "Insufficient permissions.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Forbidden",
                          "code": 403,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-17e1c51b-6858-4908-af97-4d86dd4b2eb2"
                        },
                        {
                          "id": "ff53a8c7-c1c0-4bdb-b565-8cc1de95a5e3",
                          "name": "Rule set not found in this workspace.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-ff53a8c7-c1c0-4bdb-b565-8cc1de95a5e3"
                        },
                        {
                          "id": "d25558eb-80cf-4d72-aa84-8e0534e24da9",
                          "name": "Validation Error",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                          "code": 422,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-d25558eb-80cf-4d72-aa84-8e0534e24da9"
                        },
                        {
                          "id": "2120ee10-449b-4504-b8ad-33b0eb3ca3e6",
                          "name": "Rate limited.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-2120ee10-449b-4504-b8ad-33b0eb3ca3e6"
                        }
                      ],
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-c586c8b4-fcc2-47ec-8f24-820024fa364b"
                    },
                    {
                      "name": "Partially update a scheduling rule set",
                      "id": "1e96d325-c57c-4b51-b536-788a07bd7728",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "PATCH",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"23:59\",\n      \"end\": \"21:36\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:51\",\n      \"end\": \"19:14\"\n    },\n    \"wednesday\": {\n      \"start\": \"22:18\",\n      \"end\": \"03:04\"\n    },\n    \"thursday\": {\n      \"start\": \"08:25\",\n      \"end\": \"20:15\"\n    },\n    \"friday\": {\n      \"start\": \"06:31\",\n      \"end\": \"21:16\"\n    },\n    \"saturday\": {\n      \"start\": \"20:38\",\n      \"end\": \"20:34\"\n    },\n    \"sunday\": {\n      \"start\": \"09:21\",\n      \"end\": \"23:04\"\n    }\n  },\n  \"is_active\": \"<boolean>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets",
                            ":rule_set_id"
                          ],
                          "variable": [
                            {
                              "id": "ddccded6-4e81-4a1e-83b6-a7338db8e611",
                              "key": "workspace_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            },
                            {
                              "id": "9a42d58c-8c82-40bf-b3e0-284029d97e84",
                              "key": "rule_set_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Update `params` and/or `is_active` on an existing rule set. `agent_kind` and `rule_kind` are immutable \u2014 to change either, create a new rule set and delete the old one."
                      },
                      "response": [
                        {
                          "id": "e7ac0126-f7d0-4b44-8bcf-8e3749287c48",
                          "name": "Successful Response",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"23:59\",\n      \"end\": \"21:36\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:51\",\n      \"end\": \"19:14\"\n    },\n    \"wednesday\": {\n      \"start\": \"22:18\",\n      \"end\": \"03:04\"\n    },\n    \"thursday\": {\n      \"start\": \"08:25\",\n      \"end\": \"20:15\"\n    },\n    \"friday\": {\n      \"start\": \"06:31\",\n      \"end\": \"21:16\"\n    },\n    \"saturday\": {\n      \"start\": \"20:38\",\n      \"end\": \"20:34\"\n    },\n    \"sunday\": {\n      \"start\": \"09:21\",\n      \"end\": \"23:04\"\n    }\n  },\n  \"is_active\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<uuid>\",\n  \"workspace_id\": \"<uuid>\",\n  \"agent_kind\": \"tms\",\n  \"rule_kind\": \"tms_session_grid\",\n  \"params\": {\n    \"eiusmodf1f\": 94468478.20174214\n  },\n  \"is_active\": \"<boolean>\",\n  \"created_by\": \"<uuid>\",\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-e7ac0126-f7d0-4b44-8bcf-8e3749287c48"
                        },
                        {
                          "id": "0749d295-11f6-42ae-866f-cf0cff3eb27b",
                          "name": "Missing or invalid API key.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"23:59\",\n      \"end\": \"21:36\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:51\",\n      \"end\": \"19:14\"\n    },\n    \"wednesday\": {\n      \"start\": \"22:18\",\n      \"end\": \"03:04\"\n    },\n    \"thursday\": {\n      \"start\": \"08:25\",\n      \"end\": \"20:15\"\n    },\n    \"friday\": {\n      \"start\": \"06:31\",\n      \"end\": \"21:16\"\n    },\n    \"saturday\": {\n      \"start\": \"20:38\",\n      \"end\": \"20:34\"\n    },\n    \"sunday\": {\n      \"start\": \"09:21\",\n      \"end\": \"23:04\"\n    }\n  },\n  \"is_active\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-0749d295-11f6-42ae-866f-cf0cff3eb27b"
                        },
                        {
                          "id": "13ffd703-a4e5-4854-a1ce-14fb47f86001",
                          "name": "Insufficient permissions.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"23:59\",\n      \"end\": \"21:36\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:51\",\n      \"end\": \"19:14\"\n    },\n    \"wednesday\": {\n      \"start\": \"22:18\",\n      \"end\": \"03:04\"\n    },\n    \"thursday\": {\n      \"start\": \"08:25\",\n      \"end\": \"20:15\"\n    },\n    \"friday\": {\n      \"start\": \"06:31\",\n      \"end\": \"21:16\"\n    },\n    \"saturday\": {\n      \"start\": \"20:38\",\n      \"end\": \"20:34\"\n    },\n    \"sunday\": {\n      \"start\": \"09:21\",\n      \"end\": \"23:04\"\n    }\n  },\n  \"is_active\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Forbidden",
                          "code": 403,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-13ffd703-a4e5-4854-a1ce-14fb47f86001"
                        },
                        {
                          "id": "66862415-dfda-46c6-9c9d-1881f48ef329",
                          "name": "Rule set not found in this workspace.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"23:59\",\n      \"end\": \"21:36\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:51\",\n      \"end\": \"19:14\"\n    },\n    \"wednesday\": {\n      \"start\": \"22:18\",\n      \"end\": \"03:04\"\n    },\n    \"thursday\": {\n      \"start\": \"08:25\",\n      \"end\": \"20:15\"\n    },\n    \"friday\": {\n      \"start\": \"06:31\",\n      \"end\": \"21:16\"\n    },\n    \"saturday\": {\n      \"start\": \"20:38\",\n      \"end\": \"20:34\"\n    },\n    \"sunday\": {\n      \"start\": \"09:21\",\n      \"end\": \"23:04\"\n    }\n  },\n  \"is_active\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-66862415-dfda-46c6-9c9d-1881f48ef329"
                        },
                        {
                          "id": "045d7d92-87e6-4c02-902f-fb16d86e838a",
                          "name": "Submitted params discriminator does not match the existing rule's rule_kind.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"23:59\",\n      \"end\": \"21:36\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:51\",\n      \"end\": \"19:14\"\n    },\n    \"wednesday\": {\n      \"start\": \"22:18\",\n      \"end\": \"03:04\"\n    },\n    \"thursday\": {\n      \"start\": \"08:25\",\n      \"end\": \"20:15\"\n    },\n    \"friday\": {\n      \"start\": \"06:31\",\n      \"end\": \"21:16\"\n    },\n    \"saturday\": {\n      \"start\": \"20:38\",\n      \"end\": \"20:34\"\n    },\n    \"sunday\": {\n      \"start\": \"09:21\",\n      \"end\": \"23:04\"\n    }\n  },\n  \"is_active\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                          "code": 422,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-045d7d92-87e6-4c02-902f-fb16d86e838a"
                        },
                        {
                          "id": "1318727c-0c10-4a76-a515-6d3f1d6041b9",
                          "name": "Rate limited.",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"23:59\",\n      \"end\": \"21:36\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:51\",\n      \"end\": \"19:14\"\n    },\n    \"wednesday\": {\n      \"start\": \"22:18\",\n      \"end\": \"03:04\"\n    },\n    \"thursday\": {\n      \"start\": \"08:25\",\n      \"end\": \"20:15\"\n    },\n    \"friday\": {\n      \"start\": \"06:31\",\n      \"end\": \"21:16\"\n    },\n    \"saturday\": {\n      \"start\": \"20:38\",\n      \"end\": \"20:34\"\n    },\n    \"sunday\": {\n      \"start\": \"09:21\",\n      \"end\": \"23:04\"\n    }\n  },\n  \"is_active\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-1318727c-0c10-4a76-a515-6d3f1d6041b9"
                        }
                      ],
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-1e96d325-c57c-4b51-b536-788a07bd7728"
                    },
                    {
                      "name": "Delete a scheduling rule set",
                      "id": "f9491c88-52ad-4104-ab54-7e48e7ffa506",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets",
                            ":rule_set_id"
                          ],
                          "variable": [
                            {
                              "id": "a5213573-1ed4-45ab-a019-6e7578efb647",
                              "key": "workspace_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            },
                            {
                              "id": "45f72d1d-be1b-4610-ad84-0988b815b43c",
                              "key": "rule_set_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Hard-delete. The audit log retains the deletion record."
                      },
                      "response": [
                        {
                          "id": "298d702a-9c8f-418c-94ab-8c91ffc3aab9",
                          "name": "Successful Response",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "No Content",
                          "code": 204,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-298d702a-9c8f-418c-94ab-8c91ffc3aab9"
                        },
                        {
                          "id": "c6c4e17e-d5d7-42cf-ad42-494011006e75",
                          "name": "Missing or invalid API key.",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-c6c4e17e-d5d7-42cf-ad42-494011006e75"
                        },
                        {
                          "id": "a964d345-10f2-44df-90e0-426d9c351d95",
                          "name": "Insufficient permissions.",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Forbidden",
                          "code": 403,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-a964d345-10f2-44df-90e0-426d9c351d95"
                        },
                        {
                          "id": "a4881b06-74bd-429a-8d03-142b3a4b8ccb",
                          "name": "Rule set not found in this workspace.",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-a4881b06-74bd-429a-8d03-142b3a4b8ccb"
                        },
                        {
                          "id": "1708aac4-35c9-4f30-bbc1-abaa8730ec2a",
                          "name": "Validation Error",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                          "code": 422,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-1708aac4-35c9-4f30-bbc1-abaa8730ec2a"
                        },
                        {
                          "id": "e57c4e38-0b42-446c-9783-a0ae8765b0fa",
                          "name": "Rate limited.",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets/:rule_set_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "scheduling-rule-sets",
                                ":rule_set_id"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                },
                                {
                                  "key": "rule_set_id"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:01:49.000Z",
                          "updatedAt": "2026-07-28T01:01:49.000Z",
                          "uid": "35240-e57c4e38-0b42-446c-9783-a0ae8765b0fa"
                        }
                      ],
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-f9491c88-52ad-4104-ab54-7e48e7ffa506"
                    }
                  ],
                  "id": "ec2b81f7-b292-4bb9-ac3a-71b241bff5ee",
                  "createdAt": "2026-07-28T01:01:49.000Z",
                  "updatedAt": "2026-07-28T01:01:49.000Z",
                  "uid": "35240-ec2b81f7-b292-4bb9-ac3a-71b241bff5ee"
                },
                {
                  "name": "List scheduling rule sets",
                  "id": "1184e4c9-ffed-48d6-823b-9581425fe08f",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets?agent_kind=tms&is_active=<boolean>&limit=10&continuation_token=0",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        ":workspace_id",
                        "scheduling-rule-sets"
                      ],
                      "query": [
                        {
                          "key": "agent_kind",
                          "value": "tms"
                        },
                        {
                          "key": "is_active",
                          "value": "<boolean>"
                        },
                        {
                          "key": "limit",
                          "value": "10"
                        },
                        {
                          "key": "continuation_token",
                          "value": "0"
                        }
                      ],
                      "variable": [
                        {
                          "id": "aa518bfa-26c2-4cb3-9d40-48499c8c2489",
                          "key": "workspace_id",
                          "value": "<uuid>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "List all scheduling rule sets for the workspace. Optional filters: `agent_kind` (tms / ketamine / general), `is_active`. Used by the agent-engine rules engine and by operators inspecting config."
                  },
                  "response": [
                    {
                      "id": "9660d49b-a3ff-4e7f-bb20-8264f10f1333",
                      "name": "Successful Response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets?agent_kind=tms&is_active=<boolean>&limit=10&continuation_token=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "query": [
                            {
                              "key": "agent_kind",
                              "value": "tms"
                            },
                            {
                              "key": "is_active",
                              "value": "<boolean>"
                            },
                            {
                              "key": "limit",
                              "value": "10"
                            },
                            {
                              "key": "continuation_token",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"items\": [\n    {\n      \"id\": \"<uuid>\",\n      \"workspace_id\": \"<uuid>\",\n      \"agent_kind\": \"general\",\n      \"rule_kind\": \"clinic_open_hours\",\n      \"params\": {\n        \"quis_2cc\": -2742297,\n        \"proident_613\": false,\n        \"nostrud__\": true\n      },\n      \"is_active\": \"<boolean>\",\n      \"created_by\": \"<uuid>\",\n      \"created_at\": \"<dateTime>\",\n      \"updated_at\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<uuid>\",\n      \"workspace_id\": \"<uuid>\",\n      \"agent_kind\": \"tms\",\n      \"rule_kind\": \"ninety_day_rolling\",\n      \"params\": {\n        \"dolore04c\": \"dolore est consectetur ex\"\n      },\n      \"is_active\": \"<boolean>\",\n      \"created_by\": \"<uuid>\",\n      \"created_at\": \"<dateTime>\",\n      \"updated_at\": \"<dateTime>\"\n    }\n  ],\n  \"has_more\": \"<boolean>\",\n  \"continuation_token\": \"<integer>\",\n  \"total\": \"<integer>\"\n}",
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-9660d49b-a3ff-4e7f-bb20-8264f10f1333"
                    },
                    {
                      "id": "7ecd7a0a-ec9f-490e-9db8-a9ccdaf3a501",
                      "name": "Missing or invalid API key.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets?agent_kind=tms&is_active=<boolean>&limit=10&continuation_token=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "query": [
                            {
                              "key": "agent_kind",
                              "value": "tms"
                            },
                            {
                              "key": "is_active",
                              "value": "<boolean>"
                            },
                            {
                              "key": "limit",
                              "value": "10"
                            },
                            {
                              "key": "continuation_token",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-7ecd7a0a-ec9f-490e-9db8-a9ccdaf3a501"
                    },
                    {
                      "id": "d937cfde-9641-4768-8b32-e3cebedf7443",
                      "name": "Insufficient permissions.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets?agent_kind=tms&is_active=<boolean>&limit=10&continuation_token=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "query": [
                            {
                              "key": "agent_kind",
                              "value": "tms"
                            },
                            {
                              "key": "is_active",
                              "value": "<boolean>"
                            },
                            {
                              "key": "limit",
                              "value": "10"
                            },
                            {
                              "key": "continuation_token",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-d937cfde-9641-4768-8b32-e3cebedf7443"
                    },
                    {
                      "id": "a2662a17-7bf1-4c40-8434-96ef90c4c473",
                      "name": "Validation Error",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets?agent_kind=tms&is_active=<boolean>&limit=10&continuation_token=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "query": [
                            {
                              "key": "agent_kind",
                              "value": "tms"
                            },
                            {
                              "key": "is_active",
                              "value": "<boolean>"
                            },
                            {
                              "key": "limit",
                              "value": "10"
                            },
                            {
                              "key": "continuation_token",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                      "code": 422,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-a2662a17-7bf1-4c40-8434-96ef90c4c473"
                    },
                    {
                      "id": "b3e63169-b2c5-433c-8261-3d32ea776fbc",
                      "name": "Rate limited.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets?agent_kind=tms&is_active=<boolean>&limit=10&continuation_token=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "query": [
                            {
                              "key": "agent_kind",
                              "value": "tms"
                            },
                            {
                              "key": "is_active",
                              "value": "<boolean>"
                            },
                            {
                              "key": "limit",
                              "value": "10"
                            },
                            {
                              "key": "continuation_token",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-b3e63169-b2c5-433c-8261-3d32ea776fbc"
                    }
                  ],
                  "createdAt": "2026-07-28T01:01:49.000Z",
                  "updatedAt": "2026-07-28T01:01:49.000Z",
                  "uid": "35240-1184e4c9-ffed-48d6-823b-9581425fe08f"
                },
                {
                  "name": "Create a scheduling rule set",
                  "id": "406defe0-b14e-4bad-a2fb-f66b0646de08",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"agent_kind\": \"ketamine\",\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"03:22\",\n      \"end\": \"06:43\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:27\",\n      \"end\": \"21:24\"\n    },\n    \"wednesday\": {\n      \"start\": \"02:00\",\n      \"end\": \"22:25\"\n    },\n    \"thursday\": {\n      \"start\": \"01:40\",\n      \"end\": \"06:06\"\n    },\n    \"friday\": {\n      \"start\": \"22:54\",\n      \"end\": \"15:46\"\n    },\n    \"saturday\": {\n      \"start\": \"23:04\",\n      \"end\": \"16:55\"\n    },\n    \"sunday\": {\n      \"start\": \"02:43\",\n      \"end\": \"11:14\"\n    }\n  },\n  \"is_active\": true\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        ":workspace_id",
                        "scheduling-rule-sets"
                      ],
                      "variable": [
                        {
                          "id": "c8561344-d9d7-4ed1-9b6d-23e02a66f07b",
                          "key": "workspace_id",
                          "value": "<uuid>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Create one rule set for `(agent_kind, rule_kind)`. Returns 409 if a row already exists for that key \u2014 use PATCH on the existing row or DELETE first."
                  },
                  "response": [
                    {
                      "id": "5c4b8738-f34a-413a-9661-ffe29608d05e",
                      "name": "Successful Response",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"agent_kind\": \"ketamine\",\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"03:22\",\n      \"end\": \"06:43\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:27\",\n      \"end\": \"21:24\"\n    },\n    \"wednesday\": {\n      \"start\": \"02:00\",\n      \"end\": \"22:25\"\n    },\n    \"thursday\": {\n      \"start\": \"01:40\",\n      \"end\": \"06:06\"\n    },\n    \"friday\": {\n      \"start\": \"22:54\",\n      \"end\": \"15:46\"\n    },\n    \"saturday\": {\n      \"start\": \"23:04\",\n      \"end\": \"16:55\"\n    },\n    \"sunday\": {\n      \"start\": \"02:43\",\n      \"end\": \"11:14\"\n    }\n  },\n  \"is_active\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Created",
                      "code": 201,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<uuid>\",\n  \"workspace_id\": \"<uuid>\",\n  \"agent_kind\": \"tms\",\n  \"rule_kind\": \"tms_session_grid\",\n  \"params\": {\n    \"eiusmodf1f\": 94468478.20174214\n  },\n  \"is_active\": \"<boolean>\",\n  \"created_by\": \"<uuid>\",\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}",
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-5c4b8738-f34a-413a-9661-ffe29608d05e"
                    },
                    {
                      "id": "b61a39c9-bbe9-48b0-81bf-3cfc03b6e671",
                      "name": "Missing or invalid API key.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"agent_kind\": \"ketamine\",\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"03:22\",\n      \"end\": \"06:43\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:27\",\n      \"end\": \"21:24\"\n    },\n    \"wednesday\": {\n      \"start\": \"02:00\",\n      \"end\": \"22:25\"\n    },\n    \"thursday\": {\n      \"start\": \"01:40\",\n      \"end\": \"06:06\"\n    },\n    \"friday\": {\n      \"start\": \"22:54\",\n      \"end\": \"15:46\"\n    },\n    \"saturday\": {\n      \"start\": \"23:04\",\n      \"end\": \"16:55\"\n    },\n    \"sunday\": {\n      \"start\": \"02:43\",\n      \"end\": \"11:14\"\n    }\n  },\n  \"is_active\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-b61a39c9-bbe9-48b0-81bf-3cfc03b6e671"
                    },
                    {
                      "id": "1a8e4bd4-e169-40c6-8230-3090e0faabb1",
                      "name": "Insufficient permissions.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"agent_kind\": \"ketamine\",\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"03:22\",\n      \"end\": \"06:43\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:27\",\n      \"end\": \"21:24\"\n    },\n    \"wednesday\": {\n      \"start\": \"02:00\",\n      \"end\": \"22:25\"\n    },\n    \"thursday\": {\n      \"start\": \"01:40\",\n      \"end\": \"06:06\"\n    },\n    \"friday\": {\n      \"start\": \"22:54\",\n      \"end\": \"15:46\"\n    },\n    \"saturday\": {\n      \"start\": \"23:04\",\n      \"end\": \"16:55\"\n    },\n    \"sunday\": {\n      \"start\": \"02:43\",\n      \"end\": \"11:14\"\n    }\n  },\n  \"is_active\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-1a8e4bd4-e169-40c6-8230-3090e0faabb1"
                    },
                    {
                      "id": "134f0d42-fc06-4d96-a5d1-2d18c7cbb1da",
                      "name": "Rule set already exists for this (agent_kind, rule_kind).",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"agent_kind\": \"ketamine\",\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"03:22\",\n      \"end\": \"06:43\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:27\",\n      \"end\": \"21:24\"\n    },\n    \"wednesday\": {\n      \"start\": \"02:00\",\n      \"end\": \"22:25\"\n    },\n    \"thursday\": {\n      \"start\": \"01:40\",\n      \"end\": \"06:06\"\n    },\n    \"friday\": {\n      \"start\": \"22:54\",\n      \"end\": \"15:46\"\n    },\n    \"saturday\": {\n      \"start\": \"23:04\",\n      \"end\": \"16:55\"\n    },\n    \"sunday\": {\n      \"start\": \"02:43\",\n      \"end\": \"11:14\"\n    }\n  },\n  \"is_active\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Conflict",
                      "code": 409,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-134f0d42-fc06-4d96-a5d1-2d18c7cbb1da"
                    },
                    {
                      "id": "16354da2-ae4a-4cce-a763-135d5b1b6c2b",
                      "name": "Invalid request body or rule_kind discriminator.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"agent_kind\": \"ketamine\",\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"03:22\",\n      \"end\": \"06:43\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:27\",\n      \"end\": \"21:24\"\n    },\n    \"wednesday\": {\n      \"start\": \"02:00\",\n      \"end\": \"22:25\"\n    },\n    \"thursday\": {\n      \"start\": \"01:40\",\n      \"end\": \"06:06\"\n    },\n    \"friday\": {\n      \"start\": \"22:54\",\n      \"end\": \"15:46\"\n    },\n    \"saturday\": {\n      \"start\": \"23:04\",\n      \"end\": \"16:55\"\n    },\n    \"sunday\": {\n      \"start\": \"02:43\",\n      \"end\": \"11:14\"\n    }\n  },\n  \"is_active\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                      "code": 422,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-16354da2-ae4a-4cce-a763-135d5b1b6c2b"
                    },
                    {
                      "id": "094ca122-514a-41be-8410-4ef447b6824e",
                      "name": "Rate limited.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"agent_kind\": \"ketamine\",\n  \"params\": {\n    \"timezone\": \"<string>\",\n    \"rule_kind\": \"clinic_open_hours\",\n    \"monday\": {\n      \"start\": \"03:22\",\n      \"end\": \"06:43\"\n    },\n    \"tuesday\": {\n      \"start\": \"23:27\",\n      \"end\": \"21:24\"\n    },\n    \"wednesday\": {\n      \"start\": \"02:00\",\n      \"end\": \"22:25\"\n    },\n    \"thursday\": {\n      \"start\": \"01:40\",\n      \"end\": \"06:06\"\n    },\n    \"friday\": {\n      \"start\": \"22:54\",\n      \"end\": \"15:46\"\n    },\n    \"saturday\": {\n      \"start\": \"23:04\",\n      \"end\": \"16:55\"\n    },\n    \"sunday\": {\n      \"start\": \"02:43\",\n      \"end\": \"11:14\"\n    }\n  },\n  \"is_active\": true\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/scheduling-rule-sets",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "scheduling-rule-sets"
                          ],
                          "variable": [
                            {
                              "key": "workspace_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:49.000Z",
                      "updatedAt": "2026-07-28T01:01:49.000Z",
                      "uid": "35240-094ca122-514a-41be-8410-4ef447b6824e"
                    }
                  ],
                  "createdAt": "2026-07-28T01:01:49.000Z",
                  "updatedAt": "2026-07-28T01:01:49.000Z",
                  "uid": "35240-406defe0-b14e-4bad-a2fb-f66b0646de08"
                }
              ],
              "id": "951eb8ce-9471-4361-b5cc-24ae3e1f4e3e",
              "createdAt": "2026-07-28T01:01:49.000Z",
              "updatedAt": "2026-07-28T01:01:49.000Z",
              "uid": "35240-951eb8ce-9471-4361-b5cc-24ae3e1f4e3e"
            }
          ],
          "id": "2cb9b045-1928-4ff5-ba61-81c5d7559e31",
          "createdAt": "2026-07-28T01:01:49.000Z",
          "updatedAt": "2026-07-28T01:01:49.000Z",
          "uid": "35240-2cb9b045-1928-4ff5-ba61-81c5d7559e31"
        }
      ],
      "id": "f180fd16-6523-4426-9910-b5a9106d3424",
      "createdAt": "2026-07-28T01:01:49.000Z",
      "updatedAt": "2026-07-28T01:01:49.000Z",
      "uid": "35240-f180fd16-6523-4426-9910-b5a9106d3424"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.amigo.ai"
    }
  ]
}