# Siliq CKKS Encrypted Statistics

> Siliq CKKS Encrypted Statistics is a paid API for AI agents from compute.siliq.io, paid per call via x402, $0.1/call, status down (last checked 2026-09-15).

Computes mean, variance, or inner product on a CKKS homomorphically-encrypted float array without the server ever seeing plaintext data.

## Facts

- Endpoint: POST https://compute.siliq.io/ckks/stats
- Price: $0.1/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/compute-siliq-io-25d67696
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_27RqmN1PZD6l1Hz3hdfFl

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability compute-siliq-io-25d67696 -d '<json body>'
```

Example prompt: Compute the variance of my CKKS-encrypted salary dataset — here's the ciphertext payload — without the server ever seeing the plaintext values.

## When to prefer this

Use this endpoint when you need to compute basic descriptive statistics or dot products on sensitive float data and cannot expose plaintext to a third-party server. Ideal for regulated industries (healthcare, finance) where data must remain encrypted end-to-end. Prefer over standard stats APIs when privacy guarantees are a hard requirement and the client already has CKKS encryption infrastructure.

## Known failure modes

- Invalid or malformed CKKS ciphertext returns 400 Bad Request
- Unsupported operation type returns 422 Unprocessable Entity
- Ciphertext parameter mismatch causes decryption failure client-side
- Payment not included or invalid returns 402 Payment Required
- Ciphertext too large exceeds server processing limits

## Output

Returns the encrypted result of the requested statistical operation (mean, variance, or inner product) computed directly on the CKKS ciphertext. The server never decrypts the data; the client decrypts the result locally to obtain the plaintext statistical value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/compute-siliq-io-25d67696/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from compute.siliq.io](https://www.zero.xyz/host/compute.siliq.io/llms.txt)
