Skip to main content

synth_ai.data.artifacts

Artifact data model for rollout outputs. Artifacts are the concrete outputs of AI workflows (code, JSON, text, files). They are stored separately from traces and linked via trace_correlation_id.

Classes

Artifact

Artifact produced by a rollout. Artifacts are the concrete outputs of AI workflows (code, JSON, text, files). They are stored separately from traces and linked via trace_correlation_id. Methods:

validate_size

validate_size(self, max_size_bytes: int = 10 * 1024 * 1024) -> None
Validate artifact size (client-side constraint). Args:
  • max_size_bytes: Maximum allowed size for inline artifact content.