container_event_history

Pack: apm-terminals · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/container_event_history for the schema, then POST the same URL with its arguments for the data.

Full lifecycle event history for one or more containers at a named APM Terminals facility — creation, booking/EDO reservation, vessel discharge, yard moves, operator changes, storage updates — each event timestamped, sourced directly from the terminal operating system. Look up by container number(s) at one terminal. Requires an API key (OAuth2 client credentials) — see _apiKey.

Parameters

NameTypeRequiredDescription
asset_idstringyesOne or more container numbers, comma-separated, e.g. “TCLU1619533,MRSU3638119”.
facility_codestringyes

Example call

Arguments

{
  "asset_id": "TCLU1619533,MRSU3638119",
  "facility_code": "USLAX"
}

curl

curl -X POST https://gateway.pipeworx.io/apm-terminals/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"container_event_history","arguments":{"asset_id":"TCLU1619533,MRSU3638119","facility_code":"USLAX"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('container_event_history', {
  "asset_id": "TCLU1619533,MRSU3638119",
  "facility_code": "USLAX"
});

Response shape

FieldTypeDescription
facility_codestringAPM Terminals facility code the lookup ran against.
container_countintegerNumber of containers with event history returned.
containersarrayContainers with event history as returned by APM Terminals, normalized.
sourcestringPublisher and dataset.
Full JSON Schema
{
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "facility_code": {
      "type": "string",
      "description": "APM Terminals facility code the lookup ran against."
    },
    "container_count": {
      "type": "integer",
      "description": "Number of containers with event history returned."
    },
    "containers": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      },
      "description": "Containers with event history as returned by APM Terminals, normalized."
    },
    "source": {
      "type": "string",
      "description": "Publisher and dataset."
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the apm-terminals pack
{
  "mcpServers": {
    "apm-terminals": {
      "url": "https://gateway.pipeworx.io/apm-terminals/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 6, 2026