Skip to content

Accepts an ordered bounded chunk of safe logical-file metadata.

POST
/api/workspace/file-protection/agent/v1/observations/chunks
curl --request POST \
--url https://example.com/api/workspace/file-protection/agent/v1/observations/chunks \
--header 'Content-Type: application/json' \
--header 'X-Moltaro-File-Protection-Agent: <X-Moltaro-File-Protection-Agent>' \
--data '{ "SourceId": "example", "AssignmentRevision": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Generation": 1, "ScanId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "ChunkIndex": 1, "Files": [ { "LogicalPath": "example", "State": 0, "SizeBytes": 1, "LastWriteAtUtc": "2026-04-15T12:00:00Z" } ], "IsFinal": true, "ScanFailure": 0, "ProtocolVersion": "example" }'

Requires TLS at the API connection. A workspace bearer token does not authenticate an Agent.

Send the enrolled device credential in the X-Moltaro-File-Protection-Agent header. Revoked or invalid credentials are rejected.

Ordered bounded scan chunk. Unseen files are marked missing only after a complete successful scan.

object
SourceId
string
nullable
AssignmentRevision
string format: uuid
Generation
integer format: int64
ScanId
string format: uuid
ChunkIndex
integer format: int32
Files
Array<object>
nullable

Only logical paths are transmitted; physical paths remain on the Agent.

object
LogicalPath
string
nullable
State

Metadata-only observation; no state implies certification of backup contents.

integer format: int32
Allowed values: 0 1 2 3 4 5
SizeBytes
integer format: int64
nullable
LastWriteAtUtc
string format: date-time
nullable
IsFinal
boolean
ScanFailure

Metadata-only observation; no state implies certification of backup contents.

integer format: int32
Allowed values: 0 1 2 3 4 5
ProtocolVersion
string
nullable

OK

Media typeapplication/json
object
Data
object
Generation
integer format: int64
NextChunkIndex
integer format: int32
Completed
boolean
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}