Skip to content
POST
/v0/namespaces/{namespace_id}/uploads/{upload_id}/complete

Completes an upload. The request mode must match the mode that started the session. A direct upload includes a content claim, and a multipart upload also includes the completed parts.

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.

upload_id
required

The durable ID of one upload session.

string
/^upl_[0-7][0-9a-hjkmnp-tv-z]{25}$/
Example
upl_2dhwp939xk9r7srv8t5cz5yw4c

The upload session ID.

Loonfs-Actor
required

A stable, opaque actor ID of 1 to 256 visible ASCII characters.

string
/^[\x21-\x7E]{1,256}$/
Example
usr_8f3c

Stable opaque actor ID supplied by the application. Keep this value unchanged when retrying a commit; it is attribution, not authentication.

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

The request mode must match the upload session.

One of: discriminator: mode
service_proxied

The completion of a service-proxied upload.

object
mode
required
string
Allowed values: service_proxied

Upload completed

One of: discriminator: status
open

A session that accepts content until its lease ends.

object
checksum_algorithm
required

The checksum algorithm that the store uses for content.

string
Allowed values: crc64nvme crc32c
content_ref

The staged content. It’s present after content is staged in a service_proxied session.

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
expires_at_ms
required

The time after which cleanup can abort the session, in Unix milliseconds.

integer format: int64
mode
required

The transport that was selected when the session began.

string
Allowed values: service_proxied direct_put direct_multipart
namespace_id
required

The namespace that the session belongs to.

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

The size of every part except the last, in bytes. It’s present for direct_multipart sessions.

integer format: int64
status
required

Whether the upload session is open, completed, or aborted.

string
Allowed values: open
transfer
One of: discriminator: kind
presigned_url

A short-lived URL, with the headers that one object store read or write requires.

object
expires_at_ms
required

The time the URL expires, in Unix milliseconds.

integer format: int64
headers
required

The headers that the signature covers, which the client must send.

object
key
additional properties
string
kind
required
string
Allowed values: presigned_url
method
required

The HTTP method that the client must use.

string
url
required

The full presigned URL.

string
upload_id
required

The upload session ID.

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

Unique request identifier echoed in error envelopes and server logs

Invalid completion request

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

Namespace or upload 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

Upload completion conflict

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

Completion body exceeds the advertised upload.complete.max_request_body_bytes 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