Skip to content

Create snapshot

POST
/v0/namespaces/{namespace_id}/snapshots

Creates a snapshot of the current namespace state. The server first folds any WAL tail after the current manifest. Every accepted call creates a new snapshot with a new ID, and the name is a label, not a key. A snapshot with ttl_ms expires that many milliseconds from the server’s current time, and a snapshot without it doesn’t expire. The snapshot keeps its manifest until garbage collection deletes it, after it expires or is deleted and its grace window passes.

namespace_id
required

The durable ID of one namespace. Each namespace ID refers to one namespace lifetime, and it isn’t a display name. Its serialized form is 1 to 128 lowercase ASCII letters, digits, dots, underscores, or hyphens, and it starts with a letter or digit. The loonfs- prefix is reserved for system use.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo

The namespace ID.

Loonfs-Context
string
Allowed values: service

Send service for a trusted application request using the deployment token’s full authority, or send Loonfs-Principals for a user request. Exactly one is required; never send both. Service context bypasses per-user permission checks.

Example
service
Loonfs-Principals
string

Comma-separated opaque principal IDs, without spaces, whose combined grants authorize this request. Send this header or Loonfs-Context: service; exactly one is required. The application authenticates users and supplies their principals.

Example
user_123,team_design

A request to create a snapshot.

object
name

The snapshot’s label, which doesn’t need to be unique. Omit the field for a snapshot with no label.

string
ttl_ms

The snapshot’s lifetime in milliseconds, counted from the server’s current time. Omit it to keep the snapshot until it’s deleted.

integer format: int64
>= 1

Snapshot created

A snapshot, which keeps one version of a namespace readable until it’s deleted or expires.

object
captured_seq
required

The namespace sequence that the snapshot captured.

integer format: int64
<= 9007199254740991
created_at_ms
required

The time the snapshot record was created, in Unix milliseconds.

integer format: int64
expires_at_ms

The time the snapshot expires, in Unix milliseconds. A snapshot without it doesn’t expire. An expired snapshot can’t be read or retrieved, and the snapshot listing leaves it out.

integer format: int64
name

The snapshot’s label. The field is left out for a snapshot created without a label.

string
namespace_id
required

The namespace whose state the snapshot captured.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
snapshot_id
required

The snapshot ID.

string
/^snp_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
snp_0000000000000tfy68ekkbj6bx
x-request-id
string

Unique request identifier echoed in error envelopes and server logs

Invalid namespace ID, name, or ttl

The JSON body that LoonFS APIs return with an HTTP error status.

object
code
required

The stable, machine-readable error code.

string
details

Optional machine-readable context for the error code.

object
active_acquired_at_ms

The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.

integer format: int64
active_writer_epoch

The namespace’s current writer epoch.

integer format: int64
<= 9007199254740991
active_writer_id

The writer of the current epoch. It’s present in every writer_fenced error.

string
actual_access_revision_no

The access revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_after_seq

The fork sequence that the merge started after.

integer format: int64
<= 9007199254740991
actual_attributes_revision_no

The attribute revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_binding_version

The current binding token.

string
/^[A-Za-z0-9_-]+$/
actual_deletion_seq

The deletion sequence that is actually active for the inode.

integer format: int64
<= 9007199254740991
actual_head_seq

The namespace’s actual head sequence.

integer format: int64
<= 9007199254740991
actual_inode_id

The inode that the path actually contained.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
actual_revision_no

The revision that is actually current. It’s absent when the inode has no current revision.

integer format: int64
<= 9007199254740991
after_seq

The after_seq value from the change feed request.

integer format: int64
<= 9007199254740991
cause

Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.

string
Allowed values: manifest_missing publication_budget lost_race deadline unconfirmed
commit_id

The idempotency key of the commit that the error is about.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
cmt_7kn71d9dq885x91hejz3gvf9p0
committed_fingerprint

The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.

string
committed_seq

The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.

integer format: int64
<= 9007199254740991
conflict

The first inode whose change a refused merge can’t apply.

object
base

The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
inode_id
required

The inode. It has the same ID in the fork and in the namespace being merged into.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
kind
required

Which check failed.

string
Allowed values: content binding attributes access visibility name subtree dependency
ours

The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
theirs

The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
conflict_count

The number of inodes whose change a refused merge can’t apply.

integer format: int64
expected_access_revision_no

The access revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_after_seq

The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.

