cayu.snapshots.AgentSnapshotResultBinding
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import AgentSnapshotResultBindingBases: _SnapshotModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
record_type |
Literal['cayu.agent-snapshot-result'] |
'cayu.agent-snapshot-result' |
schema_version |
Literal[2] |
2 |
fingerprint |
StrictStr |
required |
trial_fingerprint |
StrictStr |
required |
session_id |
StrictStr |
Field(max_length=512) |
terminal_disposition |
AgentSnapshotTerminalDisposition |
required |
runtime_evidence_fingerprint |
StrictStr |
required |
eval_result_revision |
StrictStr |
required |
memory_evidence_fingerprint |
StrictStr | None |
None |
usage_fingerprint |
StrictStr | None |
None |
cost_fingerprint |
StrictStr | None |
None |
safe_frontier_fingerprint |
StrictStr | None |
None |
open_operation_ids |
tuple[StrictStr, ...] |
() |
pending_approval_ids |
tuple[StrictStr, ...] |
() |
provider_continuation_ids |
tuple[StrictStr, ...] |
() |
recorded_at |
datetime |
required |
validate_fingerprints (method)
Section titled “validate_fingerprints (method)”AgentSnapshotResultBinding.validate_fingerprints(value: str | None, info) -> str | Nonevalidate_terminal_frontier (method)
Section titled “validate_terminal_frontier (method)”AgentSnapshotResultBinding.validate_terminal_frontier(value: object, info) -> tuple[str, ...]validate_session_id (method)
Section titled “validate_session_id (method)”AgentSnapshotResultBinding.validate_session_id(value: str, info) -> strvalidate_recorded_at (method)
Section titled “validate_recorded_at (method)”AgentSnapshotResultBinding.validate_recorded_at(value: datetime) -> datetimevalidate_fingerprint_matches (method)
Section titled “validate_fingerprint_matches (method)”AgentSnapshotResultBinding.validate_fingerprint_matches() -> AgentSnapshotResultBindingidentity_material (method)
Section titled “identity_material (method)”AgentSnapshotResultBinding.identity_material() -> dict[str, object]create (method)
Section titled “create (method)”AgentSnapshotResultBinding.create(*, trial: AgentSnapshotTrialBinding, session_id: str, terminal_disposition: AgentSnapshotTerminalDisposition, runtime_evidence_fingerprint: str, eval_result_revision: str, recorded_at: datetime, memory_evidence_fingerprint: str | None=None, usage_fingerprint: str | None=None, cost_fingerprint: str | None=None, safe_frontier_fingerprint: str | None=None, open_operation_ids: Iterable[str]=(), pending_approval_ids: Iterable[str]=(), provider_continuation_ids: Iterable[str]=()) -> AgentSnapshotResultBinding