Skip to main content

Quickstart

Go from an empty project to a served, auditable prediction — in eight steps, entirely through the public API. You will upload a CSV of e-commerce events, approve what the model may see, define a churn-adjacent label, train a behavioral model on those events, and read back a per-user embedding and score.

Every code block in this quickstart is a real file, executed against a seeded test project in CI on every change — the samples cannot drift from the platform. Each step shows the curl form to run and a form for the planned Python SDK.

What you need​

  • A Tessera account, project, and a tsk_test_… API key — create them first.
  • The sample dataset: tessera-sample-v1.zip — three event domains (e-commerce orders, media streaming, logistics) plus a label file, deterministically generated; its manifest.json carries per-file checksums and the dataset fingerprint.
  • curl and python3.

The samples read four environment variables — set them once:

TESSERA_API_BASE # https://api.staging.tessera.zone/v1 (or your stack)
TESSERA_INGEST_BASE # https://ingest.staging.tessera.zone/v1
TESSERA_API_KEY # tsk_test_…
TESSERA_PROJECT_ID # proj_…

The eight steps​

StepWhat happensConcept it teaches
0. Create a projectorg → project → API keytenancy
1. Send your first eventstwo events through the ingestion endpointentities & events
2. Upload historical datathe e-commerce CSV → canonical eventscolumn mapping
3. Approve the contractreview what the model may seeschema contracts
4. Define a labelrepeat_purchase_30d from the sample label filelabels & masking
5. Build the datasetleakage-gated, point-in-time training dataleakage gates
6. Traina real training run + the six promotion gatespromotion policy
7. Activate & batch scorebundle → slot → refreshfingerprints
8. Read the stateembedding + score + freshness per userserving

Prefer to see where you're headed first? Jump to step 8's output — one JSON object with an embedding, a score keyed by your label, and the fingerprint trail that proves where both came from.