{
  "item": [
    {
      "name": "Authentication",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Iniciar sesión",
          "request": {
            "name": "Iniciar sesión",
            "description": {
              "content": "Iniciar sesión mediante clave API. Devuelve un código de verificación y una URL de redirección.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "auth",
                "login"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"consultationInternalId\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"cons_abc123\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"cons_abc123\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"cons_abc123\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "auth",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"cons_abc123\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Consultation",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Establecer contexto de consulta",
          "request": {
            "name": "Establecer contexto de consulta",
            "description": {
              "content": "Establece el contexto de consulta para una sesión de paciente.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "set-consultation-context"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "set-consultation-context"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"PASSPORT\",\n  \"idValue\": \"A12345678\",\n  \"institutionalBranchId\": \"b1f2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d\",\n  \"internalCode\": \"MRN-000123\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"notes\": \"Patient prefers morning appointments. Allergic to penicillin.\",\n  \"pastMedicalHistory\": \"Hypertension diagnosed 2020. Diabetes Type 2 controlled with metformin.\",\n  \"scribeSessionModality\": \"IN_PERSON\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "set-consultation-context"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"PASSPORT\",\n  \"idValue\": \"A12345678\",\n  \"institutionalBranchId\": \"b1f2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d\",\n  \"internalCode\": \"MRN-000123\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"notes\": \"Patient prefers morning appointments. Allergic to penicillin.\",\n  \"pastMedicalHistory\": \"Hypertension diagnosed 2020. Diabetes Type 2 controlled with metformin.\",\n  \"scribeSessionModality\": \"IN_PERSON\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "set-consultation-context"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"PASSPORT\",\n  \"idValue\": \"A12345678\",\n  \"institutionalBranchId\": \"b1f2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d\",\n  \"internalCode\": \"MRN-000123\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"notes\": \"Patient prefers morning appointments. Allergic to penicillin.\",\n  \"pastMedicalHistory\": \"Hypertension diagnosed 2020. Diabetes Type 2 controlled with metformin.\",\n  \"scribeSessionModality\": \"IN_PERSON\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "set-consultation-context"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"PASSPORT\",\n  \"idValue\": \"A12345678\",\n  \"institutionalBranchId\": \"b1f2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d\",\n  \"internalCode\": \"MRN-000123\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"notes\": \"Patient prefers morning appointments. Allergic to penicillin.\",\n  \"pastMedicalHistory\": \"Hypertension diagnosed 2020. Diabetes Type 2 controlled with metformin.\",\n  \"scribeSessionModality\": \"IN_PERSON\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "set-consultation-context"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"PASSPORT\",\n  \"idValue\": \"A12345678\",\n  \"institutionalBranchId\": \"b1f2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d\",\n  \"internalCode\": \"MRN-000123\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"notes\": \"Patient prefers morning appointments. Allergic to penicillin.\",\n  \"pastMedicalHistory\": \"Hypertension diagnosed 2020. Diabetes Type 2 controlled with metformin.\",\n  \"scribeSessionModality\": \"IN_PERSON\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "set-consultation-context"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"PASSPORT\",\n  \"idValue\": \"A12345678\",\n  \"institutionalBranchId\": \"b1f2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d\",\n  \"internalCode\": \"MRN-000123\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"notes\": \"Patient prefers morning appointments. Allergic to penicillin.\",\n  \"pastMedicalHistory\": \"Hypertension diagnosed 2020. Diabetes Type 2 controlled with metformin.\",\n  \"scribeSessionModality\": \"IN_PERSON\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Session Scribes",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Consultar sesión de Scribe",
          "request": {
            "name": "Consultar sesión de Scribe",
            "description": {
              "content": "Consulta una sesión de scribe por ID.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "scribe-sessions",
                ":id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "id",
                  "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Precondition Required",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Precondition Required",
              "code": 428,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Medical Record Documents",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Listar documentos de historia clínica",
          "request": {
            "name": "Listar documentos de historia clínica",
            "description": {
              "content": "Lista los documentos de historia clínica producidos para una sesión de scribe.\n\nUn informe dictado (`purpose` 'report') también incluye `reportState`, que indica si el radiólogo lo firmó. Los demás registros no tienen flujo de trabajo, por lo que su `reportState` es null. Verifica `reportState.lifecycleStatus` antes de usar un informe: un `draft` no está completo y el radiólogo aún puede cambiarlo.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "scribe-sessions",
                ":id",
                "medical-record-documents"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "purpose",
                  "value": "<string>",
                  "description": "Optional filter — return only documents with this purpose. Use 'report' to get only the dictated reports."
                }
              ],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "id",
                  "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "medical-record-documents"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "purpose",
                      "value": "<string>"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "medical-record-documents"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "purpose",
                      "value": "<string>"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "medical-record-documents"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "purpose",
                      "value": "<string>"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "medical-record-documents"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "purpose",
                      "value": "<string>"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "medical-record-documents"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "purpose",
                      "value": "<string>"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "medical-record-documents"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "purpose",
                      "value": "<string>"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "CDSS",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Aceptar una alerta de CDSS",
          "request": {
            "name": "Aceptar una alerta de CDSS",
            "description": {
              "content": "Registra la decisión del médico de aceptar una alerta de soporte a la decisión clínica. El cambio aceptado se aplica a la historia clínica de forma asíncrona, por lo que una respuesta exitosa significa que la decisión se registró, no que la historia ya se actualizó.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "cdss",
                "alerts",
                ":alert_id",
                "accept"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "alert_id",
                  "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "accept"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "accept"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "accept"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "accept"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "accept"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "accept"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "accept"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Registrar decisiones para varias alertas de CDSS",
          "request": {
            "name": "Registrar decisiones para varias alertas de CDSS",
            "description": {
              "content": "Acepta o rechaza varias alertas de soporte a la decisión clínica en una sola llamada. Cada alerta se valida antes de registrar cualquier decisión, por lo que un lote que contenga una alerta inutilizable no cambia nada. Los cambios aceptados se aplican a la historia clínica de forma asíncrona.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "cdss",
                "decisions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"decisions\": [\n    {\n      \"id\": \"<string>\",\n      \"decision\": \"<string>\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "decisions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decisions\": [\n    {\n      \"decision\": \"accepted\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfSUJVUFJPRkVO\"\n    },\n    {\n      \"decision\": \"rejected\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfQVNQSVJJTg\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "decisions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decisions\": [\n    {\n      \"decision\": \"accepted\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfSUJVUFJPRkVO\"\n    },\n    {\n      \"decision\": \"rejected\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfQVNQSVJJTg\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "decisions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decisions\": [\n    {\n      \"decision\": \"accepted\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfSUJVUFJPRkVO\"\n    },\n    {\n      \"decision\": \"rejected\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfQVNQSVJJTg\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "decisions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decisions\": [\n    {\n      \"decision\": \"accepted\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfSUJVUFJPRkVO\"\n    },\n    {\n      \"decision\": \"rejected\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfQVNQSVJJTg\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "decisions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decisions\": [\n    {\n      \"decision\": \"accepted\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfSUJVUFJPRkVO\"\n    },\n    {\n      \"decision\": \"rejected\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfQVNQSVJJTg\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "decisions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decisions\": [\n    {\n      \"decision\": \"accepted\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfSUJVUFJPRkVO\"\n    },\n    {\n      \"decision\": \"rejected\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfQVNQSVJJTg\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "decisions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decisions\": [\n    {\n      \"decision\": \"accepted\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfSUJVUFJPRkVO\"\n    },\n    {\n      \"decision\": \"rejected\",\n      \"id\": \"cfa_bXJkLWFiYy0xMjMfQVNQSVJJTg\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Rechazar una alerta de CDSS",
          "request": {
            "name": "Rechazar una alerta de CDSS",
            "description": {
              "content": "Registra la decisión del médico de rechazar una alerta de soporte a la decisión clínica. La historia clínica no se modifica.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "cdss",
                "alerts",
                ":alert_id",
                "reject"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "alert_id",
                  "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "reject"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "reject"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "reject"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "reject"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "reject"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "reject"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "cdss",
                    "alerts",
                    ":alert_id",
                    "reject"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "alert_id",
                      "description": "(Required) The alert `id` returned by the medical record documents endpoint."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Scribe Session Configurations",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Listar configuraciones de sesión de scribe",
          "request": {
            "name": "Listar configuraciones de sesión de scribe",
            "description": {
              "content": "Lista todas las configuraciones de sesión de scribe de la cuenta autenticada.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "scribe-session-configurations"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-session-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-session-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-session-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-session-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Medical Record Configurations",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Crear una Smart Template",
          "request": {
            "name": "Crear una Smart Template",
            "description": {
              "content": "Registra una Smart Template (configuración de historia clínica). Idempotente por hash de contenido: configuraciones idénticas para la misma cuenta devuelven el id existente con `created: false`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "medical-record-configurations"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"configuration\": {\n    \"chiefComplaint\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"CHIEF_COMPLAINT\"\n      },\n      \"schema\": {\n        \"instructions\": \"Patient's chief complaint.\",\n        \"type\": \"string\"\n      }\n    },\n    \"vitals\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"VITAL_SIGNS\"\n      },\n      \"schema\": {\n        \"instructions\": \"Vital signs.\",\n        \"properties\": {\n          \"heartRate\": {\n            \"instructions\": \"Heart rate in bpm.\",\n            \"type\": \"integer\"\n          }\n        },\n        \"type\": \"object\"\n      }\n    }\n  },\n  \"name\": \"Cardiology intake\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"configuration\": {\n    \"chiefComplaint\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"CHIEF_COMPLAINT\"\n      },\n      \"schema\": {\n        \"instructions\": \"Patient's chief complaint.\",\n        \"type\": \"string\"\n      }\n    },\n    \"vitals\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"VITAL_SIGNS\"\n      },\n      \"schema\": {\n        \"instructions\": \"Vital signs.\",\n        \"properties\": {\n          \"heartRate\": {\n            \"instructions\": \"Heart rate in bpm.\",\n            \"type\": \"integer\"\n          }\n        },\n        \"type\": \"object\"\n      }\n    }\n  },\n  \"name\": \"Cardiology intake\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"configuration\": {\n    \"chiefComplaint\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"CHIEF_COMPLAINT\"\n      },\n      \"schema\": {\n        \"instructions\": \"Patient's chief complaint.\",\n        \"type\": \"string\"\n      }\n    },\n    \"vitals\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"VITAL_SIGNS\"\n      },\n      \"schema\": {\n        \"instructions\": \"Vital signs.\",\n        \"properties\": {\n          \"heartRate\": {\n            \"instructions\": \"Heart rate in bpm.\",\n            \"type\": \"integer\"\n          }\n        },\n        \"type\": \"object\"\n      }\n    }\n  },\n  \"name\": \"Cardiology intake\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"configuration\": {\n    \"chiefComplaint\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"CHIEF_COMPLAINT\"\n      },\n      \"schema\": {\n        \"instructions\": \"Patient's chief complaint.\",\n        \"type\": \"string\"\n      }\n    },\n    \"vitals\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"VITAL_SIGNS\"\n      },\n      \"schema\": {\n        \"instructions\": \"Vital signs.\",\n        \"properties\": {\n          \"heartRate\": {\n            \"instructions\": \"Heart rate in bpm.\",\n            \"type\": \"integer\"\n          }\n        },\n        \"type\": \"object\"\n      }\n    }\n  },\n  \"name\": \"Cardiology intake\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"configuration\": {\n    \"chiefComplaint\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"CHIEF_COMPLAINT\"\n      },\n      \"schema\": {\n        \"instructions\": \"Patient's chief complaint.\",\n        \"type\": \"string\"\n      }\n    },\n    \"vitals\": {\n      \"instructionSet\": {\n        \"telepatiaPromptId\": \"VITAL_SIGNS\"\n      },\n      \"schema\": {\n        \"instructions\": \"Vital signs.\",\n        \"properties\": {\n          \"heartRate\": {\n            \"instructions\": \"Heart rate in bpm.\",\n            \"type\": \"integer\"\n          }\n        },\n        \"type\": \"object\"\n      }\n    }\n  },\n  \"name\": \"Cardiology intake\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Listar Smart Templates",
          "request": {
            "name": "Listar Smart Templates",
            "description": {
              "content": "Lista las Smart Templates visibles para el llamador autenticado, paginadas.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "medical-record-configurations"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "page",
                  "value": "1",
                  "description": "Page number (1-based)."
                },
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "20",
                  "description": "Number of items per page."
                },
                {
                  "disabled": false,
                  "key": "status",
                  "value": "deleted",
                  "description": "Lifecycle-status view. Omit for the default non-deleted list; `deleted` returns only soft-deleted templates (audit view); `all` returns non-deleted + deleted."
                },
                {
                  "disabled": false,
                  "key": "workflow",
                  "value": "defaultOutpatient",
                  "description": "Product discriminator view. Omit to list every value's templates. `defaultOutpatient`, `inpatient`, and `emergencyRoom` filter Scribe templates by clinical care setting; `reportDictation` returns only dictation report templates and `historySummary` only patient-history summarizers."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "workflow",
                      "value": "defaultOutpatient"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "workflow",
                      "value": "defaultOutpatient"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "workflow",
                      "value": "defaultOutpatient"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Precondition Required",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "workflow",
                      "value": "defaultOutpatient"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Precondition Required",
              "code": 428,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "workflow",
                      "value": "defaultOutpatient"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Consultar una Smart Template por ID",
          "request": {
            "name": "Consultar una Smart Template por ID",
            "description": {
              "content": "Consulta una Smart Template por su identificador público.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "medical-record-configurations",
                ":configuration_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "configuration_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Eliminar una Smart Template",
          "request": {
            "name": "Eliminar una Smart Template",
            "description": {
              "content": "Elimina de forma lógica una Smart Template por su identificador público. La plantilla desaparece de la lista por defecto; las consultas históricas que la referenciaron no se ven afectadas. Se bloquea con un 409 mientras una sesión de scribe vinculada sigue en proceso.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "medical-record-configurations",
                ":configuration_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "configuration_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Successful Response",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "medical-record-configurations",
                    ":configuration_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "configuration_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Appointments",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Agendar una cita",
          "request": {
            "name": "Agendar una cita",
            "description": {
              "content": "Crea una consulta agendada (idempotente por consultationInternalId). Devuelve la cita con su id público estable (apt_).",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "appointments"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"consultationInternalId\": \"<string>\",\n  \"start\": \"<string>\",\n  \"end\": \"<string>\",\n  \"name\": \"<string>\",\n  \"idCountry\": \"<string>\",\n  \"idType\": \"<string>\",\n  \"idValue\": \"<string>\",\n  \"patientId\": \"<string>\",\n  \"internalCode\": \"<string>\",\n  \"doctorId\": \"<string>\",\n  \"minutesDuration\": \"<integer>\",\n  \"serviceType\": \"<string>\",\n  \"appointmentType\": \"<string>\",\n  \"reason\": \"<string>\",\n  \"description\": \"<string>\",\n  \"medicalRecordConfigurationId\": \"<string>\",\n  \"scribeSessionModality\": \"<string>\",\n  \"notes\": \"<string>\",\n  \"pastMedicalHistory\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"end\": \"2026-09-01T14:30:00.000Z\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"reason\": \"Follow-up\",\n  \"scribeSessionModality\": \"IN_PERSON\",\n  \"serviceType\": \"cardiology\",\n  \"start\": \"2026-09-01T14:00:00.000Z\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"end\": \"2026-09-01T14:30:00.000Z\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"reason\": \"Follow-up\",\n  \"scribeSessionModality\": \"IN_PERSON\",\n  \"serviceType\": \"cardiology\",\n  \"start\": \"2026-09-01T14:00:00.000Z\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"end\": \"2026-09-01T14:30:00.000Z\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"reason\": \"Follow-up\",\n  \"scribeSessionModality\": \"IN_PERSON\",\n  \"serviceType\": \"cardiology\",\n  \"start\": \"2026-09-01T14:00:00.000Z\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"end\": \"2026-09-01T14:30:00.000Z\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"reason\": \"Follow-up\",\n  \"scribeSessionModality\": \"IN_PERSON\",\n  \"serviceType\": \"cardiology\",\n  \"start\": \"2026-09-01T14:00:00.000Z\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"end\": \"2026-09-01T14:30:00.000Z\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"reason\": \"Follow-up\",\n  \"scribeSessionModality\": \"IN_PERSON\",\n  \"serviceType\": \"cardiology\",\n  \"start\": \"2026-09-01T14:00:00.000Z\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"end\": \"2026-09-01T14:30:00.000Z\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"reason\": \"Follow-up\",\n  \"scribeSessionModality\": \"IN_PERSON\",\n  \"serviceType\": \"cardiology\",\n  \"start\": \"2026-09-01T14:00:00.000Z\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultationInternalId\": \"CONSULT-12345\",\n  \"end\": \"2026-09-01T14:30:00.000Z\",\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"medicalRecordConfigurationId\": \"mrc_a1b2c3d4e5f6g7h8\",\n  \"name\": \"John Doe\",\n  \"reason\": \"Follow-up\",\n  \"scribeSessionModality\": \"IN_PERSON\",\n  \"serviceType\": \"cardiology\",\n  \"start\": \"2026-09-01T14:00:00.000Z\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Listar citas (agenda)",
          "request": {
            "name": "Listar citas (agenda)",
            "description": {
              "content": "Lista las citas visibles para el llamador, ordenadas por hora de inicio, con filtros de rango de inicio y estado, paginadas.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "appointments"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "startFrom",
                  "value": "<string>",
                  "description": "ISO-8601 lower bound on start (inclusive)."
                },
                {
                  "disabled": false,
                  "key": "startTo",
                  "value": "<string>",
                  "description": "ISO-8601 upper bound on start (inclusive)."
                },
                {
                  "disabled": false,
                  "key": "status",
                  "value": "deleted",
                  "description": "Filter by one or more statuses (repeatable)."
                },
                {
                  "disabled": false,
                  "key": "status",
                  "value": "deleted",
                  "description": "Filter by one or more statuses (repeatable)."
                },
                {
                  "disabled": false,
                  "key": "consultationInternalId",
                  "value": "<string>",
                  "description": "Filter to the booking that carries this consultation id."
                },
                {
                  "disabled": false,
                  "key": "page",
                  "value": "1",
                  "description": "Page number (1-based)."
                },
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "20",
                  "description": "Number of items per page."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "startFrom",
                      "value": "<string>"
                    },
                    {
                      "key": "startTo",
                      "value": "<string>"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "consultationInternalId",
                      "value": "<string>"
                    },
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "startFrom",
                      "value": "<string>"
                    },
                    {
                      "key": "startTo",
                      "value": "<string>"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "consultationInternalId",
                      "value": "<string>"
                    },
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "startFrom",
                      "value": "<string>"
                    },
                    {
                      "key": "startTo",
                      "value": "<string>"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "consultationInternalId",
                      "value": "<string>"
                    },
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "startFrom",
                      "value": "<string>"
                    },
                    {
                      "key": "startTo",
                      "value": "<string>"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "status",
                      "value": "deleted"
                    },
                    {
                      "key": "consultationInternalId",
                      "value": "<string>"
                    },
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Consultar una cita por ID",
          "request": {
            "name": "Consultar una cita por ID",
            "description": {
              "content": "Consulta una cita por su id público (apt_) o el consultationInternalId que enviaste al crearla.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "appointments",
                ":appointment_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "appointment_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Actualizar una cita",
          "request": {
            "name": "Actualizar una cita",
            "description": {
              "content": "Cancela una reserva o la marca como ausencia, o repara un enlace de sesión perdido. Solo cancelled y noshow son configurables por el cliente.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "appointments",
                ":appointment_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "appointment_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"<string>\",\n  \"scribeSessionId\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"cancelled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"cancelled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"cancelled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"cancelled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"cancelled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"cancelled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "appointments",
                    ":appointment_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "appointment_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"cancelled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Patients",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Crear un paciente",
          "request": {
            "name": "Crear un paciente",
            "description": {
              "content": "Crea un paciente a partir de los mismos campos de identidad usados por set-consultation-context. Devuelve el paciente con su id público estable.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "patients"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"idCountry\": \"<string>\",\n  \"idType\": \"<string>\",\n  \"idValue\": \"<string>\",\n  \"internalCode\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"internalCode\": \"EMR-12345\",\n  \"name\": \"John Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"internalCode\": \"EMR-12345\",\n  \"name\": \"John Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"internalCode\": \"EMR-12345\",\n  \"name\": \"John Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"internalCode\": \"EMR-12345\",\n  \"name\": \"John Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"idCountry\": \"COLOMBIA\",\n  \"idType\": \"CC\",\n  \"idValue\": \"1024567890\",\n  \"internalCode\": \"EMR-12345\",\n  \"name\": \"John Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Listar pacientes",
          "request": {
            "name": "Listar pacientes",
            "description": {
              "content": "Lista los pacientes visibles para el llamador autenticado, paginados.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "patients"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "page",
                  "value": "1",
                  "description": "Page number (1-based)."
                },
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "20",
                  "description": "Number of items per page."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Consultar un paciente por ID",
          "request": {
            "name": "Consultar un paciente por ID",
            "description": {
              "content": "Consulta un paciente por su identificador público.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "patients",
                ":patient_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "patient_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Actualizar un paciente",
          "request": {
            "name": "Actualizar un paciente",
            "description": {
              "content": "Actualiza el nombre o el internalCode de un paciente. La identidad nacional no es editable aquí.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "patients",
                ":patient_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "patient_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"internalCode\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"internalCode\": \"EMR-99999\",\n  \"name\": \"Jane Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"internalCode\": \"EMR-99999\",\n  \"name\": \"Jane Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"internalCode\": \"EMR-99999\",\n  \"name\": \"Jane Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"internalCode\": \"EMR-99999\",\n  \"name\": \"Jane Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"internalCode\": \"EMR-99999\",\n  \"name\": \"Jane Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"internalCode\": \"EMR-99999\",\n  \"name\": \"Jane Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"internalCode\": \"EMR-99999\",\n  \"name\": \"Jane Doe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Eliminar un paciente",
          "request": {
            "name": "Eliminar un paciente",
            "description": {
              "content": "Elimina un paciente por su id público o internalCode (derecho al olvido). Devuelve 204.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "patients",
                ":patient_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "patient_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Successful Response",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "text"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Listar las sesiones de scribe de un paciente",
          "request": {
            "name": "Listar las sesiones de scribe de un paciente",
            "description": {
              "content": "Lista las sesiones de scribe de un paciente, paginadas. El id del paciente puede ser el id público (sp_...) o el internalCode que definiste para tu institución.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "patients",
                ":patient_id",
                "scribe-sessions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "page",
                  "value": "1",
                  "description": "Page number (1-based)."
                },
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "20",
                  "description": "Number of items per page."
                }
              ],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "patient_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id",
                    "scribe-sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id",
                    "scribe-sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id",
                    "scribe-sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id",
                    "scribe-sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "patients",
                    ":patient_id",
                    "scribe-sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "patient_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Audits",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Listar configuraciones de auditoría",
          "request": {
            "name": "Listar configuraciones de auditoría",
            "description": {
              "content": "Lista las rúbricas de auditoría asignadas a la institución, con sus secciones y bandas de calificación. Requiere una clave institucional.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "audits",
                "configurations"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits",
                    "configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits",
                    "configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits",
                    "configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits",
                    "configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits",
                    "configurations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Listar auditorías",
          "request": {
            "name": "Listar auditorías",
            "description": {
              "content": "Lista las auditorías de la institución, paginadas. Requiere una clave institucional.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "audits"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "page",
                  "value": "1",
                  "description": "Page number (1-based)."
                },
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "20",
                  "description": "Number of items per page."
                },
                {
                  "disabled": false,
                  "key": "reviewStatus",
                  "value": "pending",
                  "description": "Filter by human-review state: 'pending', 'inReview', or 'reviewed'."
                },
                {
                  "disabled": false,
                  "key": "createdFrom",
                  "value": "<dateTime>",
                  "description": "Only audits created at or after this time (ISO-8601)."
                },
                {
                  "disabled": false,
                  "key": "createdTo",
                  "value": "<dateTime>",
                  "description": "Only audits created at or before this time (ISO-8601)."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "reviewStatus",
                      "value": "pending"
                    },
                    {
                      "key": "createdFrom",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "createdTo",
                      "value": "<dateTime>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "reviewStatus",
                      "value": "pending"
                    },
                    {
                      "key": "createdFrom",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "createdTo",
                      "value": "<dateTime>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "reviewStatus",
                      "value": "pending"
                    },
                    {
                      "key": "createdFrom",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "createdTo",
                      "value": "<dateTime>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "reviewStatus",
                      "value": "pending"
                    },
                    {
                      "key": "createdFrom",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "createdTo",
                      "value": "<dateTime>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "audits"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    },
                    {
                      "key": "reviewStatus",
                      "value": "pending"
                    },
                    {
                      "key": "createdFrom",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "createdTo",
                      "value": "<dateTime>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Consultar la auditoría de una sesión",
          "request": {
            "name": "Consultar la auditoría de una sesión",
            "description": {
              "content": "Devuelve la auditoría de calidad de una sesión de scribe: la puntuación (0..1), la calificación y el desglose por secciones.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "scribe-sessions",
                ":id",
                "audit"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "id",
                  "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "audit"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "audit"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "audit"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "audit"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "audit"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    ":id",
                    "audit"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "id",
                      "description": "(Required) La sesión a buscar — su consultationInternalId, o el id de la sesión (ss_...) que la API devuelve."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Scribe Sessions",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Start a live consultation audio session",
          "request": {
            "name": "Start a live consultation audio session",
            "description": {
              "content": "Create a consultation and receive a WebSocket URL to stream the audio to. Body is `application/json` with the same metadata as the batch endpoint (`consultation`, `template`, `patient`, `context`); the `audio` block is not accepted. Stream to `live.url` as described on that field, then finish through the webhook + document GET contract shared with the batch endpoint. Retrying with the same consultation id while recording returns the same session with a fresh URL; finished consultations return 409.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "scribe-sessions",
                "live"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Successful Response",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    "live"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultation\": {\n    \"id\": \"CONSULT-12345\",\n    \"modality\": \"IN_PERSON\"\n  },\n  \"template\": {\n    \"id\": \"mrc_a1b2c3d4e5f6g7h8\"\n  },\n  \"patient\": {\n    \"id\": \"sp_a1b2c3d4e5f6g7h8\"\n  },\n  \"context\": {\n    \"notes\": \"Patient reports headache since Monday.\",\n    \"pastMedicalHistory\": \"Hypertension diagnosed 2020.\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    "live"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultation\": {\n    \"id\": \"CONSULT-12345\",\n    \"modality\": \"IN_PERSON\"\n  },\n  \"template\": {\n    \"id\": \"mrc_a1b2c3d4e5f6g7h8\"\n  },\n  \"patient\": {\n    \"id\": \"sp_a1b2c3d4e5f6g7h8\"\n  },\n  \"context\": {\n    \"notes\": \"Patient reports headache since Monday.\",\n    \"pastMedicalHistory\": \"Hypertension diagnosed 2020.\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    "live"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultation\": {\n    \"id\": \"CONSULT-12345\",\n    \"modality\": \"IN_PERSON\"\n  },\n  \"template\": {\n    \"id\": \"mrc_a1b2c3d4e5f6g7h8\"\n  },\n  \"patient\": {\n    \"id\": \"sp_a1b2c3d4e5f6g7h8\"\n  },\n  \"context\": {\n    \"notes\": \"Patient reports headache since Monday.\",\n    \"pastMedicalHistory\": \"Hypertension diagnosed 2020.\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    "live"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultation\": {\n    \"id\": \"CONSULT-12345\",\n    \"modality\": \"IN_PERSON\"\n  },\n  \"template\": {\n    \"id\": \"mrc_a1b2c3d4e5f6g7h8\"\n  },\n  \"patient\": {\n    \"id\": \"sp_a1b2c3d4e5f6g7h8\"\n  },\n  \"context\": {\n    \"notes\": \"Patient reports headache since Monday.\",\n    \"pastMedicalHistory\": \"Hypertension diagnosed 2020.\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    "live"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultation\": {\n    \"id\": \"CONSULT-12345\",\n    \"modality\": \"IN_PERSON\"\n  },\n  \"template\": {\n    \"id\": \"mrc_a1b2c3d4e5f6g7h8\"\n  },\n  \"patient\": {\n    \"id\": \"sp_a1b2c3d4e5f6g7h8\"\n  },\n  \"context\": {\n    \"notes\": \"Patient reports headache since Monday.\",\n    \"pastMedicalHistory\": \"Hypertension diagnosed 2020.\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    "live"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultation\": {\n    \"id\": \"CONSULT-12345\",\n    \"modality\": \"IN_PERSON\"\n  },\n  \"template\": {\n    \"id\": \"mrc_a1b2c3d4e5f6g7h8\"\n  },\n  \"patient\": {\n    \"id\": \"sp_a1b2c3d4e5f6g7h8\"\n  },\n  \"context\": {\n    \"notes\": \"Patient reports headache since Monday.\",\n    \"pastMedicalHistory\": \"Hypertension diagnosed 2020.\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Content Too Large",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    "live"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultation\": {\n    \"id\": \"CONSULT-12345\",\n    \"modality\": \"IN_PERSON\"\n  },\n  \"template\": {\n    \"id\": \"mrc_a1b2c3d4e5f6g7h8\"\n  },\n  \"patient\": {\n    \"id\": \"sp_a1b2c3d4e5f6g7h8\"\n  },\n  \"context\": {\n    \"notes\": \"Patient reports headache since Monday.\",\n    \"pastMedicalHistory\": \"Hypertension diagnosed 2020.\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Request Entity Too Large",
              "code": 413,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "scribe-sessions",
                    "live"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"consultation\": {\n    \"id\": \"CONSULT-12345\",\n    \"modality\": \"IN_PERSON\"\n  },\n  \"template\": {\n    \"id\": \"mrc_a1b2c3d4e5f6g7h8\"\n  },\n  \"patient\": {\n    \"id\": \"sp_a1b2c3d4e5f6g7h8\"\n  },\n  \"context\": {\n    \"notes\": \"Patient reports headache since Monday.\",\n    \"pastMedicalHistory\": \"Hypertension diagnosed 2020.\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Webhooks",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Listar suscripciones de webhook",
          "request": {
            "name": "Listar suscripciones de webhook",
            "description": {
              "content": "Lista las suscripciones de webhook visibles para el llamador autenticado.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "webhooks"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Crear una suscripción de webhook",
          "request": {
            "name": "Crear una suscripción de webhook",
            "description": {
              "content": "Registra un webhook para recibir notificaciones de eventos. La respuesta incluye el `signingSecret` —mostrado solo una vez— usado para verificar el encabezado `X-Scribe-Api-Signature`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "webhooks"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"<uri>\",\n  \"name\": \"<string>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"event\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.created\",\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"name\": \"Scribe prod webhook\",\n  \"url\": \"https://example.com/webhooks/scribe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.created\",\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"name\": \"Scribe prod webhook\",\n  \"url\": \"https://example.com/webhooks/scribe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.created\",\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"name\": \"Scribe prod webhook\",\n  \"url\": \"https://example.com/webhooks/scribe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.created\",\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"name\": \"Scribe prod webhook\",\n  \"url\": \"https://example.com/webhooks/scribe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.created\",\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"name\": \"Scribe prod webhook\",\n  \"url\": \"https://example.com/webhooks/scribe\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Rotar el secreto de firma de un webhook",
          "request": {
            "name": "Rotar el secreto de firma de un webhook",
            "description": {
              "content": "Genera un nuevo secreto de firma para el webhook, incrementando su versión. El nuevo `signingSecret` se muestra solo una vez. El secreto anterior deja de verificar de inmediato.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "webhooks",
                ":webhook_id",
                "rotate-secret"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "webhook_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id",
                    "rotate-secret"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id",
                    "rotate-secret"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id",
                    "rotate-secret"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id",
                    "rotate-secret"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id",
                    "rotate-secret"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Consultar una suscripción de webhook por ID",
          "request": {
            "name": "Consultar una suscripción de webhook por ID",
            "description": {},
            "url": {
              "path": [
                "v1",
                "webhooks",
                ":webhook_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "webhook_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Actualizar una suscripción de webhook",
          "request": {
            "name": "Actualizar una suscripción de webhook",
            "description": {
              "content": "Modifica la url, el tipo de evento o el indicador de actividad de una suscripción de webhook.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "webhooks",
                ":webhook_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "webhook_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"<uri>\",\n  \"name\": \"<string>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"event\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"isActive\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"isActive\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"isActive\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"isActive\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"isActive\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "webhooks",
                    ":webhook_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "webhook_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"events\": [\n    \"scribe_session.completed\",\n    \"scribe_session.error\"\n  ],\n  \"isActive\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "name": "Institutional",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "name": "Crear una cuenta de médico",
          "request": {
            "name": "Crear una cuenta de médico",
            "description": {
              "content": "Crea una nueva cuenta de médico para la institución autenticada. Si se proporciona `internalCode`, actúa como clave de idempotencia: enviar el mismo valor dos veces devuelve un 409.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"<string>\",\n  \"doctorSpecialties\": [\n    \"<string>\"\n  ],\n  \"country\": \"<string>\",\n  \"language\": \"<string>\",\n  \"timeZone\": \"<string>\",\n  \"nameFull\": \"<string>\",\n  \"institutionalBranchName\": \"<string>\",\n  \"internalCode\": \"<string>\",\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Successful Response",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Crear una cuenta de médico",
          "request": {
            "name": "Crear una cuenta de médico",
            "description": {
              "content": "Crea una nueva cuenta de médico para la institución autenticada. Si se proporciona `internalCode`, actúa como clave de idempotencia: enviar el mismo valor dos veces devuelve un 409.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"<string>\",\n  \"doctorSpecialties\": [\n    \"<string>\"\n  ],\n  \"country\": \"<string>\",\n  \"language\": \"<string>\",\n  \"timeZone\": \"<string>\",\n  \"nameFull\": \"<string>\",\n  \"institutionalBranchName\": \"<string>\",\n  \"internalCode\": \"<string>\",\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Successful Response",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiKeyConfig\": {\n    \"validForDays\": 365\n  },\n  \"country\": \"CO\",\n  \"doctorSpecialties\": [\n    \"cardiology\"\n  ],\n  \"email\": \"dr.juan@clinica.com\",\n  \"institutionalBranchName\": \"Sede Norte\",\n  \"internalCode\": \"DOC-001\",\n  \"language\": \"es\",\n  \"nameFull\": \"Dr. Juan Pérez\",\n  \"timeZone\": \"America/Bogota\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Listar las cuentas de la institución",
          "request": {
            "name": "Listar las cuentas de la institución",
            "description": {
              "content": "Devuelve id, nameFull, email y disabledAt de cada cuenta de la institución autenticada. Paginado.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "page",
                  "value": "1"
                },
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "20"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Listar las cuentas de la institución",
          "request": {
            "name": "Listar las cuentas de la institución",
            "description": {
              "content": "Devuelve id, nameFull, email y disabledAt de cada cuenta de la institución autenticada. Paginado.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "page",
                  "value": "1"
                },
                {
                  "disabled": false,
                  "key": "limit",
                  "value": "20"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Crear cuentas de médico en lote",
          "request": {
            "name": "Crear cuentas de médico en lote",
            "description": {
              "content": "Crea varias cuentas de médico para la institución autenticada en una sola llamada (1–10 cuentas). Cada elemento toma los mismos campos que `POST /accounts`. Toda la solicitud se rechaza con un 400 antes de crear cualquier cuenta cuando repite un `email` o un `internalCode`. Como cada cuenta se confirma de forma independiente, el endpoint no revierte: devuelve un 200 con un arreglo `results` por elemento —una entrada por cuenta, en el orden recibido, marcada como `created` o `error`— más `createdCount` y `failedCount`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts",
                "batch"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"accounts\": [\n    {\n      \"email\": \"<string>\",\n      \"doctorSpecialties\": [\n        \"<string>\"\n      ],\n      \"country\": \"<string>\",\n      \"language\": \"<string>\",\n      \"timeZone\": \"<string>\",\n      \"nameFull\": \"<string>\",\n      \"institutionalBranchName\": \"<string>\",\n      \"internalCode\": \"<string>\",\n      \"apiKeyConfig\": {\n        \"validForDays\": 365\n      }\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Crear cuentas de médico en lote",
          "request": {
            "name": "Crear cuentas de médico en lote",
            "description": {
              "content": "Crea varias cuentas de médico para la institución autenticada en una sola llamada (1–10 cuentas). Cada elemento toma los mismos campos que `POST /accounts`. Toda la solicitud se rechaza con un 400 antes de crear cualquier cuenta cuando repite un `email` o un `internalCode`. Como cada cuenta se confirma de forma independiente, el endpoint no revierte: devuelve un 200 con un arreglo `results` por elemento —una entrada por cuenta, en el orden recibido, marcada como `created` o `error`— más `createdCount` y `failedCount`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts",
                "batch"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"accounts\": [\n    {\n      \"email\": \"<string>\",\n      \"doctorSpecialties\": [\n        \"<string>\"\n      ],\n      \"country\": \"<string>\",\n      \"language\": \"<string>\",\n      \"timeZone\": \"<string>\",\n      \"nameFull\": \"<string>\",\n      \"institutionalBranchName\": \"<string>\",\n      \"internalCode\": \"<string>\",\n      \"apiKeyConfig\": {\n        \"validForDays\": 365\n      }\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    "batch"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accounts\": [\n    {\n      \"doctorSpecialties\": [\n        \"cardiology\"\n      ],\n      \"email\": \"dr.juan@clinica.com\",\n      \"internalCode\": \"DOC-001\",\n      \"nameFull\": \"Dr. Juan Pérez\"\n    },\n    {\n      \"doctorSpecialties\": [\n        \"pediatrics\"\n      ],\n      \"email\": \"dra.ana@clinica.com\",\n      \"internalCode\": \"DOC-002\",\n      \"nameFull\": \"Dra. Ana Gómez\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Crear una sede",
          "request": {
            "name": "Crear una sede",
            "description": {
              "content": "Crea una nueva sede para la institución autenticada. Solo `name` es obligatorio; los campos omitidos usan los valores por defecto del servidor. El nombre de la sede debe ser único dentro de la institución: un duplicado devuelve un 409. Una vez creada, la sede puede referenciarse como `institutionalBranchName` al crear cuentas.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "branches"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"type\": \"<string>\",\n  \"visible\": \"<boolean>\",\n  \"main\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"description\": \"<string>\",\n  \"address\": \"<string>\",\n  \"IPS\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"coordinates\": {\n    \"latitude\": \"<number>\",\n    \"longitude\": \"<number>\"\n  },\n  \"expectedConsultations\": \"<integer>\",\n  \"branchManagerAccountIds\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"cdssConfigurationId\": \"<string>\",\n  \"auditConfigurationId\": \"<string>\",\n  \"sessionStartLabel\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Successful Response",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Crear una sede",
          "request": {
            "name": "Crear una sede",
            "description": {
              "content": "Crea una nueva sede para la institución autenticada. Solo `name` es obligatorio; los campos omitidos usan los valores por defecto del servidor. El nombre de la sede debe ser único dentro de la institución: un duplicado devuelve un 409. Una vez creada, la sede puede referenciarse como `institutionalBranchName` al crear cuentas.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "branches"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"type\": \"<string>\",\n  \"visible\": \"<boolean>\",\n  \"main\": \"<boolean>\",\n  \"order\": \"<integer>\",\n  \"description\": \"<string>\",\n  \"address\": \"<string>\",\n  \"IPS\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"coordinates\": {\n    \"latitude\": \"<number>\",\n    \"longitude\": \"<number>\"\n  },\n  \"expectedConsultations\": \"<integer>\",\n  \"branchManagerAccountIds\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"cdssConfigurationId\": \"<string>\",\n  \"auditConfigurationId\": \"<string>\",\n  \"sessionStartLabel\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Successful Response",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Solicitud incorrecta — parámetros inválidos, fallos de validación o campos faltantes.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "branches"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address\": \"Av. 7 #12-34\",\n  \"main\": false,\n  \"name\": \"Sede Norte\",\n  \"type\": \"single\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Consultar una cuenta de médico",
          "request": {
            "name": "Consultar una cuenta de médico",
            "description": {
              "content": "Obtiene una cuenta de médico por su `publicId` (formato: `acc_*`) o por su `internalCode` (el identificador interno de tu institución).",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts",
                ":account_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "account_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Consultar una cuenta de médico",
          "request": {
            "name": "Consultar una cuenta de médico",
            "description": {
              "content": "Obtiene una cuenta de médico por su `publicId` (formato: `acc_*`) o por su `internalCode` (el identificador interno de tu institución).",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts",
                ":account_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "account_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Regenerar la clave API de una cuenta de médico",
          "request": {
            "name": "Regenerar la clave API de una cuenta de médico",
            "description": {
              "content": "Rota la clave API de una cuenta de médico, identificada por su `publicId` (`acc_*`) o `internalCode`. La clave anterior se revoca con una breve ventana de gracia; la nueva clave en texto plano se devuelve **una sola vez**: guárdala de forma segura. Limitado a una regeneración por cuenta cada 2 minutos (`429 rate_limit_exceeded`).",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts",
                ":account_id",
                "api-keys",
                "regenerate"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "account_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"validForDays\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Too Many Requests",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "name": "Regenerar la clave API de una cuenta de médico",
          "request": {
            "name": "Regenerar la clave API de una cuenta de médico",
            "description": {
              "content": "Rota la clave API de una cuenta de médico, identificada por su `publicId` (`acc_*`) o `internalCode`. La clave anterior se revoca con una breve ventana de gracia; la nueva clave en texto plano se devuelve **una sola vez**: guárdala de forma segura. Limitado a una regeneración por cuenta cada 2 minutos (`429 rate_limit_exceeded`).",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "institutional",
                "accounts",
                ":account_id",
                "api-keys",
                "regenerate"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "account_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"validForDays\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Respuesta exitosa",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No autorizado — clave API faltante o inválida.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Prohibido — la clave API no puede realizar esta operación.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "No encontrado — el recurso solicitado no existe.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Conflicto — el recurso ya existe o está en estado conflictivo.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Too Many Requests",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "name": "Servicio no disponible — una dependencia externa no está disponible.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "institutional",
                    "accounts",
                    ":account_id",
                    "api-keys",
                    "regenerate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "account_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"validForDays\": 365\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [],
  "variable": [
    {
      "type": "string",
      "value": "https://scribe-api.telepatia.ai",
      "key": "baseUrl"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}"
      }
    ]
  },
  "info": {
    "name": "Scribe Institutional API (ES)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "API REST externa para integración con la plataforma Telepatia. Autentíquese con claves API, establezca el contexto de consulta y consulte sesiones de scribe.",
      "type": "text/plain"
    }
  }
}
