host.state.set
Write one key in this tenant's key-value state namespace; value may be any JSON value. Overrun of the plan's state_bytes_max quota fails with state_quota_exceeded and writes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key to write in this tenant's key-value state namespace. | |
| value | Yes | Any JSON value to store under key. | |
| end_user | No | "self" for the caller's own verified end-user identity, an explicit subject (only when this call carries no end-user identity of its own), or omit/null for the tenant-wide value. | |
| tenant_key | No | The key `signup` returned. Required only when this connection carries no Authorization: Bearer header -- when both are present, the header wins. |