API reference
Base host: https://config.wye.dev. Requests are unauthenticated
and scoped by deployment ID.
GET /v1/config/{deployment_id}
Returns deployment-scoped configuration. The path segment identifies the
deployment. The response body shape is stable; cache using
ETag and Cache-Control.
{
"config_version": "2026-09-23.1",
"kill_switch": false,
"features": {
"edge_cache": true,
"progressive_delivery": false
}
}
POST /v1/features
Submit lightweight runtime context after feature configuration is evaluated.
Content type may be text/plain with a JSON body. The response is
an empty 204 with no body.
| Field | Required | Description |
|---|---|---|
deployment_id |
yes | Opaque deployment selector (dep_…). |
sdk_version |
yes | Client library or fixture version string. |
event_id |
yes | Unique event identifier (UUID recommended). |
host |
yes | Client-reported page host. |
origin |
yes | Client-reported page origin. |
path |
no | Client-reported path. |
referrer |
no | Client-reported referrer. |
{
"deployment_id": "dep_a1b2c3d4e5f67890aabbccddeeff0011",
"sdk_version": "0.1.0",
"event_id": "11111111-1111-1111-1111-111111111111",
"host": "example.com",
"origin": "https://example.com",
"path": "/",
"referrer": ""
}
Host, origin, path, and referrer are client-reported context. Do not send credentials, form bodies, or page content.