---
title: "host.site-config-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/host.site-config-result"
updated: null
---

# host.site-config-result@1 · OpenVibe.Services

HTML: [host.site-config-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/host.site-config-result)

# HostSiteConfigResult `host.site-config-result@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: host
- Visibility: first-party
- Status: retired
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/host/site-config-result.v1.json`](/docs/contracts/host.site-config-result.json)

Deprecated since 0.150.0; use space.site-config-result@1. Removed after 1.0.0. the static hosting engine moved from OpenVibe.Host to OpenVibe.Space (2026-10-12, plan T20)

host.site-config-result@1: every answer of host.site.config on OpenVibe.Host. GET, PUT and DELETE /api/v1/sites/:id/config → { config } (after a PUT, the configuration as stored; after a DELETE, the defaults).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `config` | [host.site-config](/docs/contracts/host.site-config) | yes |  |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: stored

~~~~
{
  "config": {
    "headers": {
      "X-Frame-Options": "DENY"
    },
    "redirects": [],
    "spa": false
  }
}
~~~~

Rejected: missing-spa

~~~~
{
  "config": {
    "headers": {},
    "redirects": []
  }
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('host.site-config-result@1', value);   // { valid, errors: [{ path, message }] }
~~~~
