{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comp-ai/json-schema/comp-ai-save-variables-dto-schema.json",
  "title": "SaveVariablesDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comp-ai-integrations-api-openapi.yml#/components/schemas/SaveVariablesDto",
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "description": "Auto-resolved from your API key / session. You can omit this; it is ignored by the server."
    },
    "variables": {
      "type": "object",
      "description": "Map of variable id → value to persist for this connection. Values can be string, number, boolean, or string[] (the shape is provider-defined — call get-connection-variables to see what each connection accepts). Pass only the variables you want to set; existing ones not included are left untouched.",
      "additionalProperties": true
    }
  },
  "required": [
    "variables"
  ]
}