Documentation Index
Fetch the complete documentation index at: https://docs.vane.build/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/ws
WebSocket endpoint for real-time attestation events. Every call to POST /v1/attest broadcasts a message to all connected clients immediately after the record is written and verified.
The connection is unauthenticated at the transport level — all clients receive all attestation events for all companies. Only connect from trusted, internal infrastructure. In production, place the WebSocket endpoint behind a firewall or VPN.
Connection
Message format
| Field | Type | Description |
|---|---|---|
type | "record" | Always "record" for attestation events. |
record | AttestationRecord | The newly appended record. |
valid | boolean | Whether the full chain passed verification after this record was added. |
merkleRoot | string | Present when valid is true. The new Merkle root. |
failedAtIndex | number | Present when valid is false. The first record that failed verification. |