integer format: int64
<= 9007199254740991
expected_attributes_revision_no

The attribute revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_binding_version

The opaque binding token that the request supplied.

string
/^[A-Za-z0-9_-]+$/
expected_deletion_seq

The deletion sequence that the restore expected to be active.

integer format: int64
<= 9007199254740991
expected_head_seq

The head sequence that the request required.

integer format: int64
<= 9007199254740991
expected_inode_id

The inode that the request expected the path to contain.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
expected_revision_no

The revision that the request expected to be current.

integer format: int64
<= 9007199254740991
fenced_writer_epoch

The epoch of the failed writer session at the time another writer displaced it.

integer format: int64
<= 9007199254740991
fork_point_seq

The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.

integer format: int64
<= 9007199254740991
from_seq

The from_seq value from the diff request.

integer format: int64
<= 9007199254740991
inode_id

The inode that the failed precondition or operation targeted.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
merge_bound

The bound that a merge’s size exceeded.

string
Allowed values: wal_object merge_allowance touched_inodes
namespace_id

The deleted namespace that caused the operation to fail.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
operation_index

The index of the failed operation in the request.

integer format: int32
precondition_index

The zero-based position of the failed request precondition.

integer format: int32
retention_floor_seq

The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.

integer format: int64
<= 9007199254740991
size_bytes

For range_not_satisfiable, the size in bytes of the file that the range was requested from.

integer format: int64
source_after_seq

The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.

integer format: int64
<= 9007199254740991
source_namespace_id

The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
split_at_seq

The split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.

integer format: int64
<= 9007199254740991
feature

The capability feature that isn’t supported, when the code is not_supported.

string
message
required

A human-readable description of the error.

string
param

The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.

string
request_id

The request ID. The server also sends this ID in the x-request-id response header.

string
x-request-id
string

Unique request identifier echoed in error envelopes and server logs

Unauthorized

The JSON body that LoonFS APIs return with an HTTP error status.

object
code
required

The stable, machine-readable error code.

string
details

Optional machine-readable context for the error code.

object
active_acquired_at_ms

The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.

integer format: int64
active_writer_epoch

The namespace’s current writer epoch.

integer format: int64
<= 9007199254740991
active_writer_id

The writer of the current epoch. It’s present in every writer_fenced error.

string
actual_access_revision_no

The access revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_after_seq

The fork sequence that the merge started after.

integer format: int64
<= 9007199254740991
actual_attributes_revision_no

The attribute revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_binding_version

The current binding token.

string
/^[A-Za-z0-9_-]+$/
actual_deletion_seq

The deletion sequence that is actually active for the inode.

integer format: int64
<= 9007199254740991
actual_head_seq

The namespace’s actual head sequence.

integer format: int64
<= 9007199254740991
actual_inode_id

The inode that the path actually contained.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
actual_revision_no

The revision that is actually current. It’s absent when the inode has no current revision.

integer format: int64
<= 9007199254740991
after_seq

The after_seq value from the change feed request.

integer format: int64
<= 9007199254740991
cause

Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.

string
Allowed values: manifest_missing publication_budget lost_race deadline unconfirmed
commit_id

The idempotency key of the commit that the error is about.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
cmt_7kn71d9dq885x91hejz3gvf9p0
committed_fingerprint

The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.

string
committed_seq

The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.

integer format: int64
<= 9007199254740991
conflict

The first inode whose change a refused merge can’t apply.

object
base

The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
inode_id
required

The inode. It has the same ID in the fork and in the namespace being merged into.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
kind
required

Which check failed.

string
Allowed values: content binding attributes access visibility name subtree dependency
ours

The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
theirs

The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
conflict_count

The number of inodes whose change a refused merge can’t apply.

integer format: int64
expected_access_revision_no

The access revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_after_seq

The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.

integer format: int64
<= 9007199254740991
expected_attributes_revision_no

The attribute revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_binding_version

The opaque binding token that the request supplied.

string
/^[A-Za-z0-9_-]+$/
expected_deletion_seq

The deletion sequence that the restore expected to be active.

integer format: int64
<= 9007199254740991
expected_head_seq

The head sequence that the request required.

integer format: int64
<= 9007199254740991
expected_inode_id

The inode that the request expected the path to contain.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
expected_revision_no

The revision that the request expected to be current.

integer format: int64
<= 9007199254740991
fenced_writer_epoch

