Skip to content

Package

Fields

  • idinteger
  • namestring

    Empty for an unnamed shipment of several parcels: the client words it ("Shipment of 3 parcels")

  • dirstring
  • priorityPriority

    Allowed values: "express", "standard", "night"

  • positioninteger
  • heldboolean

    Collected, awaiting confirmation

  • sourcestring
  • createdAtstring (date-time)
  • storedAtstring (date-time) | null

    Stored in the warehouse; null while on the dock

  • filesFile[]
    Fields · 19
    • idinteger
    • numberstring
    • packageIdinteger
    • urlstring
    • namestring
    • subdirstring

      Place in a consignment's folder tree, inside the shipment's warehouse folder; empty at its root

    • sizeinteger

      -1 when unknown

    • receivedinteger
    • speedinteger

      bytes/s

    • hosterstring
    • debridstring
    • statusStatus

      Parcel status, see Statuses

      Allowed values: "queued", "resolving", "waiting", "downloading", "retrying", "paused", "verifying", "extracting", "finished", "offline", "corrupted", "duplicate"

    • errorstring
    • attemptsinteger
    • waitUntilstring (date-time) | null
    • unpackedboolean
    • unpackErrorstring
    • createdAtstring (date-time)
    • updatedAtstring (date-time)

Example

{
"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"
}
]
}

Used by

Built with Kiln