Overview
Base URL:https://edge.useshipd.com (local: http://localhost:8787). Authenticate with Authorization: Bearer shipd_sdk_….
WebSocket gateway: https://ws.useshipd.com (path /sdk/v1/stream).
GET /sdk/v1/snapshot
Current environment snapshot.
See Snapshots for the JSON envelope.
POST /sdk/v1/events
Batched diagnostics. 202 Accepted.identify enqueues to Postgres. Production evaluation events go to Tinybird when configured (never staging).
events: false.
GET /sdk/v1/identity
KV trait overlay for the identified user. The SDK merges this under session traits afteridentify() unless remoteTraits: false.
WS /sdk/v1/stream
- Authenticate (SDK key)
- Server →
connected - Client →
subscribewithenvironmentId+lastKnownVersion - Server →
snapshot.updated/snapshot.resyncwhen KVcurrentadvances
Compatibility
SDK supports snapshot schema1 and stream protocol 1. Newer schemas are rejected; last good snapshot is kept.
Guides: Evaluate flags · SDK reference.