pub struct Evidence {Show 17 fields
pub id: EvidenceId,
pub tenant_id: TenantId,
pub project_id: ProjectId,
pub source_uri: String,
pub source_type: String,
pub source_id: String,
pub content: String,
pub char_start: Option<u32>,
pub char_end: Option<u32>,
pub byte_start: Option<u64>,
pub byte_end: Option<u64>,
pub observed_at: Option<DateTime<Utc>>,
pub extracted_at: Option<DateTime<Utc>>,
pub extractor_version: Option<String>,
pub confidence: Option<f32>,
pub metadata: Value,
pub author: Option<AuthorStamp>,
}Expand description
A source-bound piece of supporting material: where it came from,
the literal content, and optional span offsets into the source.
The payload of an evidence record.
Fields§
§id: EvidenceIdEvidence id, unique within the scope.
tenant_id: TenantIdOwning tenant.
project_id: ProjectIdOwning project.
source_uri: StringURI/path of the source artifact (e.g. “s3://antares/calls/2026-04-29.vtt” or “antares://transcripts/meeting_001”). Required.
source_type: StringWhat kind of source: “transcript” | “email_event” | “crm_field” | …
source_id: StringIdentifier of the source event/artifact (e.g. “meeting_001”, “email_001”). Required.
content: StringThe literal text/data the evidence points at. Required.
char_start: Option<u32>Character offset of the span start in the source, inclusive.
char_end: Option<u32>Character offset of the span end in the source, exclusive.
byte_start: Option<u64>Byte offset of the span start in the source, inclusive.
byte_end: Option<u64>Byte offset of the span end in the source, exclusive.
observed_at: Option<DateTime<Utc>>Wall-clock time the source event happened or was seen.
extracted_at: Option<DateTime<Utc>>Wall-clock time the extractor produced this record.
extractor_version: Option<String>Version tag of the producing extractor, verbatim.
confidence: Option<f32>Confidence in [0,1]. None = treated as 1.0.
metadata: ValueFree-form metadata. Use sparingly — first-class fields above are preferred.
Which user persisted this evidence. None for older
records and for anonymous calls.