v1.6.0


Call Evaluations (/api/v1/evaluations/calls)

  • Add direction to response — call direction as reported by the telephony provider: inbound or outbound; null when the provider did not report it
  • Add from_number to response — the caller's phone number in E.164, as reported by the telephony provider; null when not reported
  • Add to_number to response — the dialed phone number in E.164, as reported by the telephony provider; null when not reported. call_number (the customer's phone from the customer record) is unchanged

Conversation Evaluations (/api/v1/evaluations/conversations) — new endpoint

  • Exports finalized evaluation results for conversation-scoped rules, oldest first for reliable incremental sync; a conversation can have one result per rule per conversation-day

  • Same contract as /evaluations/calls: created_since/created_until and updated_since/updated_until filters, channel_type filter, cursor pagination via cursor and limit, and the human review fields

  • Fix: agent attribution lookup is bounded to the conversation's organization

  • Add tags to conversation evaluation responses — an array of stored provider tag objects, preserving all fields in each object.

  • Missing, null, or non-array tags return []; non-object array entries are omitted so malformed stored metadata cannot fail an entire response page.

  • Tags reflect current conversation metadata, not an evaluation-time snapshot. Tag-only changes do not advance the evaluation's updated_at, so an updated_since-only sync does not discover those changes.

  • Docs: the tags response example now shows an array of representative id/name objects instead of a generic additionalProp placeholder. Example values are illustrative; API serialization and additional provider fields are unchanged.