Register of the stored shipments, most recent first
GET
/warehouseRequires: Cookie fret_session / Bearer
Query parameters
qstringSearched in shipment names, parcel names and links; a parcel number (FR-0042) also matches
carrierstringCarrier name (plugin), e.g. mega
periodstringStored within; all by default
offsetintegerlimitinteger
Responses
200OKobject
totalintegerMatching shipments, all pages
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)
400Errorobject
errorobjectFields · 2
codestringmessagestring
Request
curl "http://localhost:8080/api/v1/warehouse" \ -H "Authorization: Bearer $TOKEN"const response = await fetch('http://localhost:8080/api/v1/warehouse', { headers: { Authorization: 'Bearer <TOKEN>', },});const data = await response.json();import requests
response = requests.get( "http://localhost:8080/api/v1/warehouse", headers={ "Authorization": "Bearer <TOKEN>", },)response.raise_for_status()print(response.json())Response
{ "total": 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" } ] } ]}{ "error": { "code": "not_found", "message": "string" }}