The epoch of the failed writer session at the time another writer displaced it.

integer format: int64
<= 9007199254740991
fork_point_seq

The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.

integer format: int64
<= 9007199254740991
from_seq

The from_seq value from the diff request.

integer format: int64
<= 9007199254740991
inode_id

The inode that the failed precondition or operation targeted.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
merge_bound

The bound that a merge’s size exceeded.

string
Allowed values: wal_object merge_allowance touched_inodes
namespace_id

The deleted namespace that caused the operation to fail.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
operation_index

The index of the failed operation in the request.

integer format: int32
precondition_index

The zero-based position of the failed request precondition.

integer format: int32
retention_floor_seq

The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.

integer format: int64
<= 9007199254740991
size_bytes

For range_not_satisfiable, the size in bytes of the file that the range was requested from.

integer format: int64
source_after_seq

The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.

integer format: int64
<= 9007199254740991
source_namespace_id

The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
split_at_seq

The split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.

integer format: int64
<= 9007199254740991
feature

The capability feature that isn’t supported, when the code is not_supported.

string
message
required

A human-readable description of the error.

string
param

The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.

string
request_id

The request ID. The server also sends this ID in the x-request-id response header.

string
x-request-id
string

Unique request identifier echoed in error envelopes and server logs

Forbidden

The JSON body that LoonFS APIs return with an HTTP error status.

object
code
required

The stable, machine-readable error code.

string
details

Optional machine-readable context for the error code.

object
active_acquired_at_ms

The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.

integer format: int64
active_writer_epoch

The namespace’s current writer epoch.

integer format: int64
<= 9007199254740991
active_writer_id

The writer of the current epoch. It’s present in every writer_fenced error.

string
actual_access_revision_no

The access revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_after_seq

The fork sequence that the merge started after.

integer format: int64
<= 9007199254740991
actual_attributes_revision_no

The attribute revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_binding_version

The current binding token.

string
/^[A-Za-z0-9_-]+$/
actual_deletion_seq

The deletion sequence that is actually active for the inode.

integer format: int64
<= 9007199254740991
actual_head_seq

The namespace’s actual head sequence.

integer format: int64
<= 9007199254740991
actual_inode_id

The inode that the path actually contained.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
actual_revision_no

The revision that is actually current. It’s absent when the inode has no current revision.

integer format: int64
<= 9007199254740991
after_seq

The after_seq value from the change feed request.

integer format: int64
<= 9007199254740991
cause

Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.

string
Allowed values: manifest_missing publication_budget lost_race deadline unconfirmed
commit_id

The idempotency key of the commit that the error is about.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
cmt_7kn71d9dq885x91hejz3gvf9p0
committed_fingerprint

The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.

string
committed_seq

The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.

integer format: int64
<= 9007199254740991
conflict

The first inode whose change a refused merge can’t apply.

object
base

The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
inode_id
required

The inode. It has the same ID in the fork and in the namespace being merged into.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
kind
required

Which check failed.

string
Allowed values: content binding attributes access visibility name subtree dependency
ours

The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
theirs

The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
conflict_count

The number of inodes whose change a refused merge can’t apply.

integer format: int64
expected_access_revision_no

The access revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_after_seq

The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.

integer format: int64
<= 9007199254740991
expected_attributes_revision_no

The attribute revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_binding_version

The opaque binding token that the request supplied.

string
/^[A-Za-z0-9_-]+$/
expected_deletion_seq

The deletion sequence that the restore expected to be active.

integer format: int64
<= 9007199254740991
expected_head_seq

The head sequence that the request required.

integer format: int64
<= 9007199254740991
expected_inode_id

The inode that the request expected the path to contain.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
expected_revision_no

The revision that the request expected to be current.

integer format: int64
<= 9007199254740991
fenced_writer_epoch

The epoch of the failed writer session at the time another writer displaced it.

integer format: int64
<= 9007199254740991
fork_point_seq

The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.

integer format: int64
<= 9007199254740991
from_seq

The from_seq value from the diff request.

integer format: int64
<= 9007199254740991
inode_id

The inode that the failed precondition or operation targeted.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
merge_bound

The bound that a merge’s size exceeded.

string
Allowed values: wal_object merge_allowance touched_inodes
namespace_id

The deleted namespace that caused the operation to fail.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
operation_index

The index of the failed operation in the request.

integer format: int32
precondition_index

The zero-based position of the failed request precondition.

