# Langfuse

Attify reads Langfuse through its API, read-only, with a read-only API key, for customer support, sales meetings, and bookings. When the buyer's own account is connected the data is connected; when a vendor connects its own account it is witnessed, and counts toward a verification only after the customer consents and reconciles it each month.

## As a observability tool, for customer support, sales meetings, and bookings

| Attify event          | Langfuse                                                              |
|-----------------------|-----------------------------------------------------------------------|
| interaction           | `sessionId`, else `traceId` (one conversation)                        |
| interaction.started   | the earliest `startTime`; `userId` as the end user (a keyed digest);  |
|                       | metadata `proven.external_ref`                                        |
| message (customer)    | each root observation's `input`: the last user message in it          |
| message (agent)       | each root observation's `output`: the last assistant message in it    |
| action                | each `TOOL` observation: its `name`; `level` ERROR is failed, an      |
|                       | output succeeded; metadata `proven.external_ref`                      |
| handoff               | metadata `proven.handoff` (human, agent or external) on any row       |
| outcome.claimed       | metadata `proven.outcome` (the job's words: resolved, not_resolved),  |
|                       | the latest row that has one, as for OpenTelemetry                     |
