Skip to content
Console
Menu

Alerts and status pages

App store purchases

Credits

Knowledge

KV

Notifications

Organizations

Storage

Workflows

API reference

Getting Started

Authentication

KV Store

Finalize a transfer

Re-reads ordered parts, checks the whole snapshot and validates the portable state.

Re-reads ordered parts, checks the whole snapshot and validates the portable state. An unknown effect stays held; this call never executes.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agent_sessions/agent-session/transfers/transfer:finalize
  • Scope agents:sessions
  • Effect write — a successful call changes state.
  • Collection transfers

#Request

FieldTypeWhat it is
namestringExact transfer name. The immutable snapshot makes repetition idempotent. Required.

#Response

FieldTypeWhat it is
namestringDestination Session and immutable transfer identity.
uidstringImmutable Resource UID. Output only.
metaResourceMetaStandard metadata. Output only.
statestringstaging, verified, adopted or aborted. Verified does not admit execution. Output only.
manifeststructVersioned source identity, transfer epoch and ordered byte/part digests. Output only.
manifest_sha256stringDigest of the checked manifest, including original Session and epoch. Output only.
source_fence_sha256stringCaller attestation bound to its original durable writer fence. A digest does not prove that an external writer has stopped. Output only.
received_partsSessionTransferPart[]Exact stored-part metadata. Private payload bytes are never returned. Output only.
receiptstructOriginal identities, destination mappings and unresolved effect holds. Output only.
receipt_sha256stringDigest the source adapter reads back before acknowledging its handoff. Output only.
create_timetimestampCreation time. Output only.
update_timetimestampLast lifecycle change time. Output only.

#ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

#SessionTransferPart

FieldTypeWhat it is
indexint64Zero-based index in the immutable manifest.
bytesint64Exact stored byte count.
sha256stringSHA-256 of the exact binary body.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agent_sessions/agent-session/transfers/transfer:finalize" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'