Accepts an ordered bounded chunk of safe logical-file metadata.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/file-protection/agent/v1/observations/chunks"), Headers = { { "X-Moltaro-File-Protection-Agent", "<X-Moltaro-File-Protection-Agent>" }, }, Content = new StringContent("{ \"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\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/file-protection/agent/v1/observations/chunks';const options = { method: 'POST', headers: { 'X-Moltaro-File-Protection-Agent': '<X-Moltaro-File-Protection-Agent>', 'Content-Type': 'application/json' }, body: '{"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"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Ordered bounded scan chunk. Unseen files are marked missing only after a complete successful scan.
object
Only logical paths are transmitted; physical paths remain on the Agent.
object
Metadata-only observation; no state implies certification of backup contents.
Metadata-only observation; no state implies certification of backup contents.
Ordered bounded scan chunk. Unseen files are marked missing only after a complete successful scan.
object
Only logical paths are transmitted; physical paths remain on the Agent.
object
Metadata-only observation; no state implies certification of backup contents.
Metadata-only observation; no state implies certification of backup contents.
Ordered bounded scan chunk. Unseen files are marked missing only after a complete successful scan.
object
Only logical paths are transmitted; physical paths remain on the Agent.
object
Metadata-only observation; no state implies certification of backup contents.
Metadata-only observation; no state implies certification of backup contents.
Responses
Section titled “Responses”OK
object
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}