list_depot_references

List an org's depot links

read collection tenant-private since 2026-10-01

Lists the org's own links to depots it uses (reference_depot): its name and code for each yard, the yard's BIC Facility Code (BFC) and its name in the registry, and who made the link and when. Ordered by the org's name for the depot, a page at a time. The query matches a substring of the name or the code, or the start of a BFC; bfc limits the list to those BFCs, such as a page of list_depot_registry. Only the org's members see its links.

Contract

shape
collection
authority
read
evidence
none
subscription
false
permission
any one of: org.member (carried by the caller's role template in the org `org_id`); a deactivated caller is refused first
idempotency
safe
emits
none
MCP tool
list_depot_references
REST
POST https://api.containertradehq.com/v1/cap/list_depot_references

Idempotency: a read: calling again changes nothing

Inputs

nametyperequiredvalidation
org_idorg_idrequiredtradehq-org-id; 1 to 20 characters
The org whose links to list.
querytextoptional1 to 100 characters
A case-insensitive substring of the org's name or code for the depot, or the start of a BFC.
bfcbfcsoptional0 to 200 items; unique
Only the links to these BFCs: a page of list_depot_registry, to join to it. A set: in any order, each code once (a repeat is refused). An empty list matches none.
limitintegeroptional1 to 200; default 50
The page size.
afteruuidoptionalUUID
The previous page's next_after. An id that is not one of this org's links ends the listing: an empty page.

Paginated: next next_after · page_max 200 · walk_max 10000 · ceiling declared

Response

  • items · object[]
  • next_after · stringnull · Pass as `after` for the next page; null on the last one.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "depot_reference_id": {
            "type": "string",
            "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
            "format": "uuid",
            "description": "The link's id: what remove_depot_reference names.",
            "x-data-class": "operational"
          },
          "bfc": {
            "type": "string",
            "pattern": "^[A-Z]{2}[A-Z2-9]{3}[A-Z0-9]{4}$",
            "format": "bic-facility-code",
            "description": "The depot's BIC Facility Code.",
            "x-data-class": "operational"
          },
          "depot_name": {
            "type": "string",
            "description": "The depot's name in the registry.",
            "x-data-class": "operational"
          },
          "alias": {
            "type": "string",
            "description": "The org's name for the depot.",
            "x-data-class": "operational"
          },
          "private_code": {
            "type": "string",
            "description": "The org's code for the depot; its name when it gave none.",
            "x-data-class": "operational"
          },
          "created_by": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "pattern": "^[A-Za-z0-9_-]{1,20}$",
            "format": "tradehq-user-id",
            "description": "The member who made the link.",
            "x-data-class": "operational"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the link was made.",
            "x-data-class": "operational"
          }
        },
        "required": [
          "depot_reference_id",
          "bfc",
          "depot_name",
          "alias",
          "private_code",
          "created_by",
          "created_at"
        ],
        "additionalProperties": false
      },
      "maxItems": 200
    },
    "next_after": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as `after` for the next page; null on the last one."
    }
  },
  "required": [
    "items",
    "next_after"
  ],
  "additionalProperties": false
}

Refusals

The platform refusals apply to every call: version, authentication, authority, validation and rate limits, each in the same envelope.

Surfaces

DesktopF
MobileF
APIF
MCPF
VoiceD4
PushN
OneBoxN
OutboundN
  • Voice: degraded: visualization
  • Push: emits nothing
  • OneBox: no document originates a depot link
  • Outbound: crosses to no counterparty

Events

None emitted.

Related

claim_depot, list_depot_registry, reference_depot