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

Begin a transfer

Stages a uniquely identified source epoch on an empty idle Session.

Stages a uniquely identified source epoch on an empty idle Session. The source adapter must already hold its durable one-writer fence.

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

#Request

FieldTypeWhat it is
parentstringEmpty idle destination Session, already created through the ordinary API. Required.
operation_idstringPermanent caller identity; exact retries return the original transfer. Required.
manifeststructsylphx.agents.session-continuity.v1 manifest. At most 256 parts of 256 KiB, and 64 MiB overall. Source epoch must be a positive signed int64. Required.
source_fence_sha256stringSHA-256 attestation of the original storage's durable writer marker. 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:begin" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"manifest":{},"operation_id":"…","source_fence_sha256":"…"}'