integer format: int32
retention_floor_seq

The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.

integer format: int64
<= 9007199254740991
size_bytes

For range_not_satisfiable, the size in bytes of the file that the range was requested from.

integer format: int64
source_after_seq

The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.

integer format: int64
<= 9007199254740991
source_namespace_id

The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
split_at_seq

The split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.

integer format: int64
<= 9007199254740991
feature

The capability feature that isn’t supported, when the code is not_supported.

string
message
required

A human-readable description of the error.

string
param

The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.

string
request_id

The request ID. The server also sends this ID in the x-request-id response header.

string
x-request-id
string

Unique request identifier echoed in error envelopes and server logs

Namespace not found

The JSON body that LoonFS APIs return with an HTTP error status.

object
code
required

The stable, machine-readable error code.

string
details

Optional machine-readable context for the error code.

object
active_acquired_at_ms

The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.

integer format: int64
active_writer_epoch

The namespace’s current writer epoch.

integer format: int64
<= 9007199254740991
active_writer_id

The writer of the current epoch. It’s present in every writer_fenced error.

string
actual_access_revision_no

The access revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_after_seq

The fork sequence that the merge started after.

integer format: int64
<= 9007199254740991
actual_attributes_revision_no

The attribute revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_binding_version

The current binding token.

string
/^[A-Za-z0-9_-]+$/
actual_deletion_seq

The deletion sequence that is actually active for the inode.

integer format: int64
<= 9007199254740991
actual_head_seq

The namespace’s actual head sequence.

integer format: int64
<= 9007199254740991
actual_inode_id

The inode that the path actually contained.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
actual_revision_no

The revision that is actually current. It’s absent when the inode has no current revision.

integer format: int64
<= 9007199254740991
after_seq

The after_seq value from the change feed request.

integer format: int64
<= 9007199254740991
cause

Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.

string
Allowed values: manifest_missing publication_budget lost_race deadline unconfirmed
commit_id

The idempotency key of the commit that the error is about.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
cmt_7kn71d9dq885x91hejz3gvf9p0
committed_fingerprint

The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.

string
committed_seq

The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.

integer format: int64
<= 9007199254740991
conflict

The first inode whose change a refused merge can’t apply.

object
base

The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
inode_id
required

The inode. It has the same ID in the fork and in the namespace being merged into.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
kind
required

Which check failed.

string
Allowed values: content binding attributes access visibility name subtree dependency
ours

The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
theirs

The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
conflict_count

The number of inodes whose change a refused merge can’t apply.

integer format: int64
expected_access_revision_no

The access revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_after_seq

The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.

integer format: int64
<= 9007199254740991
expected_attributes_revision_no

The attribute revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_binding_version

The opaque binding token that the request supplied.

string
/^[A-Za-z0-9_-]+$/
expected_deletion_seq

The deletion sequence that the restore expected to be active.

integer format: int64
<= 9007199254740991
expected_head_seq

The head sequence that the request required.

integer format: int64
<= 9007199254740991
expected_inode_id

The inode that the request expected the path to contain.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
expected_revision_no

The revision that the request expected to be current.

integer format: int64
<= 9007199254740991
fenced_writer_epoch

The epoch of the failed writer session at the time another writer displaced it.

integer format: int64
<= 9007199254740991
fork_point_seq

The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.

integer format: int64
<= 9007199254740991
from_seq

The from_seq value from the diff request.

integer format: int64
<= 9007199254740991
inode_id

The inode that the failed precondition or operation targeted.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
merge_bound

The bound that a merge’s size exceeded.

string
Allowed values: wal_object merge_allowance touched_inodes
namespace_id

The deleted namespace that caused the operation to fail.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
operation_index

The index of the failed operation in the request.

integer format: int32
precondition_index

The zero-based position of the failed request precondition.

integer format: int32
retention_floor_seq

The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.

integer format: int64
<= 9007199254740991
size_bytes

For range_not_satisfiable, the size in bytes of the file that the range was requested from.

integer format: int64
source_after_seq

The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.

integer format: int64
<= 9007199254740991
source_namespace_id

The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
split_at_seq

The split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.

integer format: int64
<= 9007199254740991
feature

The capability feature that isn’t supported, when the code is not_supported.

string
message
required

A human-readable description of the error.

string
param

The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.

string
request_id

The request ID. The server also sends this ID in the x-request-id response header.

