Full state of the dock
GET
/queueRequires: Cookie fret_session / Bearer
Responses
200OKobject
stateQueueStateFields · 4
settingsQueueSettingsFields · 6
openbooleanslotsintegerspeedLimitintegerbytes/s, 0 = unlimited
segmentsintegerscheduleScheduleWindow[]Fields · 5
daysinteger[]ISO weekdays: 1 = Monday … 7 = Sunday
startstringendstringactionstringspeedLimitintegerbytes/s (limit action)
storeAfterintegerHours before a delivered shipment is stored in the warehouse; 0 = never (24 by default)
effectiveobjectSettings in force, dock hours included
Fields · 4
openbooleanspeedLimitintegernightbooleanscheduledboolean
activeintegerBusy doors
speedintegerTotal speed, bytes/s
packagesPackage[]Fields · 10
idintegernamestringEmpty for an unnamed shipment of several parcels: the client words it ("Shipment of 3 parcels")
dirstringpriorityPrioritypositionintegerheldbooleanCollected, awaiting confirmation
sourcestringcreatedAtstring (date-time)storedAtstring (date-time) | nullStored in the warehouse; null while on the dock
filesFile[]Fields · 19
idintegernumberstringpackageIdintegerurlstringnamestringsubdirstringPlace in a consignment's folder tree, inside the shipment's warehouse folder; empty at its root
sizeinteger-1 when unknown
receivedintegerspeedintegerbytes/s
hosterstringdebridstringstatusStatusParcel status, see Statuses
errorstringattemptsintegerwaitUntilstring (date-time) | nullunpackedbooleanunpackErrorstringcreatedAtstring (date-time)updatedAtstring (date-time)
Request
curl "http://localhost:8080/api/v1/queue" \ -H "Authorization: Bearer $TOKEN"const response = await fetch('http://localhost:8080/api/v1/queue', { headers: { Authorization: 'Bearer <TOKEN>', },});const data = await response.json();import requests
response = requests.get( "http://localhost:8080/api/v1/queue", headers={ "Authorization": "Bearer <TOKEN>", },)response.raise_for_status()print(response.json())Response
200
{ "state": { "settings": { "open": true, "slots": 1, "speedLimit": 0, "segments": 1, "schedule": [ { "days": [], "start": "01:00", "end": "07:00", "action": "close", "speedLimit": 0 } ], "storeAfter": 0 }, "effective": { "open": true, "speedLimit": 0, "night": true, "scheduled": true }, "active": 0, "speed": 0 }, "packages": [ { "id": 0, "name": "string", "dir": "string", "priority": "express", "position": 0, "held": true, "source": "", "createdAt": "2026-01-01T12:00:00Z", "storedAt": "2026-01-01T12:00:00Z", "files": [ { "id": 0, "number": "FR-0042", "packageId": 0, "url": "string", "name": "string", "subdir": "string", "size": 0, "received": 0, "speed": 0, "hoster": "string", "debrid": "string", "status": "queued", "error": "string", "attempts": 0, "waitUntil": "2026-01-01T12:00:00Z", "unpacked": true, "unpackError": "string", "createdAt": "2026-01-01T12:00:00Z", "updatedAt": "2026-01-01T12:00:00Z" } ] } ]}