cayu.snapshots.AgentSnapshotCaptureRequest
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import AgentSnapshotCaptureRequestBases: _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 |
|---|---|---|
capture_request_id |
StrictStr |
Field(max_length=256) |
subject |
AgentSnapshotSubject |
required |
authority_scope_fingerprint |
StrictStr |
required |
components |
tuple[AgentSnapshotComponentSelector, ...] |
required |
required_consistency |
AgentSnapshotConsistency |
AgentSnapshotConsistency.FRONTIER_CONSISTENT |
session_id |
StrictStr | None |
Field(default=None, max_length=512) |
environment_name |
StrictStr | None |
Field(default=None, max_length=256) |
evaluator |
AgentSnapshotAuthorityRef | None |
None |
promotion_authority |
AgentSnapshotAuthorityRef | None |
None |
parent_snapshot_fingerprint |
StrictStr | None |
None |
lineage |
tuple[StrictStr, ...] |
() |
validate_text (method)
Section titled “validate_text (method)”AgentSnapshotCaptureRequest.validate_text(value: str | None, info) -> str | Nonevalidate_digest (method)
Section titled “validate_digest (method)”AgentSnapshotCaptureRequest.validate_digest(value: str | None, info) -> str | Nonevalidate_component_input (method)
Section titled “validate_component_input (method)”AgentSnapshotCaptureRequest.validate_component_input(value: object) -> objectvalidate_request (method)
Section titled “validate_request (method)”AgentSnapshotCaptureRequest.validate_request() -> AgentSnapshotCaptureRequest