{
  "openapi" : "3.1.0",
  "info" : {
    "contact" : {
      "email" : "soporte@aichamo.local",
      "name" : "AIChamo"
    },
    "description" : "Agentes especializados con conocimiento verticalizado, herramientas gobernadas por MCP, cómputo propio y trazabilidad completa.\n\n**Dos planos, dos autenticaciones.** El plano de datos (`/v1/...`) se autentica con una clave de API, que pertenece a exactamente un workspace: la clave *es* el contexto de tenant, y no hace falta indicarlo en ninguna petición. El plano de control (`/v1/admin/...`) se autentica con una sesión de usuario y se gobierna por permisos.\n\n**Aislamiento.** Todo dato de cliente cuelga de un workspace y Row-Level Security lo aplica en PostgreSQL, no en el código de la aplicación. Una consulta mal escrita devuelve cero filas, no las filas de otro banco.\n\n**Compatibilidad.** `/v1/chat/completions`, `/v1/embeddings` y `/v1/models` siguen el contrato de OpenAI: integrar la plataforma es cambiar una `base_url`.",
    "title" : "AIChamo — Plataforma de agentes de IA para banca",
    "version" : "v1"
  },
  "servers" : [ {
    "url" : "http://localhost:8081",
    "description" : "Desarrollo local"
  }, {
    "url" : "https://api.aichamo.local",
    "description" : "Instalación del cliente"
  } ],
  "security" : [ {
    "claveDeApi" : [ ]
  } ],
  "tags" : [ {
    "description" : "Compatible con OpenAI: chat, embeddings y catálogo de modelos.",
    "name" : "Inferencia"
  }, {
    "description" : "Protocolo de Ollama bajo /v1/ollama: NDJSON en streaming, precalentado y descubrimiento. Existe para que un producto ya escrito contra Ollama —HELIOS— apunte aquí cambiando una URL. Sigue exigiendo la clave de API: es el contexto de tenant.",
    "name" : "Compatibilidad · Ollama"
  }, {
    "description" : "Ejecución de agentes y consulta de su traza paso a paso.",
    "name" : "Agentes"
  }, {
    "description" : "Ingestión de documentos y recuperación con citación.",
    "name" : "Conocimiento"
  }, {
    "description" : "Herramientas gobernadas por el gateway.",
    "name" : "MCP"
  }, {
    "description" : "Quién es el portador de la clave y qué alcance tiene.",
    "name" : "Identidad"
  }, {
    "description" : "Bancos, proyectos y workspaces.",
    "name" : "Administración · Tenants"
  }, {
    "description" : "Emisión, rotación y revocación.",
    "name" : "Administración · Claves"
  }, {
    "description" : "Cuotas, saldo, consumo y tarifas.",
    "name" : "Administración · Tokens y créditos"
  }, {
    "description" : "Sparks, salud y asignación por banco.",
    "name" : "Administración · Cómputo"
  }, {
    "description" : "Catálogo y concesiones por workspace.",
    "name" : "Administración · Modelos"
  }, {
    "description" : "Alta, versiones, ejecuciones y aprobaciones.",
    "name" : "Administración · Agentes"
  }, {
    "description" : "Vista de soporte sobre las integraciones de cada banco y aprobación o revocación de los destinos de salida. El plano de control ve la configuración y el diario de llamadas; nunca la credencial, que le está revocada en la propia tabla.",
    "name" : "Administración · Integraciones"
  }, {
    "description" : "Indicadores de gestión y exportación.",
    "name" : "Administración · Reportes"
  }, {
    "description" : "Diario del plano de control y de workspace.",
    "name" : "Administración · Auditoría"
  }, {
    "description" : "Sesiones, usuarios y panel de verificación.",
    "name" : "Administración · Seguridad"
  }, {
    "description" : "Acceso del usuario del banco a su propia consola. Devuelve el testigo de X-Console-Session y la organización a la que pertenece.",
    "name" : "Consola · Sesión"
  }, {
    "description" : "Altas, roles y estado de las personas DENTRO del banco. Los roles son los de organización —owner, admin, developer, approver, viewer—, los mismos que el esquema trae sembrados desde el primer día, y el alcance es siempre la organización de la sesión: aquí no se administra a nadie de otro cliente.",
    "name" : "Consola · Personas"
  }, {
    "description" : "Chat persistido del cliente. Los turnos se entregan en NDJSON conforme se generan, el historial que viaja al modelo está acotado por una ventana deslizante y cada cierre informa del coste acumulado de la conversación.",
    "name" : "Consola · Conversaciones"
  }, {
    "description" : "El banco crea, versiona y prueba sus propios agentes, y consulta la traza de sus ejecuciones.",
    "name" : "Consola · Agentes"
  }, {
    "description" : "Bibliotecas propias del cliente: ingestión de documentos y prueba de recuperación con las citas a la vista.",
    "name" : "Consola · Conocimiento"
  }, {
    "description" : "El banco define, publica y ejecuta procedimientos de varios pasos. Incluye la ejecución en seco —que valida el grafo y estima el coste sin gastar crédito—, la traza paso a paso y la bandeja de aprobaciones donde una persona decide antes de continuar.",
    "name" : "Consola · Flujos"
  }, {
    "description" : "Servicios del core del banco expuestos al agente como herramientas. La credencial se escribe pero no se lee: la respuesta dice que existe y cuándo se rotó, nunca su valor.",
    "name" : "Consola · Integraciones"
  }, {
    "description" : "Autoservicio: emisión y revocación de claves de API, consumo, cuota, saldo y modelos concedidos.",
    "name" : "Consola · Claves y consumo"
  }, {
    "description" : "Ejecución de flujos con clave de API. Publicar y aprobar quedan fuera a propósito: una clave es credencial de máquina y el paso de aprobación existe para que decida una persona.",
    "name" : "Flujos"
  } ],
  "paths" : {
    "/v1/admin/agents" : {
      "get" : {
        "operationId" : "list_12",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Agentes" ]
      },
      "post" : {
        "operationId" : "create_11",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateAgent"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Agentes" ]
      }
    },
    "/v1/admin/agents/{slug}/visibility" : {
      "patch" : {
        "operationId" : "setVisibility",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SetVisibility"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Agentes" ]
      }
    },
    "/v1/admin/api-keys" : {
      "post" : {
        "operationId" : "create_10",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateApiKey"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Claves" ]
      }
    },
    "/v1/admin/api-keys/{apiKeyId}" : {
      "delete" : {
        "operationId" : "revoke_3",
        "parameters" : [ {
          "in" : "path",
          "name" : "apiKeyId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Claves" ]
      }
    },
    "/v1/admin/api-keys/{apiKeyId}/rotate" : {
      "post" : {
        "operationId" : "rotate",
        "parameters" : [ {
          "in" : "path",
          "name" : "apiKeyId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RotateApiKey"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Claves" ]
      }
    },
    "/v1/admin/audit" : {
      "get" : {
        "operationId" : "query",
        "parameters" : [ {
          "in" : "query",
          "name" : "scope",
          "required" : false,
          "schema" : {
            "type" : "string",
            "default" : "control"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "orgId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "actor",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "action",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "subjectType",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "subject",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "outcome",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "requestId",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "cursor",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Auditoría" ]
      }
    },
    "/v1/admin/billing/accounts/{orgId}" : {
      "get" : {
        "operationId" : "account",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      },
      "put" : {
        "operationId" : "saveAccount",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/AccountRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/accounts/{orgId}/service" : {
      "get" : {
        "operationId" : "service",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/accounts/{orgId}/statement" : {
      "get" : {
        "operationId" : "statement_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/invoices" : {
      "get" : {
        "operationId" : "invoices",
        "parameters" : [ {
          "in" : "query",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      },
      "post" : {
        "operationId" : "draft",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/DraftRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/invoices/{invoiceId}" : {
      "get" : {
        "operationId" : "invoice_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "invoiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/invoices/{invoiceId}/issue" : {
      "post" : {
        "operationId" : "issue",
        "parameters" : [ {
          "in" : "path",
          "name" : "invoiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/invoices/{invoiceId}/lines" : {
      "post" : {
        "operationId" : "addLine",
        "parameters" : [ {
          "in" : "path",
          "name" : "invoiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/LineRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/invoices/{invoiceId}/void" : {
      "post" : {
        "operationId" : "voidInvoice",
        "parameters" : [ {
          "in" : "path",
          "name" : "invoiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ReasonRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/payments" : {
      "get" : {
        "operationId" : "payments_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      },
      "post" : {
        "operationId" : "recordPayment",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PaymentRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/payments/reported" : {
      "get" : {
        "operationId" : "reportedPayments",
        "parameters" : [ {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/payments/{paymentId}/apply" : {
      "post" : {
        "operationId" : "apply",
        "parameters" : [ {
          "in" : "path",
          "name" : "paymentId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ApplyRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/payments/{paymentId}/confirm" : {
      "post" : {
        "operationId" : "confirmPayment",
        "parameters" : [ {
          "in" : "path",
          "name" : "paymentId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/payments/{paymentId}/void" : {
      "post" : {
        "operationId" : "voidPayment",
        "parameters" : [ {
          "in" : "path",
          "name" : "paymentId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ReasonRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/billing/receivables" : {
      "get" : {
        "operationId" : "receivables",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Facturación" ]
      }
    },
    "/v1/admin/bootstrap" : {
      "post" : {
        "operationId" : "bootstrap",
        "parameters" : [ {
          "in" : "header",
          "name" : "X-Admin-Token",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/BootstrapRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "testigoDeArranque" : [ ]
        } ],
        "tags" : [ "Administración · Seguridad" ]
      }
    },
    "/v1/admin/compute/nodes" : {
      "get" : {
        "operationId" : "nodes",
        "parameters" : [ {
          "in" : "query",
          "name" : "ownerOrgId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Cómputo" ]
      },
      "post" : {
        "operationId" : "createNode",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/NodeRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Cómputo" ]
      }
    },
    "/v1/admin/compute/nodes/{nodeId}" : {
      "patch" : {
        "operationId" : "updateNode",
        "parameters" : [ {
          "in" : "path",
          "name" : "nodeId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/NodeRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Cómputo" ]
      }
    },
    "/v1/admin/compute/nodes/{nodeId}/discovered" : {
      "get" : {
        "operationId" : "discovered",
        "parameters" : [ {
          "in" : "path",
          "name" : "nodeId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Cómputo" ]
      }
    },
    "/v1/admin/compute/nodes/{nodeId}/import" : {
      "post" : {
        "operationId" : "importModels",
        "parameters" : [ {
          "in" : "path",
          "name" : "nodeId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ImportRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Cómputo" ]
      }
    },
    "/v1/admin/compute/nodes/{nodeId}/probe" : {
      "post" : {
        "operationId" : "probe",
        "parameters" : [ {
          "in" : "path",
          "name" : "nodeId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Cómputo" ]
      }
    },
    "/v1/admin/integrations" : {
      "get" : {
        "operationId" : "list_16",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      }
    },
    "/v1/admin/integrations/calls" : {
      "get" : {
        "operationId" : "calls_3",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "integrationId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      }
    },
    "/v1/admin/integrations/credentials" : {
      "get" : {
        "operationId" : "providerCredentials",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      },
      "post" : {
        "operationId" : "putProviderCredential",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ProviderCredentialRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      }
    },
    "/v1/admin/integrations/credentials/{credentialRef}" : {
      "delete" : {
        "operationId" : "deleteProviderCredential",
        "parameters" : [ {
          "in" : "path",
          "name" : "credentialRef",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      }
    },
    "/v1/admin/integrations/egress" : {
      "get" : {
        "operationId" : "egress",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      },
      "post" : {
        "operationId" : "approve_1",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ApproveEgress"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      }
    },
    "/v1/admin/integrations/egress/{entryId}" : {
      "delete" : {
        "operationId" : "revoke_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "entryId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      }
    },
    "/v1/admin/integrations/{integrationId}" : {
      "get" : {
        "operationId" : "detail_4",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Integraciones" ]
      }
    },
    "/v1/admin/me" : {
      "get" : {
        "operationId" : "me_2",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Seguridad" ]
      }
    },
    "/v1/admin/models" : {
      "get" : {
        "operationId" : "all",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Modelos" ]
      },
      "post" : {
        "operationId" : "create_9",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ModelRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Modelos" ]
      }
    },
    "/v1/admin/models/{modelId}" : {
      "patch" : {
        "operationId" : "update_4",
        "parameters" : [ {
          "in" : "path",
          "name" : "modelId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ModelRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Modelos" ]
      }
    },
    "/v1/admin/organizations" : {
      "get" : {
        "operationId" : "organizations",
        "parameters" : [ {
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "plan",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "cursor",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "post" : {
        "operationId" : "createOrganization",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateOrganization"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/organizations/{orgId}" : {
      "get" : {
        "operationId" : "organization",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "patch" : {
        "operationId" : "updateOrganization",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/UpdateOrganization"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/organizations/{orgId}/summary" : {
      "get" : {
        "operationId" : "summary_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/organizations/{orgId}/users" : {
      "get" : {
        "operationId" : "list_11",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "post" : {
        "operationId" : "createOwner",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateOwner"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/organizations/{orgId}/users/{userId}/password-reset" : {
      "post" : {
        "operationId" : "rescue",
        "parameters" : [ {
          "in" : "path",
          "name" : "orgId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "userId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Rescue"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/playground/chat" : {
      "post" : {
        "operationId" : "chat_1",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ChatRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Agentes" ]
      }
    },
    "/v1/admin/playground/targets" : {
      "get" : {
        "operationId" : "targets_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Agentes" ]
      }
    },
    "/v1/admin/price-book" : {
      "get" : {
        "operationId" : "priceBook",
        "parameters" : [ {
          "in" : "query",
          "name" : "plan",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tokens y créditos" ]
      },
      "put" : {
        "operationId" : "setPrices",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PriceBookRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tokens y créditos" ]
      }
    },
    "/v1/admin/projects" : {
      "get" : {
        "operationId" : "projects",
        "parameters" : [ {
          "in" : "query",
          "name" : "organizationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "post" : {
        "operationId" : "createProject",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateProject"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/projects/{projectId}" : {
      "patch" : {
        "operationId" : "updateProject",
        "parameters" : [ {
          "in" : "path",
          "name" : "projectId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "organizationId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/UpdateProject"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/reports/export.csv" : {
      "get" : {
        "operationId" : "exportCsv_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "report",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "metric",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "text/csv" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Reportes" ]
      }
    },
    "/v1/admin/reports/nodes" : {
      "get" : {
        "operationId" : "nodes_1",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Reportes" ]
      }
    },
    "/v1/admin/reports/overview" : {
      "get" : {
        "operationId" : "overview",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Reportes" ]
      }
    },
    "/v1/admin/reports/runs" : {
      "get" : {
        "operationId" : "runs_3",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Reportes" ]
      }
    },
    "/v1/admin/reports/tenants" : {
      "get" : {
        "operationId" : "tenants",
        "parameters" : [ {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Reportes" ]
      }
    },
    "/v1/admin/reports/usage-series" : {
      "get" : {
        "operationId" : "usageSeries",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "metric",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Reportes" ]
      }
    },
    "/v1/admin/runs" : {
      "get" : {
        "operationId" : "runs_2",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Agentes" ]
      }
    },
    "/v1/admin/runs/{runId}" : {
      "get" : {
        "operationId" : "run_4",
        "parameters" : [ {
          "in" : "path",
          "name" : "runId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Agentes" ]
      }
    },
    "/v1/admin/security/checks" : {
      "get" : {
        "operationId" : "checks",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Seguridad" ]
      }
    },
    "/v1/admin/session" : {
      "delete" : {
        "operationId" : "logout_1",
        "parameters" : [ {
          "in" : "header",
          "name" : "X-Admin-Session",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ ],
        "tags" : [ "Administración · Seguridad" ]
      },
      "post" : {
        "operationId" : "login_1",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/LoginRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ ],
        "tags" : [ "Administración · Seguridad" ]
      }
    },
    "/v1/admin/usage" : {
      "get" : {
        "operationId" : "usage_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "groupBy",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tokens y créditos" ]
      }
    },
    "/v1/admin/usage/export.csv" : {
      "get" : {
        "operationId" : "exportCsv",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "metric",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "text/csv" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tokens y créditos" ]
      }
    },
    "/v1/admin/users" : {
      "get" : {
        "operationId" : "list_10",
        "parameters" : [ {
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "size",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Seguridad" ]
      },
      "post" : {
        "operationId" : "create_8",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateUser"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Seguridad" ]
      }
    },
    "/v1/admin/users/{userId}" : {
      "patch" : {
        "operationId" : "setStatus",
        "parameters" : [ {
          "in" : "path",
          "name" : "userId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/UpdateUser"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Seguridad" ]
      }
    },
    "/v1/admin/voices" : {
      "get" : {
        "operationId" : "list_15",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Voz" ]
      }
    },
    "/v1/admin/voices/default" : {
      "put" : {
        "operationId" : "setDefault",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/DefaultVoiceRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Voz" ]
      }
    },
    "/v1/admin/workspaces" : {
      "get" : {
        "operationId" : "workspaces",
        "parameters" : [ {
          "in" : "query",
          "name" : "organizationId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "post" : {
        "operationId" : "createWorkspace",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateWorkspace"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}" : {
      "get" : {
        "operationId" : "workspace",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "patch" : {
        "operationId" : "updateWorkspace",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/UpdateWorkspace"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/agents" : {
      "put" : {
        "operationId" : "setAgentGrants",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/AgentGrantRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/api-keys" : {
      "get" : {
        "operationId" : "list_14",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/authorizations" : {
      "get" : {
        "operationId" : "adminList",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "post" : {
        "operationId" : "adminGrant",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Grant"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/authorizations/{id}" : {
      "delete" : {
        "operationId" : "adminRevoke",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/authorizations/{id}/uses" : {
      "get" : {
        "operationId" : "adminUses",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/compute" : {
      "get" : {
        "operationId" : "assignment",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "put" : {
        "operationId" : "assign",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/AssignmentRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/compute/eligibility" : {
      "get" : {
        "operationId" : "eligibility",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "modelSlug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/connectors/{slug}/install" : {
      "post" : {
        "operationId" : "install_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Install"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/credits" : {
      "get" : {
        "operationId" : "balance",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "post" : {
        "operationId" : "move",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreditMovement"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/credits/movements" : {
      "get" : {
        "operationId" : "movements",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "before",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/models" : {
      "get" : {
        "operationId" : "granted",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "put" : {
        "operationId" : "setGrants",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/GrantRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/quota" : {
      "get" : {
        "operationId" : "quota",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      },
      "put" : {
        "operationId" : "updateQuota",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/QuotaRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/admin/workspaces/{workspaceId}/workforce/provision" : {
      "post" : {
        "operationId" : "provision_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "workspaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Provision"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeAdministracion" : [ ]
        } ],
        "tags" : [ "Administración · Tenants" ]
      }
    },
    "/v1/agents" : {
      "get" : {
        "operationId" : "list_13",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Agentes" ]
      }
    },
    "/v1/agents/runs/recent" : {
      "get" : {
        "operationId" : "recentRuns",
        "parameters" : [ {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Agentes" ]
      }
    },
    "/v1/agents/runs/{runId}" : {
      "get" : {
        "operationId" : "getRun",
        "parameters" : [ {
          "in" : "path",
          "name" : "runId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "$ref" : "#/components/schemas/RunResult"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Agentes" ]
      }
    },
    "/v1/agents/{slug}/runs" : {
      "post" : {
        "operationId" : "run_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RunRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Agentes" ]
      }
    },
    "/v1/api-keys" : {
      "get" : {
        "operationId" : "listKeys_1",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Identidad" ]
      }
    },
    "/v1/audio/speech" : {
      "post" : {
        "operationId" : "speech",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SpeechRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              },
              "audio/L16" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              },
              "audio/l16" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              },
              "audio/wav" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Voz" ]
      }
    },
    "/v1/audio/speech/stream" : {
      "post" : {
        "operationId" : "speechStream",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SpeechRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "audio/wav" : {
                "schema" : {
                  "$ref" : "#/components/schemas/StreamingResponseBody"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Voz" ]
      }
    },
    "/v1/chat/completions" : {
      "post" : {
        "operationId" : "chatCompletions",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ChatCompletionRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Inferencia" ]
      }
    },
    "/v1/console/agents" : {
      "get" : {
        "operationId" : "list_9",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      },
      "post" : {
        "operationId" : "create_7",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateAgent"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/agents/{slug}" : {
      "patch" : {
        "operationId" : "patch_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PatchAgent"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/agents/{slug}/runs" : {
      "get" : {
        "operationId" : "runs_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/agents/{slug}/runs/{runId}" : {
      "get" : {
        "operationId" : "run_3",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "path",
          "name" : "runId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/api-keys" : {
      "get" : {
        "operationId" : "listKeys",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      },
      "post" : {
        "operationId" : "createKey",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateApiKey"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      }
    },
    "/v1/console/api-keys/{apiKeyId}" : {
      "delete" : {
        "operationId" : "revokeKey",
        "parameters" : [ {
          "in" : "path",
          "name" : "apiKeyId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      }
    },
    "/v1/console/assistant" : {
      "delete" : {
        "operationId" : "disconnect",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Asistente" ]
      },
      "get" : {
        "operationId" : "status_2",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Asistente" ]
      },
      "patch" : {
        "operationId" : "configure",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ConfigureRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Asistente" ]
      },
      "post" : {
        "operationId" : "connect_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ConnectRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Asistente" ]
      }
    },
    "/v1/console/assistant/invite" : {
      "post" : {
        "operationId" : "invite_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Asistente" ]
      }
    },
    "/v1/console/assistant/links" : {
      "get" : {
        "operationId" : "links",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Asistente" ]
      }
    },
    "/v1/console/assistant/links/{linkId}" : {
      "delete" : {
        "operationId" : "revoke_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "linkId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Asistente" ]
      }
    },
    "/v1/console/assistant/test" : {
      "post" : {
        "operationId" : "test_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Asistente" ]
      }
    },
    "/v1/console/authorizations" : {
      "get" : {
        "operationId" : "list_8",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      },
      "post" : {
        "operationId" : "grant",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Grant"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/authorizations/{id}" : {
      "delete" : {
        "operationId" : "revoke",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/billing" : {
      "get" : {
        "operationId" : "statement",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/billing/account" : {
      "put" : {
        "operationId" : "saveFiscalDetails",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/FiscalDetails"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/billing/invoices" : {
      "get" : {
        "operationId" : "invoices_2",
        "parameters" : [ {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 50
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/billing/invoices/{invoiceId}" : {
      "get" : {
        "operationId" : "invoice_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "invoiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/billing/payments" : {
      "get" : {
        "operationId" : "payments",
        "parameters" : [ {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 50
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      },
      "post" : {
        "operationId" : "reportPayment",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ReportPayment"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/billing/plans" : {
      "get" : {
        "operationId" : "plans",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/billing/summary" : {
      "get" : {
        "operationId" : "summary_1",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/codespaces" : {
      "get" : {
        "operationId" : "list_7",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Espacio de código" ]
      },
      "post" : {
        "operationId" : "create_6",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Espacio de código" ]
      }
    },
    "/v1/console/codespaces/{codespaceId}" : {
      "delete" : {
        "operationId" : "delete_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "codespaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Espacio de código" ]
      },
      "put" : {
        "operationId" : "update",
        "parameters" : [ {
          "in" : "path",
          "name" : "codespaceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Espacio de código" ]
      }
    },
    "/v1/console/connections" : {
      "get" : {
        "operationId" : "connections",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "days",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      },
      "post" : {
        "operationId" : "connect",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateConnection"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      }
    },
    "/v1/console/connections/targets" : {
      "get" : {
        "operationId" : "targets",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      }
    },
    "/v1/console/connectors" : {
      "get" : {
        "operationId" : "catalog_2",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/connectors/{slug}/install" : {
      "post" : {
        "operationId" : "install",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/InstallRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/conversations" : {
      "get" : {
        "operationId" : "list_6",
        "parameters" : [ {
          "in" : "query",
          "name" : "scope",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "before",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conversaciones" ]
      },
      "post" : {
        "operationId" : "open",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/OpenConversation"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conversaciones" ]
      }
    },
    "/v1/console/conversations/{conversationId}" : {
      "delete" : {
        "operationId" : "delete_4",
        "parameters" : [ {
          "in" : "path",
          "name" : "conversationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conversaciones" ]
      },
      "get" : {
        "operationId" : "detail_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "conversationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "turns",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conversaciones" ]
      },
      "patch" : {
        "operationId" : "patch_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "conversationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PatchConversation"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conversaciones" ]
      }
    },
    "/v1/console/conversations/{conversationId}/turns" : {
      "post" : {
        "operationId" : "speak",
        "parameters" : [ {
          "in" : "path",
          "name" : "conversationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/TurnRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "application/x-ndjson" : {
                "schema" : {
                  "$ref" : "#/components/schemas/StreamingResponseBody"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conversaciones" ]
      }
    },
    "/v1/console/dueno/items" : {
      "get" : {
        "operationId" : "items",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/dueno/items/{itemId}/answer" : {
      "post" : {
        "operationId" : "answer_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "itemId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/AnswerRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/dueno/items/{itemId}/dismiss" : {
      "post" : {
        "operationId" : "dismiss",
        "parameters" : [ {
          "in" : "path",
          "name" : "itemId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/dueno/pending-count" : {
      "get" : {
        "operationId" : "pendingCount",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/features" : {
      "get" : {
        "operationId" : "features",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sesión" ]
      }
    },
    "/v1/console/flows" : {
      "get" : {
        "operationId" : "list_5",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      },
      "post" : {
        "operationId" : "create_5",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateFlow"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/approvals" : {
      "get" : {
        "operationId" : "approvals",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/{slug}" : {
      "get" : {
        "operationId" : "detail_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      },
      "patch" : {
        "operationId" : "patch",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PatchFlow"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/{slug}/dry-run" : {
      "post" : {
        "operationId" : "dryRun",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RunRequest"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/{slug}/runs" : {
      "get" : {
        "operationId" : "runs",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      },
      "post" : {
        "operationId" : "run_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Payload"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/{slug}/runs/{runId}" : {
      "get" : {
        "operationId" : "runDetail_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "path",
          "name" : "runId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/{slug}/runs/{runId}/approval" : {
      "post" : {
        "operationId" : "resolve",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "path",
          "name" : "runId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ResolveApproval"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/{slug}/runs/{runId}/resume" : {
      "post" : {
        "operationId" : "resume_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "path",
          "name" : "runId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/{slug}/versions" : {
      "get" : {
        "operationId" : "versions",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      },
      "post" : {
        "operationId" : "publish_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PublishVersion"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/flows/{slug}/versions/{version}" : {
      "get" : {
        "operationId" : "version_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "path",
          "name" : "version",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Flujos" ]
      }
    },
    "/v1/console/home" : {
      "get" : {
        "operationId" : "home",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/home/intent" : {
      "post" : {
        "operationId" : "intent",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/IntentRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/gallery" : {
      "get" : {
        "operationId" : "gallery",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "scope",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "author",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "search",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "sort",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "offset",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/gallery/agents" : {
      "get" : {
        "operationId" : "galleryAgents",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/gallery/stats" : {
      "get" : {
        "operationId" : "stats_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/gallery/{jobId}" : {
      "delete" : {
        "operationId" : "delete_7",
        "parameters" : [ {
          "in" : "path",
          "name" : "jobId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/gallery/{jobId}/favorite" : {
      "put" : {
        "operationId" : "favorite_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "jobId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/FavoriteRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/gallery/{jobId}/regenerate" : {
      "post" : {
        "operationId" : "regenerate",
        "parameters" : [ {
          "in" : "path",
          "name" : "jobId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RegenerateRequest"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/improve-prompt" : {
      "post" : {
        "operationId" : "improvePrompt",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ImprovePromptRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/jobs" : {
      "post" : {
        "operationId" : "create_4",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/jobs/{id}" : {
      "get" : {
        "operationId" : "status_3",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/imagegen/prompt-history" : {
      "get" : {
        "operationId" : "promptHistory",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/integrations" : {
      "get" : {
        "operationId" : "list_4",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      },
      "post" : {
        "operationId" : "create_3",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateIntegration"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/egress" : {
      "get" : {
        "operationId" : "egress_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/endpoints/{endpointId}" : {
      "delete" : {
        "operationId" : "deleteEndpoint",
        "parameters" : [ {
          "in" : "path",
          "name" : "endpointId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      },
      "patch" : {
        "operationId" : "updateEndpoint",
        "parameters" : [ {
          "in" : "path",
          "name" : "endpointId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/UpdateEndpoint"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/endpoints/{endpointId}/status" : {
      "put" : {
        "operationId" : "endpointStatus",
        "parameters" : [ {
          "in" : "path",
          "name" : "endpointId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/StatusRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/oauth/callback" : {
      "get" : {
        "operationId" : "oauthCallback",
        "parameters" : [ {
          "in" : "query",
          "name" : "code",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "state",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "error",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}" : {
      "delete" : {
        "operationId" : "delete_3",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      },
      "get" : {
        "operationId" : "detail",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      },
      "patch" : {
        "operationId" : "update_3",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/UpdateIntegration"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}/calls" : {
      "get" : {
        "operationId" : "calls_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}/credential" : {
      "delete" : {
        "operationId" : "deleteCredential",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      },
      "put" : {
        "operationId" : "putCredential",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CredentialRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}/endpoints" : {
      "get" : {
        "operationId" : "endpoints",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      },
      "post" : {
        "operationId" : "createEndpoint",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateEndpoint"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}/oauth" : {
      "delete" : {
        "operationId" : "oauthDisconnect",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      },
      "get" : {
        "operationId" : "oauthGrant",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}/oauth/app" : {
      "put" : {
        "operationId" : "putOauthApp",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/OauthAppRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}/oauth/begin" : {
      "post" : {
        "operationId" : "oauthBegin",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/OauthBeginRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}/status" : {
      "put" : {
        "operationId" : "status",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/StatusRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/integrations/{integrationId}/test" : {
      "post" : {
        "operationId" : "test",
        "parameters" : [ {
          "in" : "path",
          "name" : "integrationId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Integraciones" ]
      }
    },
    "/v1/console/invoices" : {
      "get" : {
        "operationId" : "invoices_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/invoices/{invoiceId}" : {
      "get" : {
        "operationId" : "invoice",
        "parameters" : [ {
          "in" : "path",
          "name" : "invoiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Facturación" ]
      }
    },
    "/v1/console/ivr" : {
      "get" : {
        "operationId" : "list_3",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      },
      "post" : {
        "operationId" : "create_2",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/ivr/calls/{callId}/turn" : {
      "post" : {
        "operationId" : "turn_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "callId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/TurnRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/ivr/telephony/hooks" : {
      "get" : {
        "operationId" : "hooks",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/ivr/telephony/hooks/{hookId}" : {
      "delete" : {
        "operationId" : "deleteHook",
        "parameters" : [ {
          "in" : "path",
          "name" : "hookId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/ivr/templates" : {
      "get" : {
        "operationId" : "templates_1",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/ivr/{ivrId}" : {
      "delete" : {
        "operationId" : "delete",
        "parameters" : [ {
          "in" : "path",
          "name" : "ivrId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      },
      "get" : {
        "operationId" : "get",
        "parameters" : [ {
          "in" : "path",
          "name" : "ivrId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      },
      "put" : {
        "operationId" : "save",
        "parameters" : [ {
          "in" : "path",
          "name" : "ivrId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/ivr/{ivrId}/calls" : {
      "get" : {
        "operationId" : "calls",
        "parameters" : [ {
          "in" : "path",
          "name" : "ivrId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      },
      "post" : {
        "operationId" : "startCall",
        "parameters" : [ {
          "in" : "path",
          "name" : "ivrId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/StartRequest"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/ivr/{ivrId}/publish" : {
      "post" : {
        "operationId" : "publish",
        "parameters" : [ {
          "in" : "path",
          "name" : "ivrId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/ivr/{ivrId}/telephony" : {
      "post" : {
        "operationId" : "issueHook",
        "parameters" : [ {
          "in" : "path",
          "name" : "ivrId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/HookRequest"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/knowledge" : {
      "get" : {
        "operationId" : "bases",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conocimiento" ]
      },
      "post" : {
        "operationId" : "createBase_1",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateBase"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conocimiento" ]
      }
    },
    "/v1/console/knowledge/{kbId}/documents" : {
      "get" : {
        "operationId" : "documents",
        "parameters" : [ {
          "in" : "path",
          "name" : "kbId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conocimiento" ]
      },
      "post" : {
        "operationId" : "upload_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "kbId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "title",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "source",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "expiresAt",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "type" : "object",
                "properties" : {
                  "file" : {
                    "type" : "string",
                    "format" : "binary"
                  }
                },
                "required" : [ "file" ]
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conocimiento" ]
      }
    },
    "/v1/console/knowledge/{kbId}/documents/{documentId}" : {
      "delete" : {
        "operationId" : "deleteDocument",
        "parameters" : [ {
          "in" : "path",
          "name" : "kbId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "documentId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conocimiento" ]
      }
    },
    "/v1/console/knowledge/{kbId}/search" : {
      "post" : {
        "operationId" : "search_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "kbId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SearchRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Conocimiento" ]
      }
    },
    "/v1/console/me" : {
      "get" : {
        "operationId" : "me_1",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sesión" ]
      }
    },
    "/v1/console/me/password" : {
      "put" : {
        "operationId" : "changePassword",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PasswordRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sesión" ]
      }
    },
    "/v1/console/models" : {
      "get" : {
        "operationId" : "models",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      }
    },
    "/v1/console/office" : {
      "get" : {
        "operationId" : "office",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/office/floor" : {
      "get" : {
        "operationId" : "floor",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      },
      "put" : {
        "operationId" : "saveFloor",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/JsonNode"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/office/summary" : {
      "get" : {
        "operationId" : "summary",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/office/timeline" : {
      "get" : {
        "operationId" : "timeline",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "since",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "window",
          "required" : false,
          "schema" : {
            "type" : "string",
            "default" : "today"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 60
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/password/forgot" : {
      "post" : {
        "operationId" : "forgot",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ForgotRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sesión" ]
      }
    },
    "/v1/console/password/reset" : {
      "post" : {
        "operationId" : "reset",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ResetRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sesión" ]
      }
    },
    "/v1/console/quota" : {
      "get" : {
        "operationId" : "quota_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      }
    },
    "/v1/console/roles" : {
      "get" : {
        "operationId" : "roles",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Personas" ]
      }
    },
    "/v1/console/rounds" : {
      "get" : {
        "operationId" : "recent_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/rounds/settings" : {
      "get" : {
        "operationId" : "settings_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      },
      "put" : {
        "operationId" : "updateSettings",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SettingsRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Sin clasificar" ]
      }
    },
    "/v1/console/sandbox" : {
      "post" : {
        "operationId" : "sandbox",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SandboxRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/schedules" : {
      "get" : {
        "operationId" : "schedules",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Tareas" ]
      },
      "post" : {
        "operationId" : "schedule",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/NewScheduleRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Tareas" ]
      }
    },
    "/v1/console/schedules/{scheduleId}" : {
      "delete" : {
        "operationId" : "delete_6",
        "parameters" : [ {
          "in" : "path",
          "name" : "scheduleId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Tareas" ]
      }
    },
    "/v1/console/schedules/{scheduleId}/enabled" : {
      "post" : {
        "operationId" : "setEnabled",
        "parameters" : [ {
          "in" : "path",
          "name" : "scheduleId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/EnabledRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Tareas" ]
      }
    },
    "/v1/console/session" : {
      "delete" : {
        "operationId" : "logout",
        "parameters" : [ {
          "in" : "header",
          "name" : "X-Console-Session",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ ],
        "tags" : [ "Consola · Sesión" ]
      },
      "post" : {
        "operationId" : "login",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/LoginRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ ],
        "tags" : [ "Consola · Sesión" ]
      }
    },
    "/v1/console/skills" : {
      "get" : {
        "operationId" : "list_2",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "archived",
          "required" : false,
          "schema" : {
            "type" : "boolean"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      },
      "post" : {
        "operationId" : "create_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SkillRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/skills/proposals" : {
      "get" : {
        "operationId" : "proposals",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "status",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/skills/proposals/{proposalId}/approve" : {
      "post" : {
        "operationId" : "approve",
        "parameters" : [ {
          "in" : "path",
          "name" : "proposalId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ProposalEdits"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/skills/proposals/{proposalId}/reject" : {
      "post" : {
        "operationId" : "reject",
        "parameters" : [ {
          "in" : "path",
          "name" : "proposalId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RejectRequest"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/skills/{skillId}" : {
      "delete" : {
        "operationId" : "delete_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "skillId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      },
      "patch" : {
        "operationId" : "update_2",
        "parameters" : [ {
          "in" : "path",
          "name" : "skillId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SkillRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/skills/{skillId}/openers" : {
      "get" : {
        "operationId" : "openers",
        "parameters" : [ {
          "in" : "path",
          "name" : "skillId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/skills/{skillId}/versions" : {
      "get" : {
        "operationId" : "versions_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "skillId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/skills/{skillId}/versions/{versionNumber}/restore" : {
      "post" : {
        "operationId" : "restore_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "skillId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "versionNumber",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Agentes" ]
      }
    },
    "/v1/console/studio/assets" : {
      "get" : {
        "operationId" : "assets",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "kind",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      },
      "post" : {
        "operationId" : "upload_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "kind",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "name",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "description",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "type" : "object",
                "properties" : {
                  "file" : {
                    "type" : "string",
                    "format" : "binary"
                  }
                },
                "required" : [ "file" ]
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/assets/{assetId}" : {
      "delete" : {
        "operationId" : "deleteAsset",
        "parameters" : [ {
          "in" : "path",
          "name" : "assetId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/assets/{assetId}/file" : {
      "get" : {
        "operationId" : "assetFile",
        "parameters" : [ {
          "in" : "path",
          "name" : "assetId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "header",
          "name" : "Range",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/brand" : {
      "get" : {
        "operationId" : "brand",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      },
      "put" : {
        "operationId" : "saveBrand",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/BrandRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/brand/preview" : {
      "post" : {
        "operationId" : "previewBrand",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PreviewRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "image/jpeg" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/brand/propose" : {
      "post" : {
        "operationId" : "proposeBrand",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ProposeRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/brand/restore" : {
      "post" : {
        "operationId" : "restoreBrand",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RenderRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/catalog" : {
      "get" : {
        "operationId" : "catalog_1",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects" : {
      "get" : {
        "operationId" : "list_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "q",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      },
      "post" : {
        "operationId" : "create",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}" : {
      "delete" : {
        "operationId" : "delete_5",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      },
      "get" : {
        "operationId" : "detail_3",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/favorite" : {
      "put" : {
        "operationId" : "favorite",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/FavoriteRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/render" : {
      "post" : {
        "operationId" : "render",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RenderRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/restore" : {
      "post" : {
        "operationId" : "restore",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RenderRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/revise" : {
      "post" : {
        "operationId" : "revise",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ReviseRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/scenes" : {
      "post" : {
        "operationId" : "addScene",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SceneAddRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/scenes/reorder" : {
      "patch" : {
        "operationId" : "reorderScenes",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ReorderRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/scenes/{index}" : {
      "delete" : {
        "operationId" : "deleteScene",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "index",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      },
      "patch" : {
        "operationId" : "editScene",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "index",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SceneEditRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/scenes/{index}/regenerate-image" : {
      "post" : {
        "operationId" : "regenerateSceneImage",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "index",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RenderRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/scenes/{index}/regenerate-voice" : {
      "post" : {
        "operationId" : "regenerateSceneVoice",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "index",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RenderRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/script" : {
      "put" : {
        "operationId" : "saveScript",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ScriptRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/projects/{id}/settings" : {
      "put" : {
        "operationId" : "settings",
        "parameters" : [ {
          "in" : "path",
          "name" : "id",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SettingsRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/renders/{renderId}/frames/{index}" : {
      "get" : {
        "operationId" : "frame",
        "parameters" : [ {
          "in" : "path",
          "name" : "renderId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "path",
          "name" : "index",
          "required" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/renders/{renderId}/poster" : {
      "get" : {
        "operationId" : "poster",
        "parameters" : [ {
          "in" : "path",
          "name" : "renderId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/renders/{renderId}/share" : {
      "post" : {
        "operationId" : "share",
        "parameters" : [ {
          "in" : "path",
          "name" : "renderId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ShareRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/renders/{renderId}/thumbnail" : {
      "get" : {
        "operationId" : "thumbnail",
        "parameters" : [ {
          "in" : "path",
          "name" : "renderId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/renders/{renderId}/video" : {
      "get" : {
        "operationId" : "video_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "renderId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "header",
          "name" : "Range",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/stats" : {
      "get" : {
        "operationId" : "stats",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/suggestions" : {
      "get" : {
        "operationId" : "suggestions",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/studio/voices" : {
      "get" : {
        "operationId" : "voices",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Estudio de vídeo" ]
      }
    },
    "/v1/console/tasks" : {
      "get" : {
        "operationId" : "tasks",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 50
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Tareas" ]
      },
      "post" : {
        "operationId" : "enqueue",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/NewTaskRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Tareas" ]
      }
    },
    "/v1/console/tasks/{taskId}" : {
      "get" : {
        "operationId" : "task",
        "parameters" : [ {
          "in" : "path",
          "name" : "taskId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Tareas" ]
      }
    },
    "/v1/console/tasks/{taskId}/cancel" : {
      "post" : {
        "operationId" : "cancel",
        "parameters" : [ {
          "in" : "path",
          "name" : "taskId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Tareas" ]
      }
    },
    "/v1/console/usage" : {
      "get" : {
        "operationId" : "usage",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "from",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "to",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "groupBy",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Claves y consumo" ]
      }
    },
    "/v1/console/users" : {
      "get" : {
        "operationId" : "list",
        "parameters" : [ {
          "in" : "query",
          "name" : "page",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        }, {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Personas" ]
      },
      "post" : {
        "operationId" : "invite",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/InviteUser"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Personas" ]
      }
    },
    "/v1/console/users/{userId}" : {
      "patch" : {
        "operationId" : "update_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "userId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/UpdateUser"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Personas" ]
      }
    },
    "/v1/console/users/{userId}/password-reset" : {
      "post" : {
        "operationId" : "resetPassword",
        "parameters" : [ {
          "in" : "path",
          "name" : "userId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Personas" ]
      }
    },
    "/v1/console/voices" : {
      "get" : {
        "operationId" : "mine",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      },
      "post" : {
        "operationId" : "record",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "name",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "referenceText",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "language",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "consent",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "type" : "object",
                "properties" : {
                  "file" : {
                    "type" : "string",
                    "format" : "binary"
                  }
                },
                "required" : [ "file" ]
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/voices/all" : {
      "get" : {
        "operationId" : "all_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/voices/catalog" : {
      "get" : {
        "operationId" : "catalog",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/voices/designed" : {
      "post" : {
        "operationId" : "designed",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/DesignRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/voices/preset" : {
      "post" : {
        "operationId" : "preset",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PresetRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/voices/{voiceId}" : {
      "delete" : {
        "operationId" : "erase",
        "parameters" : [ {
          "in" : "path",
          "name" : "voiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/voices/{voiceId}/preview" : {
      "post" : {
        "operationId" : "preview",
        "parameters" : [ {
          "in" : "path",
          "name" : "voiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/PreviewRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "audio/wav" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/voices/{voiceId}/visibility" : {
      "put" : {
        "operationId" : "visibility",
        "parameters" : [ {
          "in" : "path",
          "name" : "voiceId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/VisibilityRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Voz" ]
      }
    },
    "/v1/console/workforce/provision" : {
      "post" : {
        "operationId" : "provision",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/ProvisionRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Mi empresa" ]
      }
    },
    "/v1/console/workforce/staff" : {
      "get" : {
        "operationId" : "staff",
        "parameters" : [ {
          "in" : "query",
          "name" : "workspaceId",
          "required" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Mi empresa" ]
      }
    },
    "/v1/console/workforce/templates" : {
      "get" : {
        "operationId" : "templates",
        "parameters" : [ {
          "in" : "query",
          "name" : "kind",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "security" : [ {
          "sesionDeConsola" : [ ]
        } ],
        "tags" : [ "Consola · Mi empresa" ]
      }
    },
    "/v1/flows/runs/recent" : {
      "get" : {
        "operationId" : "recent",
        "parameters" : [ {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Flujos" ]
      }
    },
    "/v1/flows/runs/{runId}" : {
      "get" : {
        "operationId" : "runDetail",
        "parameters" : [ {
          "in" : "path",
          "name" : "runId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Flujos" ]
      }
    },
    "/v1/flows/runs/{runId}/resume" : {
      "post" : {
        "operationId" : "resume",
        "parameters" : [ {
          "in" : "path",
          "name" : "runId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Flujos" ]
      }
    },
    "/v1/flows/{slug}/runs" : {
      "post" : {
        "operationId" : "run",
        "parameters" : [ {
          "in" : "path",
          "name" : "slug",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/RunRequest"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Flujos" ]
      }
    },
    "/v1/knowledge/bases" : {
      "post" : {
        "operationId" : "createBase",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CreateBase"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Conocimiento" ]
      }
    },
    "/v1/knowledge/{kbId}/documents" : {
      "get" : {
        "operationId" : "listDocuments",
        "parameters" : [ {
          "in" : "path",
          "name" : "kbId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Conocimiento" ]
      },
      "post" : {
        "operationId" : "upload",
        "parameters" : [ {
          "in" : "path",
          "name" : "kbId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "title",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "source",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "expires_at",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "type" : "object",
                "properties" : {
                  "file" : {
                    "type" : "string",
                    "format" : "binary"
                  }
                },
                "required" : [ "file" ]
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Conocimiento" ]
      }
    },
    "/v1/knowledge/{kbId}/search" : {
      "post" : {
        "operationId" : "search",
        "parameters" : [ {
          "in" : "path",
          "name" : "kbId",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/SearchRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Conocimiento" ]
      }
    },
    "/v1/mcp" : {
      "post" : {
        "operationId" : "rpc",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/JsonNode"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "MCP" ]
      }
    },
    "/v1/mcp/calls" : {
      "get" : {
        "operationId" : "calls_1",
        "parameters" : [ {
          "in" : "query",
          "name" : "limit",
          "required" : false,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 30
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "MCP" ]
      }
    },
    "/v1/mcp/servers" : {
      "get" : {
        "operationId" : "servers",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "MCP" ]
      }
    },
    "/v1/me" : {
      "get" : {
        "operationId" : "me",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Identidad" ]
      }
    },
    "/v1/messages" : {
      "post" : {
        "operationId" : "messages",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/JsonNode"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/StreamingResponseBody"
                }
              },
              "text/event-stream" : {
                "schema" : {
                  "$ref" : "#/components/schemas/StreamingResponseBody"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Identidad" ]
      }
    },
    "/v1/messages/count_tokens" : {
      "post" : {
        "operationId" : "countTokens",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/JsonNode"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Identidad" ]
      }
    },
    "/v1/models" : {
      "get" : {
        "operationId" : "listModels",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Inferencia" ]
      }
    },
    "/v1/ollama/api/chat" : {
      "post" : {
        "operationId" : "chat",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/JsonNode"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/StreamingResponseBody"
                }
              },
              "application/x-ndjson" : {
                "schema" : {
                  "$ref" : "#/components/schemas/StreamingResponseBody"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Compatibilidad · Ollama" ]
      }
    },
    "/v1/ollama/api/generate" : {
      "post" : {
        "operationId" : "generate",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/JsonNode"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Compatibilidad · Ollama" ]
      }
    },
    "/v1/ollama/api/tags" : {
      "get" : {
        "operationId" : "tags",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Compatibilidad · Ollama" ]
      }
    },
    "/v1/ollama/api/version" : {
      "get" : {
        "operationId" : "version",
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : { }
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Compatibilidad · Ollama" ]
      }
    },
    "/v1/studio/share/{token}.mp4" : {
      "get" : {
        "operationId" : "video",
        "parameters" : [ {
          "in" : "path",
          "name" : "token",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "header",
          "name" : "Range",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "string",
                  "format" : "byte"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Estudio de vídeo" ]
      }
    },
    "/v1/telephony/audio/{token}.wav" : {
      "get" : {
        "operationId" : "audio",
        "parameters" : [ {
          "in" : "path",
          "name" : "token",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "audio/wav" : {
                "schema" : {
                  "$ref" : "#/components/schemas/StreamingResponseBody"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Telefonía" ]
      }
    },
    "/v1/telephony/{provider}/{secret}/status" : {
      "post" : {
        "operationId" : "status_1",
        "parameters" : [ {
          "in" : "path",
          "name" : "provider",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "path",
          "name" : "secret",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "call",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "CallStatus",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "tags" : [ "Telefonía" ]
      }
    },
    "/v1/telephony/{provider}/{secret}/turn" : {
      "post" : {
        "operationId" : "turn",
        "parameters" : [ {
          "in" : "path",
          "name" : "provider",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "path",
          "name" : "secret",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "call",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        }, {
          "in" : "query",
          "name" : "SpeechResult",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "Digits",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/xml" : {
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Telefonía" ]
      }
    },
    "/v1/telephony/{provider}/{secret}/voice" : {
      "post" : {
        "operationId" : "answer",
        "parameters" : [ {
          "in" : "path",
          "name" : "provider",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "path",
          "name" : "secret",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "in" : "query",
          "name" : "From",
          "required" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "content" : {
              "application/xml" : {
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "description" : "OK"
          }
        },
        "tags" : [ "Telefonía" ]
      }
    }
  },
  "components" : {
    "schemas" : {
      "AccountRequest" : {
        "type" : "object",
        "properties" : {
          "address" : {
            "type" : "string"
          },
          "billingMode" : {
            "type" : "string"
          },
          "creditLimit" : {
            "type" : "number"
          },
          "creditPrice" : {
            "type" : "number"
          },
          "currency" : {
            "type" : "string"
          },
          "email" : {
            "type" : "string"
          },
          "graceDays" : {
            "type" : "integer",
            "format" : "int32"
          },
          "holdReason" : {
            "type" : "string"
          },
          "includedCredits" : {
            "type" : "integer",
            "format" : "int64"
          },
          "legalName" : {
            "type" : "string"
          },
          "monthlyFee" : {
            "type" : "number"
          },
          "notes" : {
            "type" : "string"
          },
          "paymentTermsDays" : {
            "type" : "integer",
            "format" : "int32"
          },
          "planCode" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          },
          "taxId" : {
            "type" : "string"
          },
          "taxRate" : {
            "type" : "number"
          }
        }
      },
      "AgentGrantRequest" : {
        "type" : "object",
        "properties" : {
          "agentIds" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "format" : "uuid"
            }
          }
        }
      },
      "AnswerRequest" : {
        "type" : "object",
        "properties" : {
          "answer" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "answer" ]
      },
      "ApplyRequest" : {
        "type" : "object",
        "properties" : {
          "amount" : {
            "type" : "number"
          },
          "invoiceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "amount", "invoiceId" ]
      },
      "ApproveEgress" : {
        "type" : "object",
        "properties" : {
          "host" : {
            "type" : "string",
            "minLength" : 1
          },
          "notes" : {
            "type" : "string"
          },
          "port" : {
            "type" : "integer",
            "format" : "int32"
          },
          "protocol" : {
            "type" : "string"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "host", "workspaceId" ]
      },
      "AssignmentRequest" : {
        "type" : "object",
        "properties" : {
          "computePool" : {
            "type" : "string"
          },
          "dedicatedNodeId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "maxConcurrentRequests" : {
            "type" : "integer",
            "format" : "int32"
          },
          "priority" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "BootstrapRequest" : {
        "type" : "object",
        "properties" : {
          "email" : {
            "type" : "string",
            "minLength" : 1
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "password" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "email", "name", "password" ]
      },
      "BrandRequest" : {
        "type" : "object",
        "properties" : {
          "document" : {
            "type" : "string"
          },
          "note" : {
            "type" : "string"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "ChatCompletionRequest" : {
        "type" : "object",
        "properties" : {
          "max_tokens" : {
            "type" : "integer",
            "format" : "int32"
          },
          "messages" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/ChatMessage"
            },
            "minItems" : 1
          },
          "model" : {
            "type" : "string",
            "minLength" : 1
          },
          "num_ctx" : {
            "type" : "integer",
            "format" : "int32"
          },
          "temperature" : {
            "type" : "number",
            "format" : "double"
          }
        },
        "required" : [ "messages", "model" ]
      },
      "ChatMessage" : {
        "type" : "object",
        "properties" : {
          "content" : { },
          "role" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "content", "role" ]
      },
      "ChatRequest" : {
        "type" : "object",
        "properties" : {
          "agentSlug" : {
            "type" : "string"
          },
          "message" : {
            "type" : "string",
            "minLength" : 1
          },
          "modelSlug" : {
            "type" : "string"
          },
          "reasoningBudget" : {
            "type" : "integer",
            "format" : "int32"
          },
          "temperature" : {
            "type" : "number",
            "format" : "double"
          },
          "thinking" : {
            "type" : "boolean"
          },
          "topP" : {
            "type" : "number",
            "format" : "double"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "message", "workspaceId" ]
      },
      "ConfigureRequest" : {
        "type" : "object",
        "properties" : {
          "agentSlug" : {
            "type" : "string"
          },
          "replyWithVoice" : {
            "type" : "boolean"
          },
          "status" : {
            "type" : "string"
          },
          "voiceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "ConnectRequest" : {
        "type" : "object",
        "properties" : {
          "token" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "token" ]
      },
      "CreateAgent" : {
        "type" : "object",
        "properties" : {
          "description" : {
            "type" : "string"
          },
          "knowledgeBases" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "format" : "uuid"
            }
          },
          "model" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "slug" : {
            "type" : "string",
            "minLength" : 1
          },
          "systemPrompt" : {
            "type" : "string",
            "minLength" : 1
          },
          "temperature" : {
            "type" : "number",
            "format" : "double"
          },
          "tools" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "name", "slug", "systemPrompt" ]
      },
      "CreateApiKey" : {
        "type" : "object",
        "properties" : {
          "environment" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "scopes" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "name" ]
      },
      "CreateBase" : {
        "type" : "object",
        "properties" : {
          "classification" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "retentionMonths" : {
            "type" : "integer",
            "format" : "int32"
          },
          "slug" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "name", "slug" ]
      },
      "CreateConnection" : {
        "type" : "object",
        "properties" : {
          "environment" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string"
          },
          "scopes" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "slug" : {
            "type" : "string"
          },
          "target" : {
            "type" : "string",
            "minLength" : 1
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "target" ]
      },
      "CreateEndpoint" : {
        "type" : "object",
        "properties" : {
          "bodyFormat" : {
            "type" : "string"
          },
          "bodyTemplate" : {
            "type" : "string"
          },
          "classification" : {
            "type" : "string"
          },
          "description" : {
            "type" : "string",
            "minLength" : 1
          },
          "httpMethod" : {
            "type" : "string"
          },
          "inputSchema" : {
            "type" : "object",
            "additionalProperties" : { }
          },
          "mutating" : {
            "type" : "boolean"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "outputFields" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "pathTemplate" : {
            "type" : "string"
          },
          "permission" : {
            "type" : "string"
          },
          "requiresApproval" : {
            "type" : "boolean"
          },
          "soapAction" : {
            "type" : "string"
          }
        },
        "required" : [ "description", "name" ]
      },
      "CreateFlow" : {
        "type" : "object",
        "properties" : {
          "definition" : {
            "type" : "object",
            "additionalProperties" : { }
          },
          "description" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "slug" : {
            "type" : "string",
            "minLength" : 1
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "name", "slug" ]
      },
      "CreateIntegration" : {
        "type" : "object",
        "properties" : {
          "authHeader" : {
            "type" : "string"
          },
          "authType" : {
            "type" : "string"
          },
          "baseUrl" : {
            "type" : "string",
            "minLength" : 1
          },
          "circuitCooldownMs" : {
            "type" : "integer",
            "format" : "int32"
          },
          "circuitThreshold" : {
            "type" : "integer",
            "format" : "int32"
          },
          "classification" : {
            "type" : "string"
          },
          "dailyQuota" : {
            "type" : "integer",
            "format" : "int32"
          },
          "description" : {
            "type" : "string"
          },
          "logBodies" : {
            "type" : "boolean"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "oauthAuthorizeUrl" : {
            "type" : "string"
          },
          "oauthClientId" : {
            "type" : "string"
          },
          "oauthExtraParams" : {
            "type" : "string"
          },
          "oauthFlow" : {
            "type" : "string"
          },
          "oauthScopes" : {
            "type" : "string"
          },
          "oauthTokenUrl" : {
            "type" : "string"
          },
          "probePath" : {
            "type" : "string"
          },
          "retryBackoffMs" : {
            "type" : "integer",
            "format" : "int32"
          },
          "retryMax" : {
            "type" : "integer",
            "format" : "int32"
          },
          "slug" : {
            "type" : "string",
            "minLength" : 1
          },
          "timeoutMs" : {
            "type" : "integer",
            "format" : "int32"
          },
          "transport" : {
            "type" : "string",
            "minLength" : 1
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "baseUrl", "name", "slug", "transport" ]
      },
      "CreateOrganization" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "plan" : {
            "type" : "string"
          },
          "slug" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "name", "slug" ]
      },
      "CreateOwner" : {
        "type" : "object",
        "properties" : {
          "email" : {
            "type" : "string",
            "minLength" : 1
          },
          "language" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "sendWelcomeEmail" : {
            "type" : "boolean"
          }
        },
        "required" : [ "email", "name" ]
      },
      "CreateProject" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "organizationId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "slug" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "name", "organizationId", "slug" ]
      },
      "CreateRequest" : {
        "type" : "object",
        "properties" : {
          "brief" : {
            "type" : "string"
          },
          "format" : {
            "type" : "string"
          },
          "musicAssetId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "musicVolume" : {
            "type" : "number",
            "format" : "double"
          },
          "style" : {
            "type" : "string"
          },
          "title" : {
            "type" : "string"
          },
          "voiceId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "CreateUser" : {
        "type" : "object",
        "properties" : {
          "email" : {
            "type" : "string",
            "minLength" : 1
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "password" : {
            "type" : "string",
            "minLength" : 1
          },
          "role" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "email", "name", "password", "role" ]
      },
      "CreateWorkspace" : {
        "type" : "object",
        "properties" : {
          "environment" : {
            "type" : "string",
            "minLength" : 1
          },
          "organizationId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "projectId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "residency" : {
            "type" : "string"
          }
        },
        "required" : [ "environment", "organizationId", "projectId" ]
      },
      "CredentialRequest" : {
        "type" : "object",
        "properties" : {
          "authType" : {
            "type" : "string",
            "minLength" : 1
          },
          "expiresAt" : {
            "type" : "string"
          },
          "secret" : {
            "type" : "string",
            "minLength" : 1
          },
          "username" : {
            "type" : "string"
          }
        },
        "required" : [ "authType", "secret" ]
      },
      "CreditMovement" : {
        "type" : "object",
        "properties" : {
          "credits" : {
            "type" : "integer",
            "format" : "int64"
          },
          "kind" : {
            "type" : "string"
          },
          "reason" : {
            "type" : "string"
          }
        }
      },
      "DefaultVoiceRequest" : {
        "type" : "object",
        "properties" : {
          "speed" : {
            "type" : "number",
            "format" : "double"
          },
          "voiceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "DesignRequest" : {
        "type" : "object",
        "properties" : {
          "description" : {
            "type" : "string",
            "minLength" : 1
          },
          "language" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "description", "name" ]
      },
      "DraftRequest" : {
        "type" : "object",
        "properties" : {
          "orgId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "periodEnd" : {
            "type" : "string",
            "format" : "date"
          },
          "periodStart" : {
            "type" : "string",
            "format" : "date"
          }
        },
        "required" : [ "orgId" ]
      },
      "EnabledRequest" : {
        "type" : "object",
        "properties" : {
          "enabled" : {
            "type" : "boolean"
          }
        }
      },
      "FavoriteRequest" : {
        "type" : "object",
        "properties" : {
          "favorite" : {
            "type" : "boolean"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "FiscalDetails" : {
        "type" : "object",
        "properties" : {
          "address" : {
            "type" : "string"
          },
          "email" : {
            "type" : "string"
          },
          "legalName" : {
            "type" : "string",
            "minLength" : 1
          },
          "taxId" : {
            "type" : "string"
          }
        },
        "required" : [ "legalName" ]
      },
      "ForgotRequest" : {
        "type" : "object",
        "properties" : {
          "email" : {
            "type" : "string",
            "minLength" : 1
          },
          "language" : {
            "type" : "string"
          }
        },
        "required" : [ "email" ]
      },
      "Grant" : {
        "type" : "object",
        "properties" : {
          "agents" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "constraints" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "array",
              "items" : { }
            }
          },
          "expiresAt" : {
            "type" : "string",
            "format" : "date-time"
          },
          "maxPerDay" : {
            "type" : "integer",
            "format" : "int32"
          },
          "reason" : {
            "type" : "string"
          },
          "tool" : {
            "type" : "string"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "GrantRequest" : {
        "type" : "object",
        "properties" : {
          "modelIds" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "format" : "uuid"
            }
          }
        }
      },
      "HookRequest" : {
        "type" : "object",
        "properties" : {
          "label" : {
            "type" : "string"
          },
          "phoneNumber" : {
            "type" : "string"
          },
          "provider" : {
            "type" : "string"
          }
        }
      },
      "ImportRequest" : {
        "type" : "object",
        "properties" : {
          "models" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "refs" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "runtimeRefs" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          }
        }
      },
      "ImprovePromptRequest" : {
        "type" : "object",
        "properties" : {
          "prompt" : {
            "type" : "string"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "Install" : {
        "type" : "object",
        "properties" : {
          "authType" : {
            "type" : "string"
          },
          "clientId" : {
            "type" : "string"
          },
          "clientSecret" : {
            "type" : "string"
          },
          "pathScope" : {
            "type" : "object",
            "additionalProperties" : { }
          },
          "secret" : {
            "type" : "string"
          },
          "serverUrl" : {
            "type" : "string"
          },
          "username" : {
            "type" : "string"
          }
        }
      },
      "InstallRequest" : {
        "type" : "object",
        "properties" : {
          "clientId" : {
            "type" : "string"
          },
          "serverUrl" : {
            "type" : "string"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "IntentRequest" : {
        "type" : "object",
        "properties" : {
          "prompt" : {
            "type" : "string"
          }
        }
      },
      "InviteUser" : {
        "type" : "object",
        "properties" : {
          "email" : {
            "type" : "string",
            "minLength" : 1
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "role" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "email", "name", "role" ]
      },
      "JsonNode" : {
        "type" : "object",
        "properties" : {
          "array" : {
            "type" : "boolean"
          },
          "bigDecimal" : {
            "type" : "boolean"
          },
          "bigInteger" : {
            "type" : "boolean"
          },
          "binary" : {
            "type" : "boolean"
          },
          "boolean" : {
            "type" : "boolean"
          },
          "container" : {
            "type" : "boolean"
          },
          "double" : {
            "type" : "boolean"
          },
          "embeddedValue" : {
            "type" : "boolean"
          },
          "empty" : {
            "type" : "boolean"
          },
          "float" : {
            "type" : "boolean"
          },
          "floatingPointNumber" : {
            "type" : "boolean"
          },
          "int" : {
            "type" : "boolean"
          },
          "integralNumber" : {
            "type" : "boolean"
          },
          "long" : {
            "type" : "boolean"
          },
          "missingNode" : {
            "type" : "boolean"
          },
          "nodeType" : {
            "type" : "string",
            "enum" : [ "ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING" ]
          },
          "null" : {
            "type" : "boolean"
          },
          "number" : {
            "type" : "boolean"
          },
          "object" : {
            "type" : "boolean"
          },
          "pojo" : {
            "type" : "boolean"
          },
          "short" : {
            "type" : "boolean"
          },
          "string" : {
            "type" : "boolean"
          },
          "textual" : {
            "type" : "boolean",
            "deprecated" : true
          },
          "valueNode" : {
            "type" : "boolean"
          }
        }
      },
      "LineRequest" : {
        "type" : "object",
        "properties" : {
          "description" : {
            "type" : "string"
          },
          "quantity" : {
            "type" : "number"
          },
          "unit" : {
            "type" : "string"
          },
          "unitPrice" : {
            "type" : "number"
          }
        },
        "required" : [ "description", "unitPrice" ]
      },
      "LoginRequest" : {
        "type" : "object",
        "properties" : {
          "email" : {
            "type" : "string",
            "minLength" : 1
          },
          "password" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "email", "password" ]
      },
      "ModelRequest" : {
        "type" : "object",
        "properties" : {
          "classification" : {
            "type" : "string"
          },
          "contextWindow" : {
            "type" : "integer",
            "format" : "int32"
          },
          "displayName" : {
            "type" : "string"
          },
          "embeddingDimensions" : {
            "type" : "integer",
            "format" : "int32"
          },
          "family" : {
            "type" : "string"
          },
          "maxOutputTokens" : {
            "type" : "integer",
            "format" : "int32"
          },
          "minGpuMemoryGb" : {
            "type" : "integer",
            "format" : "int32"
          },
          "profileLocked" : {
            "type" : "boolean"
          },
          "quantization" : {
            "type" : "string"
          },
          "requiredPool" : {
            "type" : "string"
          },
          "runtimeRef" : {
            "type" : "string"
          },
          "runtimeRefs" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          },
          "slug" : {
            "type" : "string",
            "minLength" : 1
          },
          "status" : {
            "type" : "string"
          },
          "supportsEmbedding" : {
            "type" : "boolean"
          },
          "supportsEmbeddings" : {
            "type" : "boolean"
          },
          "supportsThinking" : {
            "type" : "boolean"
          },
          "supportsTools" : {
            "type" : "boolean"
          },
          "supportsVision" : {
            "type" : "boolean"
          },
          "systemProfile" : {
            "type" : "string"
          },
          "version" : {
            "type" : "string"
          },
          "visibility" : {
            "type" : "string"
          }
        },
        "required" : [ "slug" ]
      },
      "NewScheduleRequest" : {
        "type" : "object",
        "properties" : {
          "agentSlug" : {
            "type" : "string",
            "minLength" : 1
          },
          "cron" : {
            "type" : "string",
            "minLength" : 1
          },
          "instructions" : {
            "type" : "string",
            "minLength" : 1
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "timezone" : {
            "type" : "string"
          }
        },
        "required" : [ "agentSlug", "cron", "instructions", "name" ]
      },
      "NewTaskRequest" : {
        "type" : "object",
        "properties" : {
          "agentSlug" : {
            "type" : "string",
            "minLength" : 1
          },
          "instructions" : {
            "type" : "string",
            "minLength" : 1
          },
          "notBefore" : {
            "type" : "string",
            "format" : "date-time"
          },
          "priority" : {
            "type" : "integer",
            "format" : "int32"
          },
          "title" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "agentSlug", "instructions", "title" ]
      },
      "NodeRequest" : {
        "type" : "object",
        "properties" : {
          "clearCredential" : {
            "type" : "boolean"
          },
          "clearOwnerOrg" : {
            "type" : "boolean"
          },
          "credentialRef" : {
            "type" : "string"
          },
          "displayName" : {
            "type" : "string"
          },
          "endpoint" : {
            "type" : "string"
          },
          "gpu" : {
            "type" : "string"
          },
          "gpuMemoryGb" : {
            "type" : "integer",
            "format" : "int32"
          },
          "hardware" : {
            "type" : "string"
          },
          "hostname" : {
            "type" : "string"
          },
          "isExternal" : {
            "type" : "boolean"
          },
          "labels" : {
            "type" : "object",
            "additionalProperties" : { }
          },
          "location" : {
            "type" : "string"
          },
          "memoryGb" : {
            "type" : "integer",
            "format" : "int32"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "notes" : {
            "type" : "string"
          },
          "ownerOrgId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "pool" : {
            "type" : "string"
          },
          "runtime" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          },
          "systemMemoryGb" : {
            "type" : "integer",
            "format" : "int32"
          }
        },
        "required" : [ "name" ]
      },
      "OauthAppRequest" : {
        "type" : "object",
        "properties" : {
          "clientSecret" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "clientSecret" ]
      },
      "OauthBeginRequest" : {
        "type" : "object",
        "properties" : {
          "redirectUri" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "redirectUri" ]
      },
      "OpenConversation" : {
        "type" : "object",
        "properties" : {
          "agentSlug" : {
            "type" : "string"
          },
          "modelSlug" : {
            "type" : "string"
          },
          "systemPrompt" : {
            "type" : "string"
          },
          "title" : {
            "type" : "string"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "PasswordRequest" : {
        "type" : "object",
        "properties" : {
          "currentPassword" : {
            "type" : "string",
            "minLength" : 1
          },
          "newPassword" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "currentPassword", "newPassword" ]
      },
      "PatchAgent" : {
        "type" : "object",
        "properties" : {
          "description" : {
            "type" : "string"
          },
          "knowledgeBases" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "format" : "uuid"
            }
          },
          "model" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          },
          "systemPrompt" : {
            "type" : "string"
          },
          "temperature" : {
            "type" : "number",
            "format" : "double"
          },
          "tools" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          }
        }
      },
      "PatchConversation" : {
        "type" : "object",
        "properties" : {
          "archived" : {
            "type" : "boolean"
          },
          "title" : {
            "type" : "string"
          }
        }
      },
      "PatchFlow" : {
        "type" : "object",
        "properties" : {
          "description" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          }
        }
      },
      "Payload" : {
        "type" : "object",
        "properties" : {
          "input" : {
            "type" : "object",
            "additionalProperties" : { }
          }
        }
      },
      "PaymentRequest" : {
        "type" : "object",
        "properties" : {
          "amount" : {
            "type" : "number"
          },
          "autoApply" : {
            "type" : "boolean"
          },
          "currency" : {
            "type" : "string"
          },
          "fxRate" : {
            "type" : "number"
          },
          "method" : {
            "type" : "string"
          },
          "notes" : {
            "type" : "string"
          },
          "orgId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "receivedAt" : {
            "type" : "string",
            "format" : "date"
          },
          "reference" : {
            "type" : "string"
          }
        },
        "required" : [ "amount", "orgId" ]
      },
      "PresetRequest" : {
        "type" : "object",
        "properties" : {
          "language" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "speaker" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "name", "speaker" ]
      },
      "PreviewRequest" : {
        "type" : "object",
        "properties" : {
          "instruct" : {
            "type" : "string"
          },
          "language" : {
            "type" : "string"
          },
          "model" : {
            "type" : "string"
          },
          "speed" : {
            "type" : "number",
            "format" : "double"
          },
          "text" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "text" ]
      },
      "PriceBookRequest" : {
        "type" : "object",
        "properties" : {
          "prices" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/PriceEntry"
            }
          }
        }
      },
      "PriceEntry" : {
        "type" : "object",
        "properties" : {
          "creditsPerUnit" : {
            "type" : "number"
          },
          "metricCode" : {
            "type" : "string"
          },
          "plan" : {
            "type" : "string"
          },
          "priceId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "validFrom" : {
            "type" : "string"
          }
        }
      },
      "ProposalEdits" : {
        "type" : "object",
        "properties" : {
          "content" : {
            "type" : "string"
          },
          "description" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string"
          }
        }
      },
      "ProposeRequest" : {
        "type" : "object",
        "properties" : {
          "assetId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "instructions" : {
            "type" : "string"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "ProviderCredentialRequest" : {
        "type" : "object",
        "properties" : {
          "authType" : {
            "type" : "string",
            "minLength" : 1
          },
          "credentialRef" : {
            "type" : "string",
            "minLength" : 1
          },
          "label" : {
            "type" : "string"
          },
          "notes" : {
            "type" : "string"
          },
          "principal" : {
            "type" : "string"
          },
          "secret" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "authType", "credentialRef", "secret" ]
      },
      "Provision" : {
        "type" : "object",
        "properties" : {
          "company" : {
            "type" : "string"
          },
          "country" : {
            "type" : "string"
          },
          "language" : {
            "type" : "string"
          },
          "model" : {
            "type" : "string"
          },
          "roles" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "template" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "template" ]
      },
      "ProvisionRequest" : {
        "type" : "object",
        "properties" : {
          "company" : {
            "type" : "string"
          },
          "country" : {
            "type" : "string"
          },
          "language" : {
            "type" : "string"
          },
          "model" : {
            "type" : "string"
          },
          "roles" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "template" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "template" ]
      },
      "PublishVersion" : {
        "type" : "object",
        "properties" : {
          "definition" : {
            "type" : "object",
            "additionalProperties" : { }
          }
        }
      },
      "QuotaRequest" : {
        "type" : "object",
        "properties" : {
          "alertThresholdPct" : {
            "type" : "integer",
            "format" : "int32"
          },
          "enforcement" : {
            "type" : "string"
          },
          "maxConcurrentRuns" : {
            "type" : "integer",
            "format" : "int64"
          },
          "maxRunsPerDay" : {
            "type" : "integer",
            "format" : "int64"
          },
          "monthlyCreditLimit" : {
            "type" : "integer",
            "format" : "int64"
          },
          "monthlyTokenLimit" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "ReasonRequest" : {
        "type" : "object",
        "properties" : {
          "reason" : {
            "type" : "string"
          }
        },
        "required" : [ "reason" ]
      },
      "RegenerateRequest" : {
        "type" : "object",
        "properties" : {
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "RejectRequest" : {
        "type" : "object",
        "properties" : {
          "note" : {
            "type" : "string"
          }
        }
      },
      "RenderRequest" : {
        "type" : "object",
        "properties" : {
          "version" : {
            "type" : "integer",
            "format" : "int32"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "ReorderRequest" : {
        "type" : "object",
        "properties" : {
          "order" : {
            "type" : "array",
            "items" : {
              "type" : "integer",
              "format" : "int32"
            }
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "ReportPayment" : {
        "type" : "object",
        "properties" : {
          "amount" : {
            "type" : "number"
          },
          "method" : {
            "type" : "string",
            "minLength" : 1
          },
          "notes" : {
            "type" : "string"
          },
          "receivedAt" : {
            "type" : "string",
            "format" : "date"
          },
          "reference" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "amount", "method", "reference" ]
      },
      "Rescue" : {
        "type" : "object",
        "properties" : {
          "reason" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "reason" ]
      },
      "ResetRequest" : {
        "type" : "object",
        "properties" : {
          "language" : {
            "type" : "string"
          },
          "newPassword" : {
            "type" : "string",
            "minLength" : 1
          },
          "token" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "newPassword", "token" ]
      },
      "ResolveApproval" : {
        "type" : "object",
        "properties" : {
          "approvalId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "approved" : {
            "type" : "boolean"
          },
          "note" : {
            "type" : "string"
          }
        },
        "required" : [ "approvalId", "approved" ]
      },
      "ReviseRequest" : {
        "type" : "object",
        "properties" : {
          "instruction" : {
            "type" : "string"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "RotateApiKey" : {
        "type" : "object",
        "properties" : {
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "RunRequest" : {
        "type" : "object",
        "properties" : {
          "input" : {
            "type" : "object",
            "additionalProperties" : { }
          }
        }
      },
      "RunResult" : {
        "type" : "object",
        "properties" : {
          "agentSlug" : {
            "type" : "string"
          },
          "agentVersion" : {
            "type" : "string"
          },
          "creditWarning" : {
            "type" : "string"
          },
          "durationMs" : {
            "type" : "integer",
            "format" : "int64"
          },
          "input" : {
            "type" : "string"
          },
          "output" : {
            "type" : "string"
          },
          "runId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "sources" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/Source"
            }
          },
          "startedAt" : {
            "type" : "string",
            "format" : "date-time"
          },
          "status" : {
            "type" : "string"
          },
          "steps" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/Step"
            }
          },
          "stopReason" : {
            "type" : "string"
          },
          "usage" : {
            "$ref" : "#/components/schemas/Usage"
          }
        }
      },
      "SandboxRequest" : {
        "type" : "object",
        "properties" : {
          "agentSlug" : {
            "type" : "string"
          },
          "message" : {
            "type" : "string",
            "minLength" : 1
          },
          "modelSlug" : {
            "type" : "string"
          },
          "temperature" : {
            "type" : "number",
            "format" : "double"
          },
          "thinking" : {
            "type" : "boolean"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "message" ]
      },
      "SaveRequest" : {
        "type" : "object",
        "properties" : {
          "description" : {
            "type" : "string"
          },
          "fallbackAgentId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "language" : {
            "type" : "string"
          },
          "maxRetries" : {
            "type" : "integer",
            "format" : "int32"
          },
          "name" : {
            "type" : "string"
          },
          "silenceSeconds" : {
            "type" : "number",
            "format" : "double"
          },
          "steps" : {
            "type" : "array",
            "items" : {
              "type" : "object",
              "additionalProperties" : { }
            }
          },
          "vocabulary" : {
            "type" : "string"
          },
          "voiceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "SceneAddRequest" : {
        "type" : "object",
        "properties" : {
          "atIndex" : {
            "type" : "integer",
            "format" : "int32"
          },
          "scene" : {
            "type" : "object",
            "additionalProperties" : { }
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "SceneEditRequest" : {
        "type" : "object",
        "properties" : {
          "patch" : {
            "type" : "object",
            "additionalProperties" : { }
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "ScriptRequest" : {
        "type" : "object",
        "properties" : {
          "note" : {
            "type" : "string"
          },
          "script" : {
            "type" : "object",
            "additionalProperties" : { }
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "SearchRequest" : {
        "type" : "object",
        "properties" : {
          "limit" : {
            "type" : "integer",
            "format" : "int32"
          },
          "query" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "query" ]
      },
      "SetVisibility" : {
        "type" : "object",
        "properties" : {
          "visibility" : {
            "type" : "string",
            "minLength" : 1
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "visibility", "workspaceId" ]
      },
      "SettingsRequest" : {
        "type" : "object",
        "properties" : {
          "captions" : {
            "type" : "string"
          },
          "logoEnabled" : {
            "type" : "boolean"
          },
          "movement" : {
            "type" : "string"
          },
          "musicAssetId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "musicVolume" : {
            "type" : "number",
            "format" : "double"
          },
          "transition" : {
            "type" : "string"
          },
          "voiceId" : {
            "type" : "string",
            "format" : "uuid"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "ShareRequest" : {
        "type" : "object",
        "properties" : {
          "minutes" : {
            "type" : "integer",
            "format" : "int32"
          },
          "workspaceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        }
      },
      "SkillRequest" : {
        "type" : "object",
        "properties" : {
          "content" : {
            "type" : "string",
            "minLength" : 1
          },
          "description" : {
            "type" : "string",
            "minLength" : 1
          },
          "name" : {
            "type" : "string",
            "minLength" : 1
          },
          "slug" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          }
        },
        "required" : [ "content", "description", "name" ]
      },
      "Source" : {
        "type" : "object",
        "properties" : {
          "citation" : {
            "type" : "string"
          },
          "documentTitle" : {
            "type" : "string"
          },
          "excerpt" : {
            "type" : "string"
          },
          "pageFrom" : {
            "type" : "integer",
            "format" : "int32"
          },
          "pageTo" : {
            "type" : "integer",
            "format" : "int32"
          },
          "section" : {
            "type" : "string"
          }
        }
      },
      "SpeechRequest" : {
        "type" : "object",
        "properties" : {
          "input" : {
            "type" : "string",
            "minLength" : 1
          },
          "instruct" : {
            "type" : "string"
          },
          "language" : {
            "type" : "string"
          },
          "model" : {
            "type" : "string"
          },
          "responseFormat" : {
            "type" : "string"
          },
          "speed" : {
            "type" : "number",
            "format" : "double"
          },
          "voice" : {
            "type" : "string"
          },
          "voiceId" : {
            "type" : "string",
            "format" : "uuid"
          }
        },
        "required" : [ "input" ]
      },
      "StartRequest" : {
        "type" : "object",
        "properties" : {
          "caller" : {
            "type" : "string"
          }
        }
      },
      "StatusRequest" : {
        "type" : "object",
        "properties" : {
          "status" : {
            "type" : "string",
            "minLength" : 1
          }
        },
        "required" : [ "status" ]
      },
      "Step" : {
        "type" : "object",
        "properties" : {
          "detail" : {
            "type" : "string"
          },
          "durationMs" : {
            "type" : "integer",
            "format" : "int64"
          },
          "inputTokens" : {
            "type" : "integer",
            "format" : "int32"
          },
          "ordinal" : {
            "type" : "integer",
            "format" : "int32"
          },
          "outputTokens" : {
            "type" : "integer",
            "format" : "int32"
          },
          "title" : {
            "type" : "string"
          },
          "type" : {
            "type" : "string"
          }
        }
      },
      "StreamingResponseBody" : { },
      "TurnRequest" : {
        "type" : "object",
        "properties" : {
          "audio" : {
            "type" : "string"
          },
          "language" : {
            "type" : "string"
          },
          "said" : {
            "type" : "string"
          },
          "vocabulary" : {
            "type" : "string"
          }
        }
      },
      "UpdateEndpoint" : {
        "type" : "object",
        "properties" : {
          "bodyTemplate" : {
            "type" : "string"
          },
          "classification" : {
            "type" : "string"
          },
          "description" : {
            "type" : "string"
          },
          "httpMethod" : {
            "type" : "string"
          },
          "inputSchema" : {
            "type" : "object",
            "additionalProperties" : { }
          },
          "outputFields" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "pathTemplate" : {
            "type" : "string"
          },
          "permission" : {
            "type" : "string"
          },
          "requiresApproval" : {
            "type" : "boolean"
          },
          "soapAction" : {
            "type" : "string"
          }
        }
      },
      "UpdateIntegration" : {
        "type" : "object",
        "properties" : {
          "authHeader" : {
            "type" : "string"
          },
          "authType" : {
            "type" : "string"
          },
          "baseUrl" : {
            "type" : "string"
          },
          "circuitCooldownMs" : {
            "type" : "integer",
            "format" : "int32"
          },
          "circuitThreshold" : {
            "type" : "integer",
            "format" : "int32"
          },
          "classification" : {
            "type" : "string"
          },
          "dailyQuota" : {
            "type" : "integer",
            "format" : "int32"
          },
          "description" : {
            "type" : "string"
          },
          "logBodies" : {
            "type" : "boolean"
          },
          "name" : {
            "type" : "string"
          },
          "oauthAuthorizeUrl" : {
            "type" : "string"
          },
          "oauthClientId" : {
            "type" : "string"
          },
          "oauthExtraParams" : {
            "type" : "string"
          },
          "oauthFlow" : {
            "type" : "string"
          },
          "oauthScopes" : {
            "type" : "string"
          },
          "oauthTokenUrl" : {
            "type" : "string"
          },
          "probePath" : {
            "type" : "string"
          },
          "retryBackoffMs" : {
            "type" : "integer",
            "format" : "int32"
          },
          "retryMax" : {
            "type" : "integer",
            "format" : "int32"
          },
          "timeoutMs" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "UpdateOrganization" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "plan" : {
            "type" : "string"
          },
          "reason" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          }
        }
      },
      "UpdateProject" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          }
        }
      },
      "UpdateUser" : {
        "type" : "object",
        "properties" : {
          "role" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          }
        }
      },
      "UpdateWorkspace" : {
        "type" : "object",
        "properties" : {
          "isolation" : {
            "type" : "string"
          },
          "residency" : {
            "type" : "string"
          },
          "status" : {
            "type" : "string"
          }
        }
      },
      "Usage" : {
        "type" : "object",
        "properties" : {
          "inputTokens" : {
            "type" : "integer",
            "format" : "int32"
          },
          "iterations" : {
            "type" : "integer",
            "format" : "int32"
          },
          "outputTokens" : {
            "type" : "integer",
            "format" : "int32"
          },
          "toolCalls" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "VisibilityRequest" : {
        "type" : "object",
        "properties" : {
          "shared" : {
            "type" : "boolean"
          }
        }
      }
    },
    "securitySchemes" : {
      "claveDeApi" : {
        "description" : "`Authorization: Bearer aic_live_…` — plano de datos.\n\nLa clave pertenece a un único workspace y de ella se resuelve el tenant. Sus alcances limitan qué puede hacer; el secreto completo se muestra una sola vez, al emitirla.",
        "scheme" : "bearer",
        "type" : "http"
      },
      "sesionDeAdministracion" : {
        "description" : "Sesión de un usuario del plano de control, con TTL de 8 horas.\n\nSe obtiene en `POST /v1/admin/session`. Cada endpoint exige un permiso concreto; un `tenant_admin` solo alcanza las organizaciones de las que es miembro.",
        "in" : "header",
        "name" : "X-Admin-Session",
        "type" : "apiKey"
      },
      "sesionDeConsola" : {
        "description" : "Sesión de un usuario **del banco** en su propia consola.\n\nSe obtiene en `POST /v1/console/session` y lleva roles de organización —`owner`, `admin`, `developer`, `approver`, `viewer`—, no roles de plataforma.\n\nLa organización se deduce de la sesión y **nunca viaja como parámetro**: ningún endpoint de `/v1/console` acepta un identificador de organización, porque aceptarlo sería confiar en que nadie lo cambie a mano. El `workspaceId` sí se admite, y se comprueba contra los workspaces que esa sesión alcanza.",
        "in" : "header",
        "name" : "X-Console-Session",
        "type" : "apiKey"
      },
      "testigoDeArranque" : {
        "description" : "Solo para el arranque en frío: crear al primer `platform_owner` cuando todavía no hay ninguno.\n\nEn cuanto existe un propietario activo, este testigo deja de aceptarse y el endpoint devuelve 404 — no 401, para no confirmar siquiera que existió.",
        "in" : "header",
        "name" : "X-Admin-Token",
        "type" : "apiKey"
      }
    }
  }
}