string
x-request-id
string

Unique request identifier echoed in error envelopes and server logs

Namespace deleted

The JSON body that LoonFS APIs return with an HTTP error status.

object
code
required

The stable, machine-readable error code.

string
details

Optional machine-readable context for the error code.

object
active_acquired_at_ms

The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.

integer format: int64
active_writer_epoch

The namespace’s current writer epoch.

integer format: int64
<= 9007199254740991
active_writer_id

The writer of the current epoch. It’s present in every writer_fenced error.

string
actual_access_revision_no

The access revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_after_seq

The fork sequence that the merge started after.

integer format: int64
<= 9007199254740991
actual_attributes_revision_no

The attribute revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_binding_version

The current binding token.

string
/^[A-Za-z0-9_-]+$/
actual_deletion_seq

The deletion sequence that is actually active for the inode.

integer format: int64
<= 9007199254740991
actual_head_seq

The namespace’s actual head sequence.

integer format: int64
<= 9007199254740991
actual_inode_id

The inode that the path actually contained.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
actual_revision_no

The revision that is actually current. It’s absent when the inode has no current revision.

integer format: int64
<= 9007199254740991
after_seq

The after_seq value from the change feed request.

integer format: int64
<= 9007199254740991
cause

Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.

string
Allowed values: manifest_missing publication_budget lost_race deadline unconfirmed
commit_id

The idempotency key of the commit that the error is about.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
cmt_7kn71d9dq885x91hejz3gvf9p0
committed_fingerprint

The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.

string
committed_seq

The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.

integer format: int64
<= 9007199254740991
conflict

The first inode whose change a refused merge can’t apply.

object
base

The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
inode_id
required

The inode. It has the same ID in the fork and in the namespace being merged into.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
kind
required

Which check failed.

string
Allowed values: content binding attributes access visibility name subtree dependency
ours

The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
theirs

The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
conflict_count

The number of inodes whose change a refused merge can’t apply.

integer format: int64
expected_access_revision_no

The access revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_after_seq

The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.

integer format: int64
<= 9007199254740991
expected_attributes_revision_no

The attribute revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_binding_version

The opaque binding token that the request supplied.

string
/^[A-Za-z0-9_-]+$/
expected_deletion_seq

The deletion sequence that the restore expected to be active.

integer format: int64
<= 9007199254740991
expected_head_seq

The head sequence that the request required.

integer format: int64
<= 9007199254740991
expected_inode_id

The inode that the request expected the path to contain.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
expected_revision_no

The revision that the request expected to be current.

integer format: int64
<= 9007199254740991
fenced_writer_epoch

The epoch of the failed writer session at the time another writer displaced it.

integer format: int64
<= 9007199254740991
fork_point_seq

The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.

integer format: int64
<= 9007199254740991
from_seq

The from_seq value from the diff request.

integer format: int64
<= 9007199254740991
inode_id

The inode that the failed precondition or operation targeted.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
merge_bound

The bound that a merge’s size exceeded.

string
Allowed values: wal_object merge_allowance touched_inodes
namespace_id

The deleted namespace that caused the operation to fail.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
operation_index

The index of the failed operation in the request.

integer format: int32
precondition_index

The zero-based position of the failed request precondition.

integer format: int32
retention_floor_seq

The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.

integer format: int64
<= 9007199254740991
size_bytes

For range_not_satisfiable, the size in bytes of the file that the range was requested from.

integer format: int64
source_after_seq

The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.

integer format: int64
<= 9007199254740991
source_namespace_id

The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
split_at_seq

The split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.

integer format: int64
<= 9007199254740991
feature

The capability feature that isn’t supported, when the code is not_supported.

string
message
required

A human-readable description of the error.

string
param

The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.

string
request_id

The request ID. The server also sends this ID in the x-request-id response header.

string
x-request-id
string

Unique request identifier echoed in error envelopes and server logs

JSON body exceeds the 2 MiB limit

The JSON body that LoonFS APIs return with an HTTP error status.

object
code
required

The stable, machine-readable error code.

string
details

Optional machine-readable context for the error code.

object
active_acquired_at_ms

The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.

integer format: int64
active_writer_epoch

The namespace’s current writer epoch.

integer format: int64
<= 9007199254740991
active_writer_id

The writer of the current epoch. It’s present in every writer_fenced error.

string
actual_access_revision_no

The access revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_after_seq

The fork sequence that the merge started after.

