# Get Website Split Test

Reads a website split test (page variants, not a newsletter or automation split test): settings in the keys update-website-split-test changes, plus embed snippets, conversion tracking pixels, whether visitors arrived, termination and winner. Without an ID it returns the creation defaults.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "null",
        "integer"
      ],
      "description": "ID of the split test, from search-website-split-tests; omit for the creation defaults",
      "default": null,
      "minimum": 1
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "type",
    "id",
    "settings",
    "ui"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "settings": {
      "type": "object"
    },
    "ui": {
      "type": "object"
    }
  },
  "additionalProperties": false
}
```