integer format: int64
<= 9007199254740991
actual_attributes_revision_no

The attribute revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_binding_version

The current binding token.

string
/^[A-Za-z0-9_-]+$/
actual_deletion_seq

The deletion sequence that is actually active for the inode.

integer format: int64
<= 9007199254740991
actual_head_seq

The namespace’s actual head sequence.

integer format: int64
<= 9007199254740991
actual_inode_id

The inode that the path actually contained.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
actual_revision_no

The revision that is actually current. It’s absent when the inode has no current revision.

integer format: int64
<= 9007199254740991
after_seq

The after_seq value from the change feed request.

integer format: int64
<= 9007199254740991
cause

Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.

string
Allowed values: manifest_missing publication_budget lost_race deadline unconfirmed
commit_id

The idempotency key of the commit that the error is about.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
cmt_7kn71d9dq885x91hejz3gvf9p0
committed_fingerprint

The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.

string
committed_seq

The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.

integer format: int64
<= 9007199254740991
conflict

The first inode whose change a refused merge can’t apply.

object
base

The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
inode_id
required

The inode. It has the same ID in the fork and in the namespace being merged into.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
kind
required

Which check failed.

string
Allowed values: content binding attributes access visibility name subtree dependency
ours

The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
theirs

The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
conflict_count

The number of inodes whose change a refused merge can’t apply.

integer format: int64
expected_access_revision_no

The access revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_after_seq

The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.

integer format: int64
<= 9007199254740991
expected_attributes_revision_no

The attribute revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_binding_version

The opaque binding token that the request supplied.

string
/^[A-Za-z0-9_-]+$/
expected_deletion_seq

The deletion sequence that the restore expected to be active.

integer format: int64
<= 9007199254740991
expected_head_seq

The head sequence that the request required.

integer format: int64
<= 9007199254740991
expected_inode_id

The inode that the request expected the path to contain.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
expected_revision_no

The revision that the request expected to be current.

integer format: int64
<= 9007199254740991
fenced_writer_epoch

The epoch of the failed writer session at the time another writer displaced it.

integer format: int64
<= 9007199254740991
fork_point_seq

The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.

integer format: int64
<= 9007199254740991
from_seq

The from_seq value from the diff request.

integer format: int64
<= 9007199254740991
inode_id

The inode that the failed precondition or operation targeted.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
merge_bound

The bound that a merge’s size exceeded.

string
Allowed values: wal_object merge_allowance touched_inodes
namespace_id

The deleted namespace that caused the operation to fail.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
operation_index

The index of the failed operation in the request.

integer format: int32
precondition_index

The zero-based position of the failed request precondition.

integer format: int32
retention_floor_seq

The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.

integer format: int64
<= 9007199254740991
size_bytes

For range_not_satisfiable, the size in bytes of the file that the range was requested from.

integer format: int64
source_after_seq

The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.

integer format: int64
<= 9007199254740991
source_namespace_id

The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
split_at_seq

The split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.

integer format: int64
<= 9007199254740991
feature

The capability feature that isn’t supported, when the code is not_supported.

string
message
required

A human-readable description of the error.

string
param

The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.

string
request_id

The request ID. The server also sends this ID in the x-request-id response header.

string
x-request-id
string

Unique request identifier echoed in error envelopes and server logs

The server can’t complete the request now. Check code to find whether the outcome is unknown (after a deadline or a lost acknowledgment), or the cause is shutdown, load, writer session admission, store contention, required maintenance, or invalid storage credentials. When its request cap is full, the reference server returns server_busy with Retry-After: 1 before it reads the body. Health and readiness probes are exempt from the cap. A mutation might still complete after a deadline or a lost acknowledgment, so check its outcome before retrying.

The JSON body that LoonFS APIs return with an HTTP error status.

object
code
required

The stable, machine-readable error code.

string
details

Optional machine-readable context for the error code.

object
active_acquired_at_ms

The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.

integer format: int64
active_writer_epoch

The namespace’s current writer epoch.

integer format: int64
<= 9007199254740991
active_writer_id

The writer of the current epoch. It’s present in every writer_fenced error.

string
actual_access_revision_no

The access revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_after_seq

The fork sequence that the merge started after.

integer format: int64
<= 9007199254740991
actual_attributes_revision_no

The attribute revision that is actually current for the inode.

integer format: int64
<= 9007199254740991
actual_binding_version

The current binding token.

string
/^[A-Za-z0-9_-]+$/
actual_deletion_seq

The deletion sequence that is actually active for the inode.

integer format: int64
<= 9007199254740991
actual_head_seq

The namespace’s actual head sequence.

integer format: int64
<= 9007199254740991
actual_inode_id

The inode that the path actually contained.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
actual_revision_no

The revision that is actually current. It’s absent when the inode has no current revision.

integer format: int64
<= 9007199254740991
after_seq

The after_seq value from the change feed request.

integer format: int64
<= 9007199254740991
cause

Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.

string
Allowed values: manifest_missing publication_budget lost_race deadline unconfirmed
commit_id

The idempotency key of the commit that the error is about.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
cmt_7kn71d9dq885x91hejz3gvf9p0
committed_fingerprint

The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.

string
committed_seq

The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.

integer format: int64
<= 9007199254740991
conflict

The first inode whose change a refused merge can’t apply.

object
base

The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
inode_id
required

The inode. It has the same ID in the fork and in the namespace being merged into.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
kind
required

Which check failed.

string
Allowed values: content binding attributes access visibility name subtree dependency
ours

The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
theirs

The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.

object
content_ref

The file’s content in that version. This field is present exactly when revision_no is present.

object
checksum
required

The required checksum of the referenced bytes.

object
algorithm
required

The algorithm that produced value.

string
Allowed values: crc64nvme crc32c
value
required

The checksum in canonical lowercase hexadecimal, without a prefix.

string
content_id
required

The ID of the content chain in the reading namespace’s pool.

string
/^con_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
con_4z59p0wjvx9a8b2frdhhf6mat1
kind
required

The kind of content reference. The format defines one kind, blob_v1.

string
Allowed values: blob_v1
size_bytes
required

The length of the referenced prefix of the chain, in bytes.

integer format: int64
path
required

The inode’s path in that version, built from the stored display names.

string
Example
/docs/report.txt
revision_no

The file’s revision number in that version. A directory has none.

integer format: int64
<= 9007199254740991
conflict_count

The number of inodes whose change a refused merge can’t apply.

integer format: int64
expected_access_revision_no

The access revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_after_seq

The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.

integer format: int64
<= 9007199254740991
expected_attributes_revision_no

The attribute revision that the request expected to be current.

integer format: int64
<= 9007199254740991
expected_binding_version

The opaque binding token that the request supplied.

string
/^[A-Za-z0-9_-]+$/
expected_deletion_seq

The deletion sequence that the restore expected to be active.

integer format: int64
<= 9007199254740991
expected_head_seq

The head sequence that the request required.

integer format: int64
<= 9007199254740991
expected_inode_id

The inode that the request expected the path to contain.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
expected_revision_no

The revision that the request expected to be current.

integer format: int64
<= 9007199254740991
fenced_writer_epoch

The epoch of the failed writer session at the time another writer displaced it.

integer format: int64
<= 9007199254740991
fork_point_seq

The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.

integer format: int64
<= 9007199254740991
from_seq

The from_seq value from the diff request.

integer format: int64
<= 9007199254740991
inode_id

The inode that the failed precondition or operation targeted.

string
/^ino_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
ino_000000r0000013kje0d47gc8kw
merge_bound

The bound that a merge’s size exceeded.

string
Allowed values: wal_object merge_allowance touched_inodes
namespace_id

The deleted namespace that caused the operation to fail.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
operation_index

The index of the failed operation in the request.

integer format: int32
precondition_index

The zero-based position of the failed request precondition.

integer format: int32
retention_floor_seq

The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.

integer format: int64
<= 9007199254740991
size_bytes

For range_not_satisfiable, the size in bytes of the file that the range was requested from.

integer format: int64
source_after_seq

The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.

integer format: int64
<= 9007199254740991
source_namespace_id

The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.

string
/^[a-z0-9][a-z0-9._-]{0,127}$/
Example
demo
split_at_seq

The split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.

integer format: int64
<= 9007199254740991
feature

The capability feature that isn’t supported, when the code is not_supported.

string
message
required

A human-readable description of the error.

string
param

The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.

string
request_id

The request ID. The server also sends this ID in the x-request-id response header.

string
Retry-After
string

Seconds to wait before retrying when code is commit_queue_full, server_busy, or shutting_down.

x-request-id
string

Unique request identifier echoed in error envelopes